Package com.nomagic.uml2
Class MagicDrawProfile.SmartPackageStereotype
java.lang.Object
com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
com.nomagic.uml2.MagicDrawProfile.SmartPackageStereotype
- Enclosing class:
- MagicDrawProfile
public static class MagicDrawProfile.SmartPackageStereotype
extends ProfileImplementation.StereotypeWrapper
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
Suspend the calculation of Smart Package content.static final String
static final String
static final String
static final String
This option determines whether contents of this smart package should be calculated and taken into account when operating in various Select Element dialogs. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addAdditionalElements
(Element element, Element value) void
addExcludedElements
(Element element, Element value) void
addFrozenContents
(Element element, Element value) protected void
clear()
void
clearAdditionalElements
(Element element) void
clearExcludedElements
(Element element) void
clearFrozen
(Element element) void
clearFrozenContents
(Element element) void
clearQuery
(Element element) void
clearUseInSelectionDialogs
(Element element) getAdditionalElements
(Element element) getExcludedElements
(Element element) getFrozenContents
(Element element) Returns stereotype for this wrapper.boolean
static boolean
isInstance
(Element element) isUseInSelectionDialogs
(Element element) void
removeAdditionalElements
(Element element, Element value) void
removeExcludedElements
(Element element, Element value) void
removeFrozenContents
(Element element, Element value) void
setAdditionalElements
(Element element, Collection<? extends Element> value) void
setExcludedElements
(Element element, Collection<? extends Element> value) void
void
setFrozenContents
(Element element, Collection<? extends Element> value) void
void
setUseInSelectionDialogs
(Element element, Boolean value) Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
Field Details
-
STEREOTYPE_NAME
- See Also:
-
ADDITIONALELEMENTS
- See Also:
-
EXCLUDEDELEMENTS
- See Also:
-
FROZEN
Suspend the calculation of Smart Package content. Select Refresh Contents to update the content.- See Also:
-
FROZENCONTENTS
- See Also:
-
QUERY
- See Also:
-
USEINSELECTIONDIALOGS
This option determines whether contents of this smart package should be calculated and taken into account when operating in various Select Element dialogs. Having this option on may help you to pick elements in Select Element dialog, but it also incurs performance penalty. If your smart package contains a slow-running computation - such as Find - you may want to keep this option off for performance reasons.- See Also:
-
-
Constructor Details
-
SmartPackageStereotype
-
-
Method Details
-
getStereotype
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getAdditionalElementsProperty
-
getExcludedElementsProperty
-
getFrozenProperty
-
getFrozenContentsProperty
-
getQueryProperty
-
getUseInSelectionDialogsProperty
-
setAdditionalElements
public void setAdditionalElements(Element element, @CheckForNull Collection<? extends Element> value) -
clearAdditionalElements
-
addAdditionalElements
-
removeAdditionalElements
-
getAdditionalElements
-
setExcludedElements
-
clearExcludedElements
-
addExcludedElements
-
removeExcludedElements
-
getExcludedElements
-
setFrozen
-
clearFrozen
-
isFrozen
-
setFrozenContents
-
clearFrozenContents
-
addFrozenContents
-
removeFrozenContents
-
getFrozenContents
-
setQuery
-
clearQuery
-
getQuery
-
setUseInSelectionDialogs
-
clearUseInSelectionDialogs
-
isUseInSelectionDialogs
-
clear
protected void clear() -
is
-
isInstance
-