public static class BasicGraphController.SchematicContextMenuFactory extends PtolemyMenuFactory
Constructor and Description |
---|
SchematicContextMenuFactory(GraphController controller)
Create a new context menu factory associated with the
specified controller.
|
Modifier and Type | Method and Description |
---|---|
protected NamedObj |
_getObjectFromFigure(Figure source)
Return the Ptolemy object that the given figure represents.
|
addMenuItemFactory, create, getController, menuItemFactoryList, removeMenuItemFactory
public SchematicContextMenuFactory(GraphController controller)
controller
- The controller.protected NamedObj _getObjectFromFigure(Figure source)
PtolemyMenuFactory
_getObjectFromFigure
in class PtolemyMenuFactory
source
- The figure.