public class ToolBarDescriptor extends Object implements org.softsmithy.lib.util.Positionable
Constructor and Description |
---|
ToolBarDescriptor() |
Modifier and Type | Method and Description |
---|---|
static <T,B> ToolBarDescriptor |
createToolBarDescriptor(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 org.softsmithy.lib.util.Positionable
public 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(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–2017 Drombler. All rights reserved.