protected static class ProductLatticeOntologySolverDisplayActions.ProductLatticeHighlighterController extends OntologyDisplayActions.HighlighterController
OntologyDisplayActions
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.AttributeController.Access
IconController.IconRenderer
_appearanceMenuActionFactory, _listenToAction, _renameAction, FULL, PARTIAL
_configureAction, _configureMenuFactory, _menuCreator, _menuFactory
_configuration
_decoratable, CLASS_ELEMENT_HIGHLIGHT_COLOR
Constructor and Description |
---|
ProductLatticeHighlighterController(ProductLatticeOntologySolverDisplayActions displayActions,
GraphController controller)
Create a HighlighterController that is associated with a controller.
|
Modifier and Type | Method and Description |
---|---|
void |
setHighlightColorsMenu(ProductLatticeOntology solverOntology)
Set the highlight colors menu for the ProductLatticeOntologySolver
based on its ProductLatticeOntology.
|
addHotKeys, setConfiguration
_getComponentType, _moveToFirstDescription, _moveToLastDescription, renderDecoratorHighlight, renderHighlight
getConfigureMenuFactory
_drawChildren, _getCompositeFigure, _hide, _isPropertySet, _renderNode, addNode, drawNode, getLocation, hasLocation, locateFigure, setLocation, setSnapResolution
addNode, addNode, addNode, clearNode, drawNode, getController, getNodeInteractor, getNodeRenderer, removeNode, setNodeInteractor, setNodeRenderer
public ProductLatticeHighlighterController(ProductLatticeOntologySolverDisplayActions displayActions, GraphController controller)
displayActions
- The ProductLatticeOntologySolverDisplayActions object reference.controller
- The controller.public void setHighlightColorsMenu(ProductLatticeOntology solverOntology) throws IllegalActionException
solverOntology
- The ProductLatticeOntology for the solver.IllegalActionException
- Thrown if there is a problem creating
the new highlight colors menu.