Package org.opencms.ui.apps
Class CmsPageEditorConfiguration
java.lang.Object
org.opencms.ui.apps.A_CmsWorkplaceAppConfiguration
org.opencms.ui.apps.CmsPageEditorConfiguration
- All Implemented Interfaces:
I_CmsHasAppLaunchCommand,I_CmsHasOrder,I_CmsWorkplaceAppConfiguration
public class CmsPageEditorConfiguration
extends A_CmsWorkplaceAppConfiguration
implements I_CmsHasAppLaunchCommand
The page editor app configuration.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThe app id.static final CmsCssIconThe app icon resource (size 32x32).Fields inherited from interface org.opencms.ui.apps.I_CmsWorkplaceAppConfiguration
DEFAULT_PRIORIY -
Constructor Summary
Constructors -
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.The runnable to launch this app.getHelpText(Locale locale) Gets the help text for the app in the given locale.com.vaadin.server.ResourcegetIcon()Returns the app icon resource.getId()Returns the unique app id.Returns the display name of the app.intgetOrder()Gets an integer used to sort items.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, getPriority
-
Field Details
-
APP_ID
The app id.- See Also:
-
ICON
The app icon resource (size 32x32).
-
-
Constructor Details
-
CmsPageEditorConfiguration
public CmsPageEditorConfiguration()
-
-
Method Details
-
getAppCategory
Description copied from interface:I_CmsWorkplaceAppConfigurationGets the id of the app category in which this app should be displayed (null for the root category).- Specified by:
getAppCategoryin interfaceI_CmsWorkplaceAppConfiguration- Overrides:
getAppCategoryin classA_CmsWorkplaceAppConfiguration- Returns:
- the app category id
- See Also:
-
getAppInstance
Description copied from interface:I_CmsWorkplaceAppConfigurationReturns a new app instance.- Specified by:
getAppInstancein interfaceI_CmsWorkplaceAppConfiguration- Returns:
- a new app instance
- See Also:
-
getAppLaunchCommand
Description copied from interface:I_CmsHasAppLaunchCommandThe runnable to launch this app.- Specified by:
getAppLaunchCommandin interfaceI_CmsHasAppLaunchCommand- Returns:
- the app launch runnable
- See Also:
-
getHelpText
Description copied from interface:I_CmsWorkplaceAppConfigurationGets the help text for the app in the given locale.- Specified by:
getHelpTextin interfaceI_CmsWorkplaceAppConfiguration- Overrides:
getHelpTextin classA_CmsWorkplaceAppConfiguration- Parameters:
locale- the locale to use- Returns:
- the help text
- See Also:
-
getIcon
Description copied from interface:I_CmsWorkplaceAppConfigurationReturns the app icon resource.- Specified by:
getIconin interfaceI_CmsWorkplaceAppConfiguration- Returns:
- the icon resource
- See Also:
-
getId
Description copied from interface:I_CmsWorkplaceAppConfigurationReturns the unique app id.- Specified by:
getIdin interfaceI_CmsWorkplaceAppConfiguration- Returns:
- the app id
- See Also:
-
getName
Description copied from interface:I_CmsWorkplaceAppConfigurationReturns the display name of the app.- Specified by:
getNamein interfaceI_CmsWorkplaceAppConfiguration- Overrides:
getNamein classA_CmsWorkplaceAppConfiguration- Parameters:
locale- the user locale- Returns:
- the app name
- See Also:
-
getOrder
Description copied from interface:I_CmsHasOrderGets an integer used to sort items.- Specified by:
getOrderin interfaceI_CmsHasOrder- Overrides:
getOrderin classA_CmsWorkplaceAppConfiguration- Returns:
- the integer used as a sort key
- See Also:
-
getRequiredRole
Description copied from interface:I_CmsWorkplaceAppConfigurationReturns the user role required for this app.- Specified by:
getRequiredRolein interfaceI_CmsWorkplaceAppConfiguration- Overrides:
getRequiredRolein classA_CmsWorkplaceAppConfiguration- Returns:
- the required user role
- See Also:
-
getVisibility
Description copied from interface:I_CmsWorkplaceAppConfigurationReturns the visibility status of the app for the given user context.- Specified by:
getVisibilityin interfaceI_CmsWorkplaceAppConfiguration- Overrides:
getVisibilityin classA_CmsWorkplaceAppConfiguration- Parameters:
cms- the user context- Returns:
- the visibility status
- See Also:
-