Package com.nomagic.magicdraw.uimodeling
Class UIPrototypingProfile.LabelStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.uimodeling.UIPrototypingProfile.LabelStereotype
-
- Enclosing class:
- UIPrototypingProfile
public static class UIPrototypingProfile.LabelStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ICON
static java.lang.String
INACTIVE
static java.lang.String
STEREOTYPE_NAME
static java.lang.String
TEXT
-
Constructor Summary
Constructors Modifier Constructor Description protected
LabelStereotype(UIPrototypingProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearIcon(Element element)
void
clearInactive(Element element)
void
clearText(Element element)
UIPrototypingProfile.IconsEnum
getIcon(Element element)
Property
getIconProperty()
Property
getInactiveProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.java.lang.String
getText(Element element)
Property
getTextProperty()
boolean
is(Element element)
java.lang.Boolean
isInactive(Element element)
static boolean
isInstance(Element element)
void
setIcon(Element element, UIPrototypingProfile.IconsEnum value)
void
setInactive(Element element, java.lang.Boolean value)
void
setText(Element element, java.lang.String value)
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
apply, isDerivedStereotype, isSameOrDerivedStereotype, unApply
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
INACTIVE
public static final java.lang.String INACTIVE
- See Also:
- Constant Field Values
-
ICON
public static final java.lang.String ICON
- See Also:
- Constant Field Values
-
TEXT
public static final java.lang.String TEXT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LabelStereotype
protected LabelStereotype(UIPrototypingProfile profile)
-
-
Method Detail
-
getStereotype
public Stereotype getStereotype()
Description copied from class:ProfileImplementation.StereotypeWrapper
Returns stereotype for this wrapper.- Specified by:
getStereotype
in classProfileImplementation.StereotypeWrapper
- Returns:
- stereotype
-
getInactiveProperty
@CheckForNull public Property getInactiveProperty()
-
getIconProperty
@CheckForNull public Property getIconProperty()
-
getTextProperty
@CheckForNull public Property getTextProperty()
-
setInactive
public void setInactive(Element element, java.lang.Boolean value)
-
clearInactive
public void clearInactive(Element element)
-
isInactive
@CheckForNull public java.lang.Boolean isInactive(Element element)
-
setIcon
public void setIcon(Element element, UIPrototypingProfile.IconsEnum value)
-
clearIcon
public void clearIcon(Element element)
-
getIcon
@CheckForNull public UIPrototypingProfile.IconsEnum getIcon(Element element)
-
setText
public void setText(Element element, java.lang.String value)
-
clearText
public void clearText(Element element)
-
getText
@CheckForNull public java.lang.String getText(Element element)
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-