public class OntologySolverGraphController extends WithIconGraphController
Red (cshelton) |
Red (cshelton) |
WithIconGraphController.NewPortAction
BasicGraphController.OpenBaseClassAction, BasicGraphController.SchematicContextMenuFactory, BasicGraphController.UnitSolverDialogAction
Modifier and Type | Field and Description |
---|---|
protected AttributeInOntologyController |
_attributeController
The controller for attribute objects in the model.
|
protected OntologyEntityController |
_ontologyController
The controller for ontologies in the ontology solver model.
|
_editIconAction, _portController, _removeIconAction
_animated, _animationRenderer, _configureAction, _configureMenuFactory, _menuCreator, _menuFactory, _openBaseClassAction, _unitSolverDialogAction
Constructor and Description |
---|
OntologySolverGraphController()
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
solver editor.
|
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, _initializeInteraction, addToMenuAndToolbar, clearAllErrorHighlights, clearAnimation, event, getAnimationDelay, getConfiguration, getConfigureMenuFactory, getFrame, highlightError, message, setAnimationDelay, setFigure, setFrame, valueChanged
addEdge, 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, setSelectionModel
protected AttributeInOntologyController _attributeController
protected OntologyEntityController _ontologyController
public OntologySolverGraphController()
public EdgeController getEdgeController(java.lang.Object object)
getEdgeController
in interface GraphController
getEdgeController
in class AbstractGraphController
object
- The given edge in the ontology solver model editor. No
edges exist in the ontology solver model.public NodeController getNodeController(java.lang.Object object)
getNodeController
in interface GraphController
getNodeController
in class BasicGraphController
object
- The given node in the ontology model editor.public void setConfiguration(Configuration configuration)
setConfiguration
in class WithIconGraphController
configuration
- The configuration.BasicGraphController.getConfiguration()
protected void _addHotKeys(JGraph jgraph)
_addHotKeys
in class BasicGraphController
jgraph
- The JGraph to which hot keys are to be added.protected void _createControllers()
_createControllers
in class WithIconGraphController
protected void initializeInteraction()
initializeInteraction
in class WithIconGraphController