public static class MagicDrawProfile.PlaceOnPalettePropertyStereotype extends ProfileImplementation.StereotypeWrapper
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PLACE
Specifies the diagram type, whose palette includes the DSL element s button, and the position of the button on the palette.
|
static java.lang.String |
STEREOTYPE_NAME |
| Modifier | Constructor and Description |
|---|---|
protected |
PlaceOnPalettePropertyStereotype(MagicDrawProfile profile) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clear() |
void |
clearPlace(Element element) |
java.lang.String |
getPlace(Element element) |
Property |
getPlaceProperty() |
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 |
setPlace(Element element,
java.lang.String value) |
apply, unApplygetElement, getElementByNamepublic static final java.lang.String STEREOTYPE_NAME
public static final java.lang.String PLACE
protected PlaceOnPalettePropertyStereotype(MagicDrawProfile profile)
public Stereotype getStereotype()
ProfileImplementation.StereotypeWrappergetStereotype in class ProfileImplementation.StereotypeWrapper@CheckForNull public Property getPlaceProperty()
public void setPlace(Element element, @CheckForNull java.lang.String value)
public void clearPlace(Element element)
@CheckForNull public java.lang.String getPlace(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)