Package org.opencms.ui.apps
Class CmsEditorConfiguration
java.lang.Object
org.opencms.ui.apps.A_CmsWorkplaceAppConfiguration
org.opencms.ui.apps.CmsEditorConfiguration
- All Implemented Interfaces:
I_CmsHasOrder
,I_CmsWorkplaceAppConfiguration
The editor app configuration.
-
Field Summary
Fields inherited from interface org.opencms.ui.apps.I_CmsWorkplaceAppConfiguration
DEFAULT_PRIORIY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the id of the app category in which this app should be displayed (null for the root category).Returns a new app instance.com.vaadin.server.Resource
getIcon()
Returns the app icon resource.getId()
Returns the unique app id.Returns the display name of the app.Returns the user role required for this app.getVisibility
(CmsObject cms) Returns the visibility status of the app for the given user context.Methods inherited from class org.opencms.ui.apps.A_CmsWorkplaceAppConfiguration
getButtonStyle, getHelpText, getOrder, getPriority
-
Field Details
-
APP_ID
The app id.- See Also:
-
-
Constructor Details
-
CmsEditorConfiguration
public CmsEditorConfiguration()
-
-
Method Details
-
getAppCategory
Description copied from interface:I_CmsWorkplaceAppConfiguration
Gets the id of the app category in which this app should be displayed (null for the root category).- Specified by:
getAppCategory
in interfaceI_CmsWorkplaceAppConfiguration
- Overrides:
getAppCategory
in classA_CmsWorkplaceAppConfiguration
- Returns:
- the app category id
- See Also:
-
getAppInstance
Description copied from interface:I_CmsWorkplaceAppConfiguration
Returns a new app instance.- Returns:
- a new app instance
- See Also:
-
getIcon
Description copied from interface:I_CmsWorkplaceAppConfiguration
Returns the app icon resource.- Returns:
- the icon resource
- See Also:
-
getId
Description copied from interface:I_CmsWorkplaceAppConfiguration
Returns the unique app id.- Returns:
- the app id
- See Also:
-
getName
Description copied from interface:I_CmsWorkplaceAppConfiguration
Returns the display name of the app.- Specified by:
getName
in interfaceI_CmsWorkplaceAppConfiguration
- Overrides:
getName
in classA_CmsWorkplaceAppConfiguration
- Parameters:
locale
- the user locale- Returns:
- the app name
- See Also:
-
getRequiredRole
Description copied from interface:I_CmsWorkplaceAppConfiguration
Returns the user role required for this app.- Specified by:
getRequiredRole
in interfaceI_CmsWorkplaceAppConfiguration
- Overrides:
getRequiredRole
in classA_CmsWorkplaceAppConfiguration
- Returns:
- the required user role
- See Also:
-
getVisibility
Description copied from interface:I_CmsWorkplaceAppConfiguration
Returns the visibility status of the app for the given user context.- Specified by:
getVisibility
in interfaceI_CmsWorkplaceAppConfiguration
- Overrides:
getVisibility
in classA_CmsWorkplaceAppConfiguration
- Parameters:
cms
- the user context- Returns:
- the visibility status
- See Also:
-