public class OntologyGraphController extends WithIconGraphController
| Red (cshelton) |
| Red (cshelton) |
WithIconGraphController.NewPortActionBasicGraphController.OpenBaseClassAction, BasicGraphController.SchematicContextMenuFactory, BasicGraphController.UnitSolverDialogAction| Modifier and Type | Field and Description |
|---|---|
protected AttributeInOntologyController |
_attributeController
The controller for attribute objects in the model.
|
protected ConceptController |
_conceptController
The controller for concepts in the ontology model.
|
protected ConceptRelationController |
_relationController
The controller for relations in the ontology model.
|
_editIconAction, _portController, _removeIconAction_animated, _animationRenderer, _configureAction, _configureMenuFactory, _menuCreator, _menuFactory, _openBaseClassAction, _unitSolverDialogAction| Constructor and Description |
|---|
OntologyGraphController()
Create a new ontology graph controller object.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
_addHotKeys(JGraph jgraph)
Add hot keys to the actions in the given JGraph.
|
protected void |
_createControllers()
Initialize all the controller objects for elements in the ontology
editor.
|
protected void |
_initializeInteraction(NamedObjController controller)
Initialize interactions for the specified controller.
|
void |
addToMenuAndToolbar(javax.swing.JMenu menu,
javax.swing.JToolBar toolbar)
Add commands to the specified menu and toolbar, as appropriate
for this controller.
|
EdgeController |
getEdgeController(java.lang.Object object)
Return the edge controller appropriate for the given edge.
|
NodeController |
getNodeController(java.lang.Object object)
Return the node controller appropriate for the given node object.
|
protected void |
initializeInteraction()
Initialize interaction on the graph pane.
|
void |
setConfiguration(Configuration configuration)
Set the configuration.
|
getNewPortLocation_areThereActiveErrorHighlights, _getClearAllErrorHighlightsChangeRequest, clearAllErrorHighlights, clearAnimation, event, getAnimationDelay, getConfiguration, getConfigureMenuFactory, getFrame, highlightError, message, setAnimationDelay, setFigure, setFrame, valueChangedaddEdge, addEdge, addGraphViewListener, addNode, addNode, addNode, addNode, clear, clearEdge, clearNode, dispatch, drawEdge, drawNode, drawNode, getFigure, getGraphModel, getGraphPane, getSelectionModel, removeEdge, removeGraphViewListener, removeNode, rerender, rerenderEdge, rerenderNode, setGraphModel, setGraphPane, setSelectionModelprotected AttributeInOntologyController _attributeController
protected ConceptController _conceptController
protected ConceptRelationController _relationController
public OntologyGraphController()
public void addToMenuAndToolbar(javax.swing.JMenu menu,
javax.swing.JToolBar toolbar)
addToMenuAndToolbar in class BasicGraphControllermenu - The menu to add to, or null if none.toolbar - The toolbar to add to, or null if none.public EdgeController getEdgeController(java.lang.Object object)
getEdgeController in interface GraphControllergetEdgeController in class AbstractGraphControllerobject - The given edge in the ontology model editor.public NodeController getNodeController(java.lang.Object object)
getNodeController in interface GraphControllergetNodeController in class BasicGraphControllerobject - The given node in the ontology model editor.public void setConfiguration(Configuration configuration)
setConfiguration in class WithIconGraphControllerconfiguration - The configuration.BasicGraphController.getConfiguration()protected void _addHotKeys(JGraph jgraph)
_addHotKeys in class BasicGraphControllerjgraph - The JGraph to which hot keys are to be added.protected void _createControllers()
_createControllers in class WithIconGraphControllerprotected void initializeInteraction()
initializeInteraction in class WithIconGraphControllerprotected void _initializeInteraction(NamedObjController controller)
_initializeInteraction in class BasicGraphControllercontroller - The controller for which to initialize interaction.