public class OntologyMoMLHandler extends Attribute
Red (mankit) |
Red (mankit) |
NamedObj.ContainedObjectsIterator
_changeListeners, _changeLock, _changeRequests, _debugging, _debugListeners, _deferChangeRequests, _elementName, _isPersistent, _verbose, _workspace, ATTRIBUTES, CLASSNAME, COMPLETE, CONTENTS, DEEP, FULLNAME, LINKS
Constructor and Description |
---|
OntologyMoMLHandler(NamedObj container,
java.lang.String name)
Construct an OntologyMoMLHandler with the specified container and name.
|
Modifier and Type | Method and Description |
---|---|
void |
clearDisplay(boolean colors,
boolean text)
Remove the highlighting and visible annotations
for all property-able objects.
|
void |
highlightConcepts()
Highlight all property-able objects with
the specified colors for their property values.
|
void |
highlightConcepts(java.util.Set<java.lang.Object> objects)
Highlight concepts that have already been resolved, but do not run solver.
|
void |
showConceptAnnotations()
Show all concept values as text annotations on each model element.
|
_checkContainer, _getContainedObject, _propagateExistence, clone, getContainer, moveDown, moveToFirst, moveToIndex, moveToLast, moveUp, setContainer, setName, updateContent
_addAttribute, _adjustOverride, _attachText, _cloneFixAttributeFields, _containedDecorators, _copyChangeRequestList, _debug, _debug, _debug, _debug, _debug, _description, _executeChangeRequests, _exportMoMLContents, _getIndentPrefix, _isMoMLSuppressed, _markContentsDerived, _notifyHierarchyListenersAfterChange, _notifyHierarchyListenersBeforeChange, _propagateValue, _removeAttribute, _splitName, _stripNumericSuffix, _validateSettables, addChangeListener, addDebugListener, addHierarchyListener, attributeChanged, attributeDeleted, attributeList, attributeList, attributeTypeChanged, clone, containedObjectsIterator, decorators, deepContains, depthInHierarchy, description, description, event, executeChangeRequests, exportMoML, exportMoML, exportMoML, exportMoML, exportMoML, exportMoMLPlain, getAttribute, getAttribute, getAttributes, getChangeListeners, getClassName, getDecoratorAttribute, getDecoratorAttributes, getDerivedLevel, getDerivedList, getDisplayName, getElementName, getFullName, getModelErrorHandler, getName, getName, getPrototypeList, getSource, handleModelError, isDeferringChangeRequests, isOverridden, isPersistent, lazyContainedObjectsIterator, message, notifyOfNameChange, propagateExistence, propagateValue, propagateValues, removeAttribute, removeChangeListener, removeDebugListener, removeHierarchyListener, requestChange, setClassName, setDeferringChangeRequests, setDerivedLevel, setDisplayName, setModelErrorHandler, setPersistent, setSource, sortContainedObjects, toplevel, toString, uniqueName, validateSettables, workspace
public OntologyMoMLHandler(NamedObj container, java.lang.String name) throws IllegalActionException, NameDuplicationException
container
- The container which should be an instance of OntologySolver.name
- The name of the OntologyMoMLHandler.IllegalActionException
- If the OntologyMoMLHandler is not of an
acceptable attribute for the container.NameDuplicationException
- If the name coincides with
an attribute already in the container.public void clearDisplay(boolean colors, boolean text) throws IllegalActionException
colors
- True if the highlight colors should be cleared.text
- True if the ontology concept annotation text should be cleared.IllegalActionException
- If getting the resolved concept fails.public void highlightConcepts() throws IllegalActionException
IllegalActionException
- If getting the resolved concept fails.public void highlightConcepts(java.util.Set<java.lang.Object> objects) throws IllegalActionException
objects
- The set of objects to highlight.IllegalActionException
- Thrown if there is an error getting the
colors for the resolved concept values.public void showConceptAnnotations() throws IllegalActionException
IllegalActionException
- If getting the resolved concept fails.