DevOps Modeling Platform Public Object State Properties

This page lists the various properties that can be tested within ObjectState conditions of a visibility or of an enablement clause describing a menu contribution.

Object State Properties Table

Properties Values Description Example
hasStereotype The fully qualified name of a stereotype Evaluates to true when the element under test has the specified stereotype applied. Basic::Utility
notationType One of the Java type available form com.ibm.xtools.notation, with or without the "com.ibm.xtools.notation." prefix. Evaluates to true when the element under test is adaptable to the specified Notation type. Diagram
umlDiagramType One of the UMLDiagramKind defined in com.ibm.xtools.umlnotation.UMLDiagramKind Evaluates to true when the element under test is adaptable to a diagram of specified type. Class
umlType One of the Java type available form org.eclipse.uml2, with or without the "org.eclipse.uml2." prefix. Evaluates to true when the element under test is adaptable to the specified UML 2 type or any of its subtypes. Package
umlStrictType One of the Java type available from org.eclipse.uml2, with or without the "org.eclipse.uml2." prefix. Evaluates to true when the element under test is adaptable to the specified UML 2 type but not its subtypes. Package
containerUmlType One of the Java type available from org.eclipse.uml2, with or without the "org.eclipse.uml2." prefix. Evaluates to true when the container of the element under test is adaptable to the specified UML 2 type or any of its subtypes. Package
isSingleSelection visibility Evaluates to true if there is only one element in the worbench selection. visibility

Legal notices