Package com.nomagic.magicdraw.uimodeling
Class UIPrototypingProfile.MenuBarStereotype
- java.lang.Object
-
- com.nomagic.profiles.ProfileImplementation.ProfileElementWrapper<Stereotype>
-
- 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.StringMENUSstatic java.lang.StringSTEREOTYPE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description protectedMenuBarStereotype(UIPrototypingProfile profile)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddMenus(Element element, java.lang.String value)protected voidclear()voidclearMenus(Element element)java.util.List<java.lang.String>getMenus(Element element)PropertygetMenusProperty()StereotypegetStereotype()Returns stereotype for this wrapper.booleanis(Element element)static booleanisInstance(Element element)voidremoveMenus(Element element, java.lang.String value)voidsetMenus(Element element, java.util.Collection<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
-
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.StereotypeWrapperReturns stereotype for this wrapper.- Specified by:
getStereotypein 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()
- Overrides:
clearin classProfileImplementation.ProfileElementWrapper<Stereotype>
-
is
public boolean is(@CheckForNull Element element)
-
isInstance
public static boolean isInstance(@CheckForNull Element element)
-
-