Package com.nomagic.uml2
Class MagicDrawProfile.PropertyGroupStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.uml2.MagicDrawProfile.PropertyGroupStereotype
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.PropertyGroupStereotype
extends ProfileImplementation.StereotypeWrapper
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
p {padding:0px; margin:0px;} Stores the specified table columns for showing the values of a multivalued property in the element’s Specification window, for example, ownedOperation in Class.static final String
p {padding:0px; margin:0px;} Stores the element types (UML metaclasses and custom stereotypes) that will be displayed as property values.static final String
p {padding:0px; margin:0px;} Stores a list of properties that will be visible in the property group or subgroup.static final String
p {padding:0px; margin:0px;} 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>.static final String
static final String
p {padding:0px; margin:0px;} If the value is true, the property group/ subgroup will be visible in the element’s Specification window.static final String
p {padding:0px; margin:0px;} 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.static final String
p {padding:0px; margin:0px;} If the value is true, the property group/ subgroup will be visible in the element’s Properties panel.static final String
p {padding:0px; margin:0px;} 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.static final String
static final String
static final String
static final String
p {padding:0px; margin:0px;} 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. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addColumns
(Element element, String value) void
void
addProperties
(Element element, String value) protected void
clear()
void
clearColumns
(Element element) void
clearFilter
(Element element) void
clearProperties
(Element element) void
clearShowGroupInCompartmentEdit
(Element element) void
clearShowGroupInDependencyMatrix
(Element element) void
void
clearShowGroupInGoTo
(Element element) void
clearShowGroupInQuickProperties
(Element element) void
clearShowGroupInRelationMap
(Element element) void
clearTitleBarDescription
(Element element) void
clearTitleBarName
(Element element) void
clearUseAsNode
(Element element) getColumns
(Element element) getProperties
(Element element) Returns stereotype for this wrapper.getTitleBarDescription
(Element element) getTitleBarName
(Element element) boolean
static boolean
isInstance
(Element element) isShowGroupInCompartmentEdit
(Element element) isShowGroupInDependencyMatrix
(Element element) isShowGroupInElementSpecification
(Element element) isShowGroupInGoTo
(Element element) isShowGroupInQuickProperties
(Element element) isShowGroupInRelationMap
(Element element) isUseAsNode
(Element element) void
removeColumns
(Element element, String value) void
removeFilter
(Element element, Element value) void
removeProperties
(Element element, String value) void
setColumns
(Element element, Collection<String> value) void
setFilter
(Element element, Collection<? extends Element> value) void
setProperties
(Element element, Collection<String> value) void
setShowGroupInCompartmentEdit
(Element element, Boolean value) void
setShowGroupInDependencyMatrix
(Element element, Boolean value) void
setShowGroupInElementSpecification
(Element element, Boolean value) void
setShowGroupInGoTo
(Element element, Boolean value) void
setShowGroupInQuickProperties
(Element element, Boolean value) void
setShowGroupInRelationMap
(Element element, Boolean value) void
setTitleBarDescription
(Element element, String value) void
setTitleBarName
(Element element, String value) void
setUseAsNode
(Element element, Boolean value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
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:
-
FILTER
Stores the element types (UML metaclasses and custom stereotypes) that will be displayed as property values.- See Also:
-
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:
-
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:
-
SHOWGROUPINDEPENDENCYMATRIX
- See Also:
-
SHOWGROUPINELEMENTSPECIFICATION
If the value is true, the property group/ subgroup will be visible in the element’s Specification window.- See Also:
-
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:
-
SHOWGROUPINQUICKPROPERTIES
If the value is true, the property group/ subgroup will be visible in the element’s Properties panel.- See Also:
-
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:
-
TITLEBARDESCRIPTION
- See Also:
-
TITLEBARNAME
- See Also:
-
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:
-
-
Constructor Details
-
PropertyGroupStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getColumnsProperty
-
getFilterProperty
-
getPropertiesProperty
-
getShowGroupInCompartmentEditProperty
-
getShowGroupInDependencyMatrixProperty
-
getShowGroupInElementSpecificationProperty
-
getShowGroupInGoToProperty
-
getShowGroupInQuickPropertiesProperty
-
getShowGroupInRelationMapProperty
-
getTitleBarDescriptionProperty
-
getTitleBarNameProperty
-
getUseAsNodeProperty
-
setColumns
-
clearColumns
-
addColumns
-
removeColumns
-
getColumns
-
setFilter
-
clearFilter
-
addFilter
-
removeFilter
-
getFilter
-
setProperties
-
clearProperties
-
addProperties
-
removeProperties
-
getProperties
-
setShowGroupInCompartmentEdit
-
clearShowGroupInCompartmentEdit
-
isShowGroupInCompartmentEdit
-
setShowGroupInDependencyMatrix
-
clearShowGroupInDependencyMatrix
-
isShowGroupInDependencyMatrix
-
setShowGroupInElementSpecification
-
clearShowGroupInElementSpecification
-
isShowGroupInElementSpecification
-
setShowGroupInGoTo
-
clearShowGroupInGoTo
-
isShowGroupInGoTo
-
setShowGroupInQuickProperties
-
clearShowGroupInQuickProperties
-
isShowGroupInQuickProperties
-
setShowGroupInRelationMap
-
clearShowGroupInRelationMap
-
isShowGroupInRelationMap
-
setTitleBarDescription
-
clearTitleBarDescription
-
getTitleBarDescription
-
setTitleBarName
-
clearTitleBarName
-
getTitleBarName
-
setUseAsNode
-
clearUseAsNode
-
isUseAsNode
-
clear
protected void clear() -
is
-
isInstance
-