Class ScenarioMenuItem
- java.lang.Object
-
- org.drools.workbench.screens.scenariosimulation.client.editor.ScenarioMenuItem
-
- All Implemented Interfaces:
org.uberfire.security.authz.RuntimeFeatureResource,org.uberfire.security.authz.RuntimeResource,org.uberfire.security.Resource,org.uberfire.workbench.model.menu.HasEnabledStateChangeListeners,org.uberfire.workbench.model.menu.MenuCustom<com.google.gwt.user.client.ui.Widget>,org.uberfire.workbench.model.menu.MenuItem
public class ScenarioMenuItem extends Object implements org.uberfire.workbench.model.menu.MenuCustom<com.google.gwt.user.client.ui.Widget>
-
-
Constructor Summary
Constructors Constructor Description ScenarioMenuItem(String title, com.google.gwt.user.client.Command command)ScenarioMenuItem(org.gwtbootstrap3.client.ui.constants.IconType icon, com.google.gwt.user.client.Command command)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaccept(org.uberfire.workbench.model.menu.MenuVisitor visitor)voidaddEnabledStateChangeListener(org.uberfire.workbench.model.menu.EnabledStateChangeListener listener)com.google.gwt.user.client.ui.Widgetbuild()StringgetCaption()StringgetContributionPoint()StringgetIdentifier()intgetOrder()org.uberfire.workbench.model.menu.MenuPositiongetPosition()booleanisEnabled()voidsetEnabled(boolean enabled)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
-
-
Constructor Detail
-
ScenarioMenuItem
public ScenarioMenuItem(String title, com.google.gwt.user.client.Command command)
-
ScenarioMenuItem
public ScenarioMenuItem(org.gwtbootstrap3.client.ui.constants.IconType icon, com.google.gwt.user.client.Command command)
-
-
Method Detail
-
build
public com.google.gwt.user.client.ui.Widget build()
- Specified by:
buildin interfaceorg.uberfire.workbench.model.menu.MenuCustom<com.google.gwt.user.client.ui.Widget>
-
isEnabled
public boolean isEnabled()
- Specified by:
isEnabledin interfaceorg.uberfire.workbench.model.menu.MenuItem
-
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabledin interfaceorg.uberfire.workbench.model.menu.MenuItem
-
getContributionPoint
public String getContributionPoint()
- Specified by:
getContributionPointin interfaceorg.uberfire.workbench.model.menu.MenuItem
-
getCaption
public String getCaption()
- Specified by:
getCaptionin interfaceorg.uberfire.workbench.model.menu.MenuItem
-
getPosition
public org.uberfire.workbench.model.menu.MenuPosition getPosition()
- Specified by:
getPositionin interfaceorg.uberfire.workbench.model.menu.MenuItem
-
getOrder
public int getOrder()
- Specified by:
getOrderin interfaceorg.uberfire.workbench.model.menu.MenuItem
-
accept
public void accept(org.uberfire.workbench.model.menu.MenuVisitor visitor)
- Specified by:
acceptin interfaceorg.uberfire.workbench.model.menu.MenuItem
-
addEnabledStateChangeListener
public void addEnabledStateChangeListener(org.uberfire.workbench.model.menu.EnabledStateChangeListener listener)
- Specified by:
addEnabledStateChangeListenerin interfaceorg.uberfire.workbench.model.menu.HasEnabledStateChangeListeners
-
getIdentifier
public String getIdentifier()
- Specified by:
getIdentifierin interfaceorg.uberfire.security.Resource
-
-