Interface IPluginMenuEntries
- All Superinterfaces:
IFCPlugin,INamedUiElement,INameProviding,ITransferable,Serializable
Plugin for adding custom menu entries to the backend UI of formcycle. The menu entries will appear in the main menu
to the left. For example, you can use this to add a link to an external page, or use this together with a portal
plugin to add a custom page within formcycle.
- Author:
- XIMA MEDIA GmbH
-
Field Summary
Fields inherited from interface de.xima.fc.plugin.interfaces.IFCPlugin
CONFIG_FILENAMEFields inherited from interface de.xima.fc.interfaces.INamedUiElement
ATTR_DISPLAY_NAMEFields inherited from interface de.xima.fc.entities.interfaces.INameProviding
ATTR_NAME, COL_NAME -
Method Summary
Modifier and TypeMethodDescriptionThis method should return the menu entries to be added to formcycle.default StringThe sort key for the order of the menu entries.Methods inherited from interface de.xima.fc.plugin.interfaces.IFCPlugin
getDescription, getDescription, getDisplayName, getName, initialize, initPlugin, install, shutdown, shutdown, uninstall, validateConfigurationData
-
Method Details
-
getMenuEntries
This method should return the menu entries to be added to formcycle. Note that a menu entry may have children which are shown as a submenu. In that case, you should return only the parent entries.- Parameters:
params-IPluginMenuEntriesParamsParameters this plugin may make use of, such as the current client and user.- Returns:
CollectionofIPluginMenuEntrys The list of top-level (parent) menu entries to be added to formcycle.
-
getSortKey
The sort key for the order of the menu entries. When multiple menu entry plugins are available, the plugins are first sorted by this sort key; and the menu entries are then added in this order.The default implementation returns
IFCPlugin.getName().- Returns:
- The sort key for the order the menu entries in the backend menu.
-