public class ToolBarDescriptor extends Object implements Positionable
| Constructor and Description |
|---|
ToolBarDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
static <T,B> ToolBarDescriptor |
createToolBarDescriptor(org.drombler.acp.core.action.jaxb.ToolBarType toolBarType,
org.osgi.framework.Bundle bundle,
ToolBarContainer<T,B> toolBarContainer) |
String |
getDisplayName() |
String |
getId() |
int |
getPosition() |
ToggleActionDescriptor |
getShowToolBarActionDescriptor() |
ToggleMenuEntryDescriptor |
getShowToolBarCheckMenuEntryDescriptor() |
boolean |
isVisible() |
void |
setDisplayName(String displayName) |
void |
setId(String id) |
void |
setPosition(int position) |
void |
setShowToolBarActionDescriptor(ToggleActionDescriptor showToolBarActionDescriptor) |
void |
setShowToolBarCheckMenuEntryDescriptor(ToggleMenuEntryDescriptor showToolBarCheckMenuEntryDescriptor) |
void |
setVisible(boolean visible) |
public String getId()
public void setId(String id)
id - the id to setpublic String getDisplayName()
public void setDisplayName(String displayName)
displayName - the displayName to setpublic int getPosition()
getPosition in interface Positionablepublic void setPosition(int position)
position - the position to setpublic boolean isVisible()
public void setVisible(boolean visible)
visible - the visible to setpublic static <T,B> ToolBarDescriptor createToolBarDescriptor(org.drombler.acp.core.action.jaxb.ToolBarType toolBarType, org.osgi.framework.Bundle bundle, ToolBarContainer<T,B> toolBarContainer)
public ToggleActionDescriptor getShowToolBarActionDescriptor()
public void setShowToolBarActionDescriptor(ToggleActionDescriptor showToolBarActionDescriptor)
showToolBarActionDescriptor - the showToolBarActionDescriptor to setpublic ToggleMenuEntryDescriptor getShowToolBarCheckMenuEntryDescriptor()
public void setShowToolBarCheckMenuEntryDescriptor(ToggleMenuEntryDescriptor showToolBarCheckMenuEntryDescriptor)
showToolBarCheckMenuEntryDescriptor - the showToolBarCheckMenuEntryDescriptor to setCopyright © 2012-2014 Drombler. All Rights Reserved.