public interface IPluginMenuEntry
Modifier and Type | Interface and Description |
---|---|
static class |
IPluginMenuEntry.EPluginMenuTargetType
Enumeration of possible target types for a
IPluginMenuEntry . |
Modifier and Type | Method and Description |
---|---|
default boolean |
customIsRendered()
Custom method to extend the check for whether the menu entry should be available.
|
default Collection<IPluginMenuEntry> |
getChildEntries()
Getter for the child menu entries of this menu entry.
|
String |
getIcon()
Getter for the CSS class for the icon of this menu entry
|
default EAccessProperty[] |
getNeededAccessProperties()
Getter for an array of standard
EAccessProperty s which all have to be present on the
user's role for this menu entry to be shown. |
default IAccessProperty[] |
getNeededCustomAccessProperties()
Getter for a list of custom
IAccessProperty s which all have to be present on the user's
role for this menu entry to be shown. |
IPluginMenuEntry.EPluginMenuTargetType |
getTargetType()
Getter for the target type of the menu entry, see
IPluginMenuEntry.EPluginMenuTargetType . |
String |
getTargetURL()
Getter for the menu entry target URL or URI.
|
String |
getText(Locale locale)
Getter for the text to show in the menu entry.
|
default boolean |
isClientScopeOnly()
Getter for whether this menu entry should only be shown if a client is selected in the backend UI.
|
boolean |
isOpenNewWindow()
Getter for whether the target of the menu entry should be opened in a new window or tab
|
default boolean |
isShowOnSystemUser()
Getter for whether this menu entry should be shown when the system administrator is logged in.
|
String getIcon()
String
the CSS class for the iconString getTargetURL()
getTargetType()
:
IPluginMenuEntry.EPluginMenuTargetType.PARENT
: the target URL is ignored.IPluginMenuEntry.EPluginMenuTargetType.ABSOLUT
: an absolute URL or URI that can be opened in a browserIPluginMenuEntry.EPluginMenuTargetType.RELATIV
: a path relative to the current context path of the FORMCYCLE
applicationIPluginMenuEntry.EPluginMenuTargetType.PORTAL
: a path to an XHTML page of the plugin, relative to the top directory in
the JAR file of the pluginString
the menu entry target URL.boolean isOpenNewWindow()
Boolean
if the target should be opened in a new window or tabIPluginMenuEntry.EPluginMenuTargetType getTargetType()
IPluginMenuEntry.EPluginMenuTargetType
.IPluginMenuEntry.EPluginMenuTargetType
the target typedefault boolean isShowOnSystemUser()
Boolean
true
if this menu entry should be shown for the system administrator. Default:
false
.default boolean isClientScopeOnly()
Boolean
true
if the menu entry should only be shown if a client is selected in the backend
UI. Default: true
.default Collection<IPluginMenuEntry> getChildEntries()
Collection
of IPluginMenuEntry
s. Default: no child entries.default IAccessProperty[] getNeededCustomAccessProperties()
IAccessProperty
s which all have to be present on the user's
role for this menu entry to be shown.IAccessProperty
array. Default: empty array.default EAccessProperty[] getNeededAccessProperties()
EAccessProperty
s which all have to be present on the
user's role for this menu entry to be shown.EAccessProperty
array. Default: empty arraydefault boolean customIsRendered()
getNeededAccessProperties()
).Boolean
true
if this menu entry should be rendered. Default: false
.Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.