public abstract class BaseMenuCustom<T> extends Object implements MenuCustom<T>
| Modifier | Constructor and Description |
|---|---|
protected |
BaseMenuCustom() |
protected |
BaseMenuCustom(boolean enabled) |
protected |
BaseMenuCustom(String signatureId) |
protected |
BaseMenuCustom(String signatureId,
String contributionPoint) |
protected |
BaseMenuCustom(String signatureId,
String contributionPoint,
String caption) |
|
BaseMenuCustom(String signatureId,
String contributionPoint,
String caption,
MenuPosition position) |
|
BaseMenuCustom(String signatureId,
String contributionPoint,
String caption,
MenuPosition position,
boolean enabled) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(MenuVisitor visitor)
Causes the given
MenuVisitor to visit this menu item and its children. |
void |
addEnabledStateChangeListener(EnabledStateChangeListener listener)
Called when the enabled state of a Widget changes
|
String |
getCaption() |
String |
getContributionPoint() |
int |
getOrder() |
MenuPosition |
getPosition() |
Collection<String> |
getRoles() |
String |
getSignatureId() |
Collection<String> |
getTraits() |
boolean |
isEnabled() |
void |
setEnabled(boolean enabled) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitbuildprotected BaseMenuCustom()
protected BaseMenuCustom(boolean enabled)
protected BaseMenuCustom(String signatureId)
protected BaseMenuCustom(String signatureId, String contributionPoint, String caption)
public BaseMenuCustom(String signatureId, String contributionPoint, String caption, MenuPosition position)
public BaseMenuCustom(String signatureId, String contributionPoint, String caption, MenuPosition position, boolean enabled)
public void setEnabled(boolean enabled)
setEnabled in interface MenuItempublic String getContributionPoint()
getContributionPoint in interface MenuItempublic String getCaption()
getCaption in interface MenuItempublic MenuPosition getPosition()
getPosition in interface MenuItempublic void accept(MenuVisitor visitor)
MenuItemMenuVisitor to visit this menu item and its children.public void addEnabledStateChangeListener(EnabledStateChangeListener listener)
HasEnabledStateChangeListenersaddEnabledStateChangeListener in interface HasEnabledStateChangeListenerspublic String getSignatureId()
getSignatureId in interface RuntimeResourcepublic Collection<String> getRoles()
getRoles in interface RuntimeFeatureResourcepublic Collection<String> getTraits()
getTraits in interface RuntimeResourceCopyright © 2012–2016 JBoss by Red Hat. All rights reserved.