public static class MagicDrawProfile.LayoutTemplateStereotype extends ProfileImplementation.StereotypeWrapper
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT |
static java.lang.String |
DEFINEDFORDIAGRAMFRAME |
static java.lang.String |
STEREOTYPE_NAME |
Modifier | Constructor and Description |
---|---|
protected |
LayoutTemplateStereotype(MagicDrawProfile profile) |
Modifier and Type | Method and Description |
---|---|
protected void |
clear() |
void |
clearDefault(Element element) |
void |
clearDefinedForDiagramFrame(Element element) |
Property |
getDefaultProperty() |
Property |
getDefinedForDiagramFrameProperty() |
Stereotype |
getStereotype()
Returns stereotype for this wrapper.
|
boolean |
is(Element element)
Checks if stereotype of this wrapper is applied to given element.
|
java.lang.Boolean |
isDefault(Element element) |
java.lang.Boolean |
isDefinedForDiagramFrame(Element element) |
static boolean |
isInstance(Element element) |
void |
setDefault(Element element,
java.lang.Boolean value) |
void |
setDefinedForDiagramFrame(Element element,
java.lang.Boolean value) |
apply, unApply
getElement, getElementByName
public static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String DEFAULT
public static final java.lang.String DEFINEDFORDIAGRAMFRAME
protected LayoutTemplateStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrapper
getStereotype
in class ProfileImplementation.StereotypeWrapper
@CheckForNull public Property getDefaultProperty()
@CheckForNull public Property getDefinedForDiagramFrameProperty()
public void setDefault(Element element, @CheckForNull java.lang.Boolean value)
public void clearDefault(Element element)
@CheckForNull public java.lang.Boolean isDefault(Element element)
public void setDefinedForDiagramFrame(Element element, @CheckForNull java.lang.Boolean value)
public void clearDefinedForDiagramFrame(Element element)
@CheckForNull public java.lang.Boolean isDefinedForDiagramFrame(Element element)
protected void clear()
clear
in class ProfileImplementation.ProfileElementWrapper<Stereotype>
public boolean is(@CheckForNull Element element)
ProfileImplementation.StereotypeWrapper
is
in class ProfileImplementation.StereotypeWrapper
element
- elementpublic static boolean isInstance(@CheckForNull Element element)