Class DefaultToolBar
- java.lang.Object
-
- org.uberfire.workbench.model.toolbar.impl.DefaultToolBar
-
- All Implemented Interfaces:
RuntimeFeatureResource,RuntimeResource,Resource,ToolBar
public class DefaultToolBar extends Object implements ToolBar
Default implementation of ToolBar
-
-
Constructor Summary
Constructors Constructor Description DefaultToolBar(String id)DefaultToolBar(String id, List<ToolBarItem> items)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddItem(ToolBarItem item)StringgetIdentifier()An identifier that is unique among all the resources of the same type (seeResource.getResourceType()).List<ToolBarItem>getItems()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.uberfire.security.Resource
getDependencies, getResourceType, isType
-
-
-
-
Constructor Detail
-
DefaultToolBar
public DefaultToolBar(String id)
-
DefaultToolBar
public DefaultToolBar(String id, List<ToolBarItem> items)
-
-
Method Detail
-
getIdentifier
public String getIdentifier()
Description copied from interface:ResourceAn identifier that is unique among all the resources of the same type (seeResource.getResourceType()).- Specified by:
getIdentifierin interfaceResource
-
addItem
public void addItem(ToolBarItem item)
-
getItems
public List<ToolBarItem> getItems()
-
-