Package com.nomagic.uml2
Class MagicDrawProfile.PropertyGroupStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.uml2.MagicDrawProfile.PropertyGroupStereotype
-
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.PropertyGroupStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOLUMNSStores the specified table columns for showing the values of a multivalued property in the element’s Specification window, for example, ownedOperation in Class.static java.lang.StringFILTERStores the element types (UML metaclasses and custom stereotypes) that will be displayed as property values.static java.lang.StringPROPERTIESStores a list of properties that will be visible in the property group or subgroup.static java.lang.StringSHOWGROUPINCOMPARTMENTEDITThis property allows for displaying the element properties in the Compartment Edit dialog > the Element Properties tab and in a note on a diagram either within the property group/subgroup or without it. If the value is true, the property name will be displayed as follows: <property_group_name>::<property_name>. If the value is false, the property name will be displayed as follows: <property_name>.static java.lang.StringSHOWGROUPINDEPENDENCYMATRIXstatic java.lang.StringSHOWGROUPINELEMENTSPECIFICATIONIf the value is true, the property group/ subgroup will be visible in the element’s Specification window.static java.lang.StringSHOWGROUPINGOTOIf the value is true, the property group/ subgroup will be visible in element’s shortcut menu as a submenu under the Go To menu.static java.lang.StringSHOWGROUPINQUICKPROPERTIESIf the value is true, the property group/ subgroup will be visible in the element’s Properties panel.static java.lang.StringSHOWGROUPINRELATIONMAPIf the value is true , the property group/ subgroup will be visible in the Criterion Editor dialog, when you create or edit a Relation Map diagram.static java.lang.StringSTEREOTYPE_NAMEstatic java.lang.StringTITLEBARDESCRIPTIONstatic java.lang.StringTITLEBARNAMEstatic java.lang.StringUSEASNODEIf the value is true, the property group will be displayed in a separate tab in the element’s Specification window and/ or Properties panel.
-
Constructor Summary
Constructors Modifier Constructor Description protectedPropertyGroupStereotype(MagicDrawProfile profile)
-
Method Summary
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper
getElementByName
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
COLUMNS
public static final java.lang.String COLUMNS
Stores the specified table columns for showing the values of a multivalued property in the element’s Specification window, for example, ownedOperation in Class.
Note: Do not specify this property, when there is more than one property assigned to the properties group and/ or subgroup, i.e., when there is more than one value added to the Properties property.
Note: The property group, to which the multivalued property is assigned, must be specified as a separate tab in the element’s Specification window, for example, the Use As Node property must be set to true.- See Also:
- Constant Field Values
-
FILTER
public static final java.lang.String FILTER
Stores the element types (UML metaclasses and custom stereotypes) that will be displayed as property values.- See Also:
- Constant Field Values
-
PROPERTIES
public static final java.lang.String PROPERTIES
Stores a list of properties that will be visible in the property group or subgroup.
Note: Do not set this property value to true for the property subgroup.- See Also:
- Constant Field Values
-
SHOWGROUPINCOMPARTMENTEDIT
public static final java.lang.String SHOWGROUPINCOMPARTMENTEDIT
This property allows for displaying the element properties in the Compartment Edit dialog > the Element Properties tab and in a note on a diagram either within the property group/subgroup or without it. If the value is true, the property name will be displayed as follows: <property_group_name>::<property_name>. If the value is false, the property name will be displayed as follows: <property_name>.- See Also:
- Constant Field Values
-
SHOWGROUPINDEPENDENCYMATRIX
public static final java.lang.String SHOWGROUPINDEPENDENCYMATRIX
- See Also:
- Constant Field Values
-
SHOWGROUPINELEMENTSPECIFICATION
public static final java.lang.String SHOWGROUPINELEMENTSPECIFICATION
If the value is true, the property group/ subgroup will be visible in the element’s Specification window.- See Also:
- Constant Field Values
-
SHOWGROUPINGOTO
public static final java.lang.String SHOWGROUPINGOTO
If the value is true, the property group/ subgroup will be visible in element’s shortcut menu as a submenu under the Go To menu.- See Also:
- Constant Field Values
-
SHOWGROUPINQUICKPROPERTIES
public static final java.lang.String SHOWGROUPINQUICKPROPERTIES
If the value is true, the property group/ subgroup will be visible in the element’s Properties panel.- See Also:
- Constant Field Values
-
SHOWGROUPINRELATIONMAP
public static final java.lang.String SHOWGROUPINRELATIONMAP
If the value is true , the property group/ subgroup will be visible in the Criterion Editor dialog, when you create or edit a Relation Map diagram.- See Also:
- Constant Field Values
-
TITLEBARDESCRIPTION
public static final java.lang.String TITLEBARDESCRIPTION
- See Also:
- Constant Field Values
-
TITLEBARNAME
public static final java.lang.String TITLEBARNAME
- See Also:
- Constant Field Values
-
USEASNODE
public static final java.lang.String USEASNODE
If the value is true, the property group will be displayed in a separate tab in the element’s Specification window and/ or Properties panel.
If the value is false, the property group will be displayed as a group in the general (default) pane of the element’s Specification window and/ or Properties panel.
Note: Do not set this property value to true for the property subgroup.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PropertyGroupStereotype
protected PropertyGroupStereotype(MagicDrawProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein classProfileImplementation.StereotypeWrapper- Returns:
- stereotype
-
getColumnsProperty
@CheckForNull public Property getColumnsProperty()
-
getFilterProperty
@CheckForNull public Property getFilterProperty()
-
getPropertiesProperty
@CheckForNull public Property getPropertiesProperty()
-
getShowGroupInCompartmentEditProperty
@CheckForNull public Property getShowGroupInCompartmentEditProperty()
-
getShowGroupInDependencyMatrixProperty
@CheckForNull public Property getShowGroupInDependencyMatrixProperty()
-
getShowGroupInElementSpecificationProperty
@CheckForNull public Property getShowGroupInElementSpecificationProperty()
-
getShowGroupInGoToProperty
@CheckForNull public Property getShowGroupInGoToProperty()
-
getShowGroupInQuickPropertiesProperty
@CheckForNull public Property getShowGroupInQuickPropertiesProperty()
-
getShowGroupInRelationMapProperty
@CheckForNull public Property getShowGroupInRelationMapProperty()
-
getTitleBarDescriptionProperty
@CheckForNull public Property getTitleBarDescriptionProperty()
-
getTitleBarNameProperty
@CheckForNull public Property getTitleBarNameProperty()
-
getUseAsNodeProperty
@CheckForNull public Property getUseAsNodeProperty()
-
setColumns
public void setColumns(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearColumns
public void clearColumns(Element element)
-
addColumns
public void addColumns(Element element, java.lang.String value)
-
removeColumns
public void removeColumns(Element element, java.lang.String value)
-
getColumns
public java.util.List<java.lang.String> getColumns(Element element)
-
setFilter
public void setFilter(Element element, @CheckForNull java.util.Collection<? extends Element> value)
-
clearFilter
public void clearFilter(Element element)
-
setProperties
public void setProperties(Element element, @CheckForNull java.util.Collection<java.lang.String> value)
-
clearProperties
public void clearProperties(Element element)
-
addProperties
public void addProperties(Element element, java.lang.String value)
-
removeProperties
public void removeProperties(Element element, java.lang.String value)
-
getProperties
public java.util.List<java.lang.String> getProperties(Element element)
-
setShowGroupInCompartmentEdit
public void setShowGroupInCompartmentEdit(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowGroupInCompartmentEdit
public void clearShowGroupInCompartmentEdit(Element element)
-
isShowGroupInCompartmentEdit
@CheckForNull public java.lang.Boolean isShowGroupInCompartmentEdit(Element element)
-
setShowGroupInDependencyMatrix
public void setShowGroupInDependencyMatrix(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowGroupInDependencyMatrix
public void clearShowGroupInDependencyMatrix(Element element)
-
isShowGroupInDependencyMatrix
@CheckForNull public java.lang.Boolean isShowGroupInDependencyMatrix(Element element)
-
setShowGroupInElementSpecification
public void setShowGroupInElementSpecification(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowGroupInElementSpecification
public void clearShowGroupInElementSpecification(Element element)
-
isShowGroupInElementSpecification
@CheckForNull public java.lang.Boolean isShowGroupInElementSpecification(Element element)
-
setShowGroupInGoTo
public void setShowGroupInGoTo(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowGroupInGoTo
public void clearShowGroupInGoTo(Element element)
-
isShowGroupInGoTo
@CheckForNull public java.lang.Boolean isShowGroupInGoTo(Element element)
-
setShowGroupInQuickProperties
public void setShowGroupInQuickProperties(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowGroupInQuickProperties
public void clearShowGroupInQuickProperties(Element element)
-
isShowGroupInQuickProperties
@CheckForNull public java.lang.Boolean isShowGroupInQuickProperties(Element element)
-
setShowGroupInRelationMap
public void setShowGroupInRelationMap(Element element, @CheckForNull java.lang.Boolean value)
-
clearShowGroupInRelationMap
public void clearShowGroupInRelationMap(Element element)
-
isShowGroupInRelationMap
@CheckForNull public java.lang.Boolean isShowGroupInRelationMap(Element element)
-
setTitleBarDescription
public void setTitleBarDescription(Element element, @CheckForNull java.lang.String value)
-
clearTitleBarDescription
public void clearTitleBarDescription(Element element)
-
getTitleBarDescription
@CheckForNull public java.lang.String getTitleBarDescription(Element element)
-
setTitleBarName
public void setTitleBarName(Element element, @CheckForNull java.lang.String value)
-
clearTitleBarName
public void clearTitleBarName(Element element)
-
getTitleBarName
@CheckForNull public java.lang.String getTitleBarName(Element element)
-
setUseAsNode
public void setUseAsNode(Element element, @CheckForNull java.lang.Boolean value)
-
clearUseAsNode
public void clearUseAsNode(Element element)
-
isUseAsNode
@CheckForNull public java.lang.Boolean isUseAsNode(Element element)
-
clear
protected void clear()
- Overrides:
clearin classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-