A Graph Controller for ontology models. This controller allows lattice
elements to be dragged and dropped onto its graph. Arcs can be created by
control-clicking and dragging from one element to another.
Return the node controller appropriate for the given node object. In the
ontology editor, all nodes are ontology concepts, so the controller
is always a ConceptController object or an AttributeController object
for annotation attributes.
jgraph - The JGraph to which hot keys are to be added.
protected void _createControllers()
Initialize all the controller objects for elements in the ontology
editor. This consists of a controller for attributes, concepts,
and relations in the ontology.
The parent class WithIconGraphController also references a port
controller, so we must initialize it here even though the ontology
model editor has no visible ports.
Initialize interaction on the graph pane. This method
is called by the setGraphPane() method of the superclass
AbstractGraphController. This initialization cannot be done in the
constructor because the controller does not yet have a reference to
its pane at that time.
Initialize interactions for the specified controller. This
method is called when a new controller is constructed. In this
class, this method attaches a relation creator to the controller
if the controller is an instance of ConceptController.