Class PrimaryActionMenuBuilder
- java.lang.Object
-
- org.jbpm.workbench.common.client.menu.PrimaryActionMenuBuilder
-
- All Implemented Interfaces:
org.uberfire.workbench.model.menu.MenuFactory.CustomMenuBuilder
public class PrimaryActionMenuBuilder extends Object implements org.uberfire.workbench.model.menu.MenuFactory.CustomMenuBuilder
-
-
Constructor Summary
Constructors Constructor Description PrimaryActionMenuBuilder()PrimaryActionMenuBuilder(String label, String icon, String title, org.uberfire.mvp.Command command, boolean notifyChangeListeners)PrimaryActionMenuBuilder(String label, org.uberfire.mvp.Command command)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddChangeListener(org.uberfire.workbench.model.menu.EnabledStateChangeListener listener)org.uberfire.workbench.model.menu.MenuItembuild()voidpush(org.uberfire.workbench.model.menu.MenuFactory.CustomMenuBuilder element)voidsetVisible(boolean visible)
-
-
-
Constructor Detail
-
PrimaryActionMenuBuilder
public PrimaryActionMenuBuilder()
-
PrimaryActionMenuBuilder
public PrimaryActionMenuBuilder(String label, org.uberfire.mvp.Command command)
-
-
Method Detail
-
push
public void push(org.uberfire.workbench.model.menu.MenuFactory.CustomMenuBuilder element)
- Specified by:
pushin interfaceorg.uberfire.workbench.model.menu.MenuFactory.CustomMenuBuilder
-
build
public org.uberfire.workbench.model.menu.MenuItem build()
- Specified by:
buildin interfaceorg.uberfire.workbench.model.menu.MenuFactory.CustomMenuBuilder
-
setVisible
public void setVisible(boolean visible)
-
addChangeListener
public void addChangeListener(org.uberfire.workbench.model.menu.EnabledStateChangeListener listener)
-
-