Class RibbonConfiguration
java.lang.Object
org.ametys.core.ui.ribbonconfiguration.RibbonConfiguration
A ribbon configuration, with tab, user and app menus
-
Field Summary
Modifier and TypeFieldDescriptionprotected RibbonMenu
The App menu of the ribbonThe dependencies of the ribbonprotected LinkedList<Tab>
The tabs of the ribbonprotected RibbonMenu
The user menu elements of the ribbon -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addDependency
(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 configurationvoid
setTabs
(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
-