public class RibbonConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
protected RibbonMenu |
_appMenu
The App menu of the ribbon
|
protected Map<String,List<String>> |
_dependencies
The dependencies of the ribbon
|
protected LinkedList<Tab> |
_tabs
The tabs of the ribbon
|
protected RibbonMenu |
_userMenu
The user menu elements of the ribbon
|
Constructor and Description |
---|
RibbonConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addDependency(String extensionPoint,
String extensionId)
Add a new ribbon dependency
|
RibbonMenu |
getAppMenu()
Get the app menu for this configuration
|
Map<String,List<String>> |
getDependencies()
Get the list of dependencies
|
LinkedList<Tab> |
getTabs()
Get the tabs for this configuration
|
RibbonMenu |
getUserMenu()
Get the user menu for this configuration
|
void |
setTabs(LinkedList<Tab> tabs)
Set the tabs for this configuration
|
protected LinkedList<Tab> _tabs
protected RibbonMenu _appMenu
protected RibbonMenu _userMenu
protected Map<String,List<String>> _dependencies
public RibbonConfiguration()
public LinkedList<Tab> getTabs()
public void setTabs(LinkedList<Tab> tabs)
tabs
- The tabspublic RibbonMenu getAppMenu()
public RibbonMenu getUserMenu()
public void addDependency(String extensionPoint, String extensionId)
extensionPoint
- The dependency extension pointextensionId
- The dependency extension idpublic Map<String,List<String>> getDependencies()