public static class MagicDrawProfile.LegendStereotype extends ProfileImplementation.StereotypeWrapper
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DIAGRAMSBYCONDITION
Specify the condition to check the diagrams for which the legend should be applied.
|
static java.lang.String |
STEREOTYPE_NAME |
| Modifier | Constructor and Description |
|---|---|
protected |
LegendStereotype(MagicDrawProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear() |
void |
clearDiagramsByCondition(Element element) |
java.lang.Object |
getDiagramsByCondition(Element element) |
Property |
getDiagramsByConditionProperty() |
Stereotype |
getStereotype()
Returns stereotype for this wrapper.
|
boolean |
is(Element element)
Checks if stereotype of this wrapper is applied to given element.
|
static boolean |
isInstance(Element element) |
void |
setDiagramsByCondition(Element element,
java.lang.Object value) |
apply, unApplygetElement, getElementByNamepublic static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String DIAGRAMSBYCONDITION
protected LegendStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrappergetStereotype in class ProfileImplementation.StereotypeWrapper@CheckForNull public Property getDiagramsByConditionProperty()
public void setDiagramsByCondition(Element element, @CheckForNull java.lang.Object value)
public void clearDiagramsByCondition(Element element)
@CheckForNull public java.lang.Object getDiagramsByCondition(Element element)
protected void clear()
clear in class ProfileImplementation.ProfileElementWrapper<Stereotype>public boolean is(@CheckForNull
Element element)
ProfileImplementation.StereotypeWrapperis in class ProfileImplementation.StereotypeWrapperelement - elementpublic static boolean isInstance(@CheckForNull
Element element)