61 FXIMPLEMENT(
GUIGLObjectPopupMenu, FXMenuPane, GUIGLObjectPopupMenuMap, ARRAYNUMBER(GUIGLObjectPopupMenuMap))
73 myNetworkPosition(parent.getPositionInformation()) {
98 myMenuPanes.push_back(child);
Show object parameter - popup entry.
static void copyToClipboard(const FXApp &app, const std::string &text)
Copies the given text to clipboard.
Copy edge name (for lanes only)
void select(GUIGlID id, bool update=true)
Adds the object with the given id.
double y() const
Returns the y-position.
double x() const
Returns the x-position.
Center view to object - popup entry.
Remove from selected items - Menu Etry.
void cartesian2geo(Position &cartesian) const
Converts the given cartesian (shifted) position to its geo (lat/long) representation.
GUIGlObjectType getType() const
Returns the type of the object as coded in GUIGlObjectType.
std::string toString(const T &t, std::streamsize accuracy=gPrecision)
virtual GUIParameterTableWindow * getTypeParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)
Returns an own type parameter window (optional)
A point in 2D or 3D with translation and scaling methods.
virtual void centerTo(GUIGlID id, bool applyZoom, double zoomDist=20)
centers to the chosen artifact
virtual GUIParameterTableWindow * getParameterWindow(GUIMainWindow &app, GUISUMOAbstractView &parent)=0
Returns an own parameter window.
Copy object name - popup entry.
virtual const std::string & getMicrosimID() const
Returns the id of the object as known to microsim.
Copy cursor geo-coordinate position - popup entry.
Show object type parameter - popup entry.
void deselect(GUIGlID id)
Deselects the object with the given id.
static const GeoConvHelper & getFinal()
the coordinate transformation for writing the location element and for tracking the original coordina...
virtual const std::string & getParentName() const
Returns the name of the parent object (if any)
Copy cursor position - popup entry.
GUIGlID getGlID() const
Returns the numerical id of the object.
Copy typed object name - popup entry.
const std::string & getFullName() const
GUISelectedStorage gSelected
A global holder of selected objects.
Add to selected items - menu entry.