Class RibbonConfiguration
java.lang.Object
org.ametys.core.ui.ribbonconfiguration.RibbonConfiguration
A ribbon configuration, with tab, user and app menus
- 
Field Summary
FieldsModifier and TypeFieldDescriptionprotected RibbonMenuThe App menu of the ribbonThe dependencies of the ribbonprotected LinkedList<Tab>The tabs of the ribbonprotected RibbonMenuThe user menu elements of the ribbon - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddDependency(String extensionPoint, String extensionId) Add a new ribbon dependencyGet the app menu for this configurationGet the list of dependenciesgetTabs()Get the tabs for this configurationGet the user menu for this configurationvoidsetTabs(LinkedList<Tab> tabs) Set the tabs for this configuration 
- 
Field Details
- 
_tabs
The tabs of the ribbon - 
_appMenu
The App menu of the ribbon - 
_userMenu
The user menu elements of the ribbon - 
_dependencies
The dependencies of the ribbon 
 - 
 - 
Constructor Details
- 
RibbonConfiguration
public RibbonConfiguration() 
 - 
 - 
Method Details
- 
getTabs
Get the tabs for this configuration- Returns:
 - the tabs
 
 - 
setTabs
Set the tabs for this configuration- Parameters:
 tabs- The tabs
 - 
getAppMenu
Get the app menu for this configuration- Returns:
 - the appMenu
 
 - 
getUserMenu
Get the user menu for this configuration- Returns:
 - the userMenu
 
 - 
addDependency
Add a new ribbon dependency- Parameters:
 extensionPoint- The dependency extension pointextensionId- The dependency extension id
 - 
getDependencies
Get the list of dependencies- Returns:
 - The list of extensions id, mapped by extension point
 
 
 -