Package ptolemy.data.ontologies.gui
Class ProductLatticeOntologySolverDisplayActions.ProductLatticeHighlighterController
- java.lang.Object
-
- diva.graph.BasicNodeController
-
- ptolemy.vergil.basic.LocatableNodeController
-
- ptolemy.vergil.basic.NamedObjController
-
- ptolemy.vergil.basic.ParameterizedNodeController
-
- ptolemy.vergil.basic.IconController
-
- ptolemy.vergil.kernel.AttributeController
-
- ptolemy.vergil.basic.MoMLModelAttributeController
-
- ptolemy.data.ontologies.gui.OntologyDisplayActions.HighlighterController
-
- ptolemy.data.ontologies.gui.ProductLatticeOntologySolverDisplayActions.ProductLatticeHighlighterController
-
- All Implemented Interfaces:
NodeController
- Enclosing class:
- ProductLatticeOntologySolverDisplayActions
protected static class ProductLatticeOntologySolverDisplayActions.ProductLatticeHighlighterController extends OntologyDisplayActions.HighlighterController
The controller that adds commands to the context menu. This extends the HighlighterController inOntologyDisplayActions
by adding a submenu to select which of the component ontologies in the product lattice ontology to use as a basis for highlighting the resolved concepts.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class ptolemy.vergil.kernel.AttributeController
AttributeController.Access
-
Nested classes/interfaces inherited from class ptolemy.vergil.basic.IconController
IconController.IconRenderer
-
-
Field Summary
-
Fields inherited from class ptolemy.vergil.kernel.AttributeController
_appearanceMenuActionFactory, _listenToAction, _renameAction, FULL, PARTIAL
-
Fields inherited from class ptolemy.vergil.basic.ParameterizedNodeController
_configureAction, _configureMenuFactory, _menuCreator, _menuFactory
-
Fields inherited from class ptolemy.vergil.basic.NamedObjController
_configuration
-
Fields inherited from class ptolemy.vergil.basic.LocatableNodeController
_decoratable, CLASS_ELEMENT_HIGHLIGHT_COLOR
-
-
Constructor Summary
Constructors Constructor Description ProductLatticeHighlighterController(ProductLatticeOntologySolverDisplayActions displayActions, GraphController controller)
Create a HighlighterController that is associated with a controller.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
setHighlightColorsMenu(ProductLatticeOntology solverOntology)
Set the highlight colors menu for the ProductLatticeOntologySolver based on its ProductLatticeOntology.-
Methods inherited from class ptolemy.vergil.basic.MoMLModelAttributeController
addHotKeys, setConfiguration
-
Methods inherited from class ptolemy.vergil.kernel.AttributeController
_getComponentType, _moveToFirstDescription, _moveToLastDescription, renderDecoratorHighlight, renderHighlight
-
Methods inherited from class ptolemy.vergil.basic.ParameterizedNodeController
getConfigureMenuFactory
-
Methods inherited from class ptolemy.vergil.basic.LocatableNodeController
_drawChildren, _getCompositeFigure, _hide, _isPropertySet, _renderNode, addNode, drawNode, getLocation, hasLocation, locateFigure, setLocation, setSnapResolution
-
Methods inherited from class diva.graph.BasicNodeController
addNode, addNode, addNode, clearNode, drawNode, getController, getNodeInteractor, getNodeRenderer, removeNode, setNodeInteractor, setNodeRenderer
-
-
-
-
Constructor Detail
-
ProductLatticeHighlighterController
public ProductLatticeHighlighterController(ProductLatticeOntologySolverDisplayActions displayActions, GraphController controller)
Create a HighlighterController that is associated with a controller.- Parameters:
displayActions
- The ProductLatticeOntologySolverDisplayActions object reference.controller
- The controller.
-
-
Method Detail
-
setHighlightColorsMenu
public void setHighlightColorsMenu(ProductLatticeOntology solverOntology) throws IllegalActionException
Set the highlight colors menu for the ProductLatticeOntologySolver based on its ProductLatticeOntology.- Parameters:
solverOntology
- The ProductLatticeOntology for the solver.- Throws:
IllegalActionException
- Thrown if there is a problem creating the new highlight colors menu.
-
-