Package com.nomagic.magicdraw.uimodeling
Class UIPrototypingProfile.NodeStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.uimodeling.UIPrototypingProfile.NodeStereotype
-
- Enclosing class:
- UIPrototypingProfile
public static class UIPrototypingProfile.NodeStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
NodeStereotype(UIPrototypingProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
clear()
void
clearExpand(Element element)
void
clearIcon(Element element)
void
clearID(Element element)
void
clearSelected(Element element)
void
clearText(Element element)
Property
getExpandProperty()
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)
java.lang.Boolean
isExpand(Element element)
static boolean
isInstance(Element element)
java.lang.Boolean
isSelected(Element element)
void
setExpand(Element element, java.lang.Boolean value)
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
getElementByName
-
-
-
-
Field Detail
-
STEREOTYPE_NAME
public static final java.lang.String STEREOTYPE_NAME
- See Also:
- Constant Field Values
-
EXPAND
public static final java.lang.String EXPAND
- 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
-
NodeStereotype
protected NodeStereotype(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
-
getExpandProperty
@CheckForNull public Property getExpandProperty()
-
getIconProperty
@CheckForNull public Property getIconProperty()
-
getTextProperty
@CheckForNull public Property getTextProperty()
-
getSelectedProperty
@CheckForNull public Property getSelectedProperty()
-
getIDProperty
@CheckForNull public Property getIDProperty()
-
setExpand
public void setExpand(Element element, java.lang.Boolean value)
-
clearExpand
public void clearExpand(Element element)
-
isExpand
@CheckForNull public java.lang.Boolean isExpand(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)
-
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)
-
clear
protected void clear()
- Overrides:
clear
in classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-