Package com.nomagic.magicdraw.uimodeling
Class UIPrototypingProfile.LeafStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.uimodeling.UIPrototypingProfile.LeafStereotype
-
- Enclosing class:
- UIPrototypingProfile
public static class UIPrototypingProfile.LeafStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ICON
static java.lang.String
ID
static java.lang.String
SELECTED
static java.lang.String
STEREOTYPE_NAME
static java.lang.String
TEXT
-
Constructor Summary
Constructors Modifier Constructor Description protected
LeafStereotype(UIPrototypingProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearIcon(Element element)
void
clearID(Element element)
void
clearSelected(Element element)
void
clearText(Element element)
UIPrototypingProfile.IconsEnum
getIcon(Element element)
Property
getIconProperty()
java.lang.String
getID(Element element)
Property
getIDProperty()
Property
getSelectedProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.java.lang.String
getText(Element element)
Property
getTextProperty()
boolean
is(Element element)
static boolean
isInstance(Element element)
java.lang.Boolean
isSelected(Element element)
void
setIcon(Element element, UIPrototypingProfile.IconsEnum value)
void
setID(Element element, java.lang.String value)
void
setSelected(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
-
Methods inherited from class com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper
clear, getElementByName
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- 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
-
SELECTED
public static final java.lang.String SELECTED
- See Also:
- Constant Field Values
-
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
LeafStereotype
protected LeafStereotype(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
-
getIconProperty
@CheckForNull public Property getIconProperty()
-
getTextProperty
@CheckForNull public Property getTextProperty()
-
getSelectedProperty
@CheckForNull public Property getSelectedProperty()
-
getIDProperty
@CheckForNull public Property getIDProperty()
-
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)
-
setSelected
public void setSelected(Element element, java.lang.Boolean value)
-
clearSelected
public void clearSelected(Element element)
-
isSelected
@CheckForNull public java.lang.Boolean isSelected(Element element)
-
setID
public void setID(Element element, java.lang.String value)
-
clearID
public void clearID(Element element)
-
getID
@CheckForNull public java.lang.String getID(Element element)
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-