Package com.nomagic.magicdraw.uimodeling
Class UIPrototypingProfile.MenuBarStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.StereotypeWrapper
-
- com.nomagic.magicdraw.uimodeling.UIPrototypingProfile.MenuBarStereotype
-
- Enclosing class:
- UIPrototypingProfile
public static class UIPrototypingProfile.MenuBarStereotype extends ProfileImplementation.StereotypeWrapper
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
MENUS
static java.lang.String
STEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protected
MenuBarStereotype(UIPrototypingProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMenus(Element element, java.lang.String value)
protected void
clear()
void
clearMenus(Element element)
java.util.List<java.lang.String>
getMenus(Element element)
Property
getMenusProperty()
Stereotype
getStereotype()
Returns stereotype for this wrapper.boolean
is(Element element)
static boolean
isInstance(Element element)
void
removeMenus(Element element, java.lang.String value)
void
setMenus(Element element, java.util.Collection<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
-
MENUS
public static final java.lang.String MENUS
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MenuBarStereotype
protected MenuBarStereotype(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
-
getMenusProperty
@CheckForNull public Property getMenusProperty()
-
setMenus
public void setMenus(Element element, java.util.Collection<java.lang.String> value)
-
clearMenus
public void clearMenus(Element element)
-
addMenus
public void addMenus(Element element, java.lang.String value)
-
removeMenus
public void removeMenus(Element element, java.lang.String value)
-
getMenus
public java.util.List<java.lang.String> getMenus(Element element)
-
clear
protected void clear()
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-