Package org.opencms.gwt.shared
Class CmsGwtConstants
- java.lang.Object
-
- org.opencms.gwt.shared.CmsGwtConstants
-
public final class CmsGwtConstants extends java.lang.Object
Common constants needed for client side code.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CmsGwtConstants.Favorites
Parameters for favorite dialog.static class
CmsGwtConstants.QuickLaunch
Quick launcher constants.static class
CmsGwtConstants.RpcContext
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACTION_EDITSMALLELEMENTS
Context menu action id.static java.lang.String
ACTION_PARAM_DIALOG_ID
Context menu action parameter dialog id.static java.lang.String
ACTION_SELECTELEMENTVIEW
Context menu action id.static java.lang.String
ACTION_SHOWLOCALE
Context menu action id.static java.lang.String
ACTION_TEMPLATECONTEXTS
Context menu action id.static java.lang.String
ACTION_TEMPLATECONTEXTS_ADVANCED
Context menu action id.static java.lang.String
ACTION_VIEW_ONLINE
Context menu action id.static java.lang.String
ATTR_CONTAINER_ID
Attribute for container id.static java.lang.String
ATTR_DATA_COLLECTOR
Collector data attribute name.static java.lang.String
ATTR_DATA_CONTAINER
Container data attribute name.static java.lang.String
ATTR_DATA_EDITABLE
Editable data attribute name.static java.lang.String
ATTR_DATA_ELEMENT
Element data attribute name.static java.lang.String
ATTR_DATA_FIELD
Content field data attribute name.static java.lang.String
ATTR_DATA_ID
Entity id data attribute name.static java.lang.String
ATTR_DATA_LISTADD
static java.lang.String
ATTR_ELEMENT_ID
Key for the element id attribute.static java.lang.String
ATTR_EXTENSIONS
static java.lang.String
ATTR_FAVORITE
Element data to enable / disable the favorite button.static java.lang.String
ATTR_PAGE_ROOT_PATH
Key for the page root path attribute.static java.lang.String
CALLBACK_HANDLE_CHANGED_PROPERTIES
Name of the Javascript callback used to handle property changes triggered from the locale compare view.static java.lang.String
CALLBACK_REFRESH_LOCALE_COMPARISON
Javascript function name for showing the locale compare view.static java.lang.String
CLASS_COLLECTOR_INFO
The CSS class name used for the DOM elements containing collector information.static java.lang.String
CLASS_CONTAINER_INFLATED
CSS class for containers inflated due to an element dragged into them that is of lower height than the empty container HTML.static java.lang.String
CLASS_DETAIL_PREVIEW
CSS class for elements in detail containers which are used to transfer their settings to the detail eleemnt.static java.lang.String
CLASS_EDITABLE
The CSS class name for data elements which precede the direct editable elements.static java.lang.String
CLASS_EDITABLE_END
The CSS class name for elements which end the direct editable elements.static java.lang.String
CLASS_EDITABLE_SKIP
The CSS class name for elements which mark elements to be skipped during direct edit.static java.lang.String
CLASS_PLACEHOLDER_TOO_BIG
Class for dnd placeholders which are too big.static java.lang.String
COLLECTOR_PUBLISH_LIST_LIMIT
Name for configuration setting to limit collector results while computing publish lists for collectors.static java.lang.String
CONTEXT_TYPE_APP_TOOLBAR
The context type sitemap toolbar.static java.lang.String
CONTEXT_TYPE_CONTAINERPAGE_TOOLBAR
The context type containerpage toolbar.static java.lang.String
CONTEXT_TYPE_FILE_TABLE
The context type file table.static java.lang.String
CONTEXT_TYPE_SITEMAP_TOOLBAR
The context type sitemap toolbar.static java.lang.String
DEFAULT_DETAILPAGE_TYPE
Special 'type' name (that isn't actually a type) used to mark default detail pages in the sitemap configuration.static java.lang.String
EDITOR_PAGE_ID
static java.lang.String
FORMATTER_RELOAD_MARKER
A HTML comment that will cause the container page editor to reload the page if it is contained in HTML which is reloaded after the element or its settings have been edited.static java.lang.String
FORMATTER_SUBKEY_SEPARATOR
Separator for separating the main part of a formatter key from the sub-key (the part in front of the separator will be used as a key if there is no formatter for the full key).static java.lang.String
HANDLER_UNLOCK_PAGE
Sub-path for the page unlock service.static java.lang.String
HANDLER_UPDATE_SESSION
Sub-path for the session update handler.static java.lang.String
HIDDEN_SETTINGS_WIDGET_NAME
The settings widget name for hidden entries.static java.lang.String
ID_LOCALE_COMPARISON
Element id for locale comparison view.static java.lang.String
ID_LOCALE_HEADER_CONTAINER
Id of the element ussed to display the sitemap header from Vaadin code.static java.lang.String
LAST_CONTAINER_PAGE_ID
Session storage key for memorizing the last opened container page.static java.lang.String
LOCALECOMPARE_EDIT_PROPERTIES
Name of the Javascript callback used to open the locale comparison view.static int
MAX_PLACEHOLDER_HEIGHT
The maximum DND placeholder height.static java.lang.String
META_EDITOR_STYLESHEET
Name of the meta tag used to set the editor stylesheet.static java.lang.String
PARAM_ADE_DETAIL_ID
Parameter to pass detail id to page editor context menu actions.static java.lang.String
PARAM_BUTTON_LEFT
Parameter for the button left position.static java.lang.String
PARAM_DISABLE_DIRECT_EDIT
Parameter to disable direct edit.static java.lang.String
PARAM_LOGIN_REDIRECT
Name of the request parameter used to store the redirect target after login.static java.lang.String
PARAM_TEMPLATE_CONTEXT
Parameter to force a specific template context.static java.lang.String
PREFILL_MENU_PLACEHOLDER
Marker for the 'prefill' context menu action.static java.lang.String
PROPERTY_IMAGE_FOCALPOINT
Name of property containing focal point for images.static java.lang.String
TAB_BASIC
Tab id for the preference dialog.static java.lang.String
TAB_EXTENDED
Tab id for the preference dialog.static java.lang.String
TAB_HIDDEN
Tab id for the preference dialog.static java.lang.String
TAG_OC_EDITPOINT
Tag name for the edit button bars injected into the page HTML in the container page editor.static java.lang.String
TEMPLATECONTEXT_MENU_PLACEHOLDER
Action placeholder for the template contexts menu option.static java.lang.String
TYPE_CONTAINERPAGE
Type name for container pages.static java.lang.String
TYPE_ICON_CLASS
The resource icon CSS class prefix.static java.lang.String
TYPE_IMAGE
The image resource type name.static java.lang.String
TYPE_MODELGROUP
Name for the pseudo-type 'modelgroup'.static java.lang.String
TYPE_MODELGROUP_COPY
Name for the pseudo-type 'modelgroupreuse'.static java.lang.String
TYPE_MODELGROUP_PAGE
Name for the pseudo-type 'modelgrouppage'.static java.lang.String
TYPE_MODELPAGE
Name for the type 'modelpage'.static java.lang.String
TYPE_NAVLEVEL
Name for the pseudo-type 'navlevel'.static java.lang.String
UNLOCK_FILE_PREFIX
Part of the URL used to unlock files.static java.lang.String
VAR_LOCALE_ROOT
Name of Javascript variable used to hold the structure id of the currently selected locale's root folder in the sitemap editor's locale comparison mode.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getPlaceholderMaxHeight()
Maximum DND placeholder height, as a string for stylesheets.
-
-
-
Field Detail
-
ACTION_EDITSMALLELEMENTS
public static final java.lang.String ACTION_EDITSMALLELEMENTS
Context menu action id.- See Also:
- Constant Field Values
-
ACTION_PARAM_DIALOG_ID
public static final java.lang.String ACTION_PARAM_DIALOG_ID
Context menu action parameter dialog id.- See Also:
- Constant Field Values
-
ACTION_SELECTELEMENTVIEW
public static final java.lang.String ACTION_SELECTELEMENTVIEW
Context menu action id.- See Also:
- Constant Field Values
-
ACTION_SHOWLOCALE
public static final java.lang.String ACTION_SHOWLOCALE
Context menu action id.- See Also:
- Constant Field Values
-
ACTION_TEMPLATECONTEXTS
public static final java.lang.String ACTION_TEMPLATECONTEXTS
Context menu action id.- See Also:
- Constant Field Values
-
ACTION_TEMPLATECONTEXTS_ADVANCED
public static final java.lang.String ACTION_TEMPLATECONTEXTS_ADVANCED
Context menu action id.- See Also:
- Constant Field Values
-
ACTION_VIEW_ONLINE
public static final java.lang.String ACTION_VIEW_ONLINE
Context menu action id.- See Also:
- Constant Field Values
-
ATTR_CONTAINER_ID
public static final java.lang.String ATTR_CONTAINER_ID
Attribute for container id.- See Also:
- Constant Field Values
-
ATTR_DATA_COLLECTOR
public static final java.lang.String ATTR_DATA_COLLECTOR
Collector data attribute name.- See Also:
- Constant Field Values
-
ATTR_DATA_CONTAINER
public static final java.lang.String ATTR_DATA_CONTAINER
Container data attribute name.- See Also:
- Constant Field Values
-
ATTR_DATA_EDITABLE
public static final java.lang.String ATTR_DATA_EDITABLE
Editable data attribute name.- See Also:
- Constant Field Values
-
ATTR_DATA_ELEMENT
public static final java.lang.String ATTR_DATA_ELEMENT
Element data attribute name.- See Also:
- Constant Field Values
-
ATTR_DATA_FIELD
public static final java.lang.String ATTR_DATA_FIELD
Content field data attribute name.- See Also:
- Constant Field Values
-
ATTR_DATA_ID
public static final java.lang.String ATTR_DATA_ID
Entity id data attribute name.- See Also:
- Constant Field Values
-
ATTR_DATA_LISTADD
public static final java.lang.String ATTR_DATA_LISTADD
- See Also:
- Constant Field Values
-
ATTR_ELEMENT_ID
public static final java.lang.String ATTR_ELEMENT_ID
Key for the element id attribute.- See Also:
- Constant Field Values
-
ATTR_EXTENSIONS
public static final java.lang.String ATTR_EXTENSIONS
- See Also:
- Constant Field Values
-
ATTR_FAVORITE
public static final java.lang.String ATTR_FAVORITE
Element data to enable / disable the favorite button.- See Also:
- Constant Field Values
-
ATTR_PAGE_ROOT_PATH
public static final java.lang.String ATTR_PAGE_ROOT_PATH
Key for the page root path attribute.- See Also:
- Constant Field Values
-
CALLBACK_HANDLE_CHANGED_PROPERTIES
public static final java.lang.String CALLBACK_HANDLE_CHANGED_PROPERTIES
Name of the Javascript callback used to handle property changes triggered from the locale compare view.- See Also:
- Constant Field Values
-
CALLBACK_REFRESH_LOCALE_COMPARISON
public static final java.lang.String CALLBACK_REFRESH_LOCALE_COMPARISON
Javascript function name for showing the locale compare view.- See Also:
- Constant Field Values
-
CLASS_COLLECTOR_INFO
public static final java.lang.String CLASS_COLLECTOR_INFO
The CSS class name used for the DOM elements containing collector information.- See Also:
- Constant Field Values
-
CLASS_CONTAINER_INFLATED
public static final java.lang.String CLASS_CONTAINER_INFLATED
CSS class for containers inflated due to an element dragged into them that is of lower height than the empty container HTML.- See Also:
- Constant Field Values
-
CLASS_DETAIL_PREVIEW
public static final java.lang.String CLASS_DETAIL_PREVIEW
CSS class for elements in detail containers which are used to transfer their settings to the detail eleemnt.- See Also:
- Constant Field Values
-
CLASS_EDITABLE
public static final java.lang.String CLASS_EDITABLE
The CSS class name for data elements which precede the direct editable elements.- See Also:
- Constant Field Values
-
CLASS_EDITABLE_END
public static final java.lang.String CLASS_EDITABLE_END
The CSS class name for elements which end the direct editable elements.- See Also:
- Constant Field Values
-
CLASS_EDITABLE_SKIP
public static final java.lang.String CLASS_EDITABLE_SKIP
The CSS class name for elements which mark elements to be skipped during direct edit.- See Also:
- Constant Field Values
-
CLASS_PLACEHOLDER_TOO_BIG
public static final java.lang.String CLASS_PLACEHOLDER_TOO_BIG
Class for dnd placeholders which are too big.- See Also:
- Constant Field Values
-
COLLECTOR_PUBLISH_LIST_LIMIT
public static final java.lang.String COLLECTOR_PUBLISH_LIST_LIMIT
Name for configuration setting to limit collector results while computing publish lists for collectors.- See Also:
- Constant Field Values
-
CONTEXT_TYPE_APP_TOOLBAR
public static final java.lang.String CONTEXT_TYPE_APP_TOOLBAR
The context type sitemap toolbar.- See Also:
- Constant Field Values
-
CONTEXT_TYPE_CONTAINERPAGE_TOOLBAR
public static final java.lang.String CONTEXT_TYPE_CONTAINERPAGE_TOOLBAR
The context type containerpage toolbar.- See Also:
- Constant Field Values
-
CONTEXT_TYPE_FILE_TABLE
public static final java.lang.String CONTEXT_TYPE_FILE_TABLE
The context type file table.- See Also:
- Constant Field Values
-
CONTEXT_TYPE_SITEMAP_TOOLBAR
public static final java.lang.String CONTEXT_TYPE_SITEMAP_TOOLBAR
The context type sitemap toolbar.- See Also:
- Constant Field Values
-
DEFAULT_DETAILPAGE_TYPE
public static final java.lang.String DEFAULT_DETAILPAGE_TYPE
Special 'type' name (that isn't actually a type) used to mark default detail pages in the sitemap configuration.- See Also:
- Constant Field Values
-
EDITOR_PAGE_ID
public static final java.lang.String EDITOR_PAGE_ID
- See Also:
- Constant Field Values
-
FORMATTER_RELOAD_MARKER
public static final java.lang.String FORMATTER_RELOAD_MARKER
A HTML comment that will cause the container page editor to reload the page if it is contained in HTML which is reloaded after the element or its settings have been edited.- See Also:
- Constant Field Values
-
FORMATTER_SUBKEY_SEPARATOR
public static final java.lang.String FORMATTER_SUBKEY_SEPARATOR
Separator for separating the main part of a formatter key from the sub-key (the part in front of the separator will be used as a key if there is no formatter for the full key).- See Also:
- Constant Field Values
-
HANDLER_UNLOCK_PAGE
public static final java.lang.String HANDLER_UNLOCK_PAGE
Sub-path for the page unlock service.- See Also:
- Constant Field Values
-
HANDLER_UPDATE_SESSION
public static final java.lang.String HANDLER_UPDATE_SESSION
Sub-path for the session update handler.- See Also:
- Constant Field Values
-
HIDDEN_SETTINGS_WIDGET_NAME
public static final java.lang.String HIDDEN_SETTINGS_WIDGET_NAME
The settings widget name for hidden entries.- See Also:
- Constant Field Values
-
ID_LOCALE_COMPARISON
public static final java.lang.String ID_LOCALE_COMPARISON
Element id for locale comparison view.- See Also:
- Constant Field Values
-
ID_LOCALE_HEADER_CONTAINER
public static final java.lang.String ID_LOCALE_HEADER_CONTAINER
Id of the element ussed to display the sitemap header from Vaadin code.- See Also:
- Constant Field Values
-
LAST_CONTAINER_PAGE_ID
public static final java.lang.String LAST_CONTAINER_PAGE_ID
Session storage key for memorizing the last opened container page.- See Also:
- Constant Field Values
-
LOCALECOMPARE_EDIT_PROPERTIES
public static final java.lang.String LOCALECOMPARE_EDIT_PROPERTIES
Name of the Javascript callback used to open the locale comparison view.- See Also:
- Constant Field Values
-
MAX_PLACEHOLDER_HEIGHT
public static final int MAX_PLACEHOLDER_HEIGHT
The maximum DND placeholder height.- See Also:
- Constant Field Values
-
META_EDITOR_STYLESHEET
public static final java.lang.String META_EDITOR_STYLESHEET
Name of the meta tag used to set the editor stylesheet.- See Also:
- Constant Field Values
-
PARAM_ADE_DETAIL_ID
public static final java.lang.String PARAM_ADE_DETAIL_ID
Parameter to pass detail id to page editor context menu actions.- See Also:
- Constant Field Values
-
PARAM_BUTTON_LEFT
public static final java.lang.String PARAM_BUTTON_LEFT
Parameter for the button left position.- See Also:
- Constant Field Values
-
PARAM_DISABLE_DIRECT_EDIT
public static final java.lang.String PARAM_DISABLE_DIRECT_EDIT
Parameter to disable direct edit.- See Also:
- Constant Field Values
-
PARAM_LOGIN_REDIRECT
public static final java.lang.String PARAM_LOGIN_REDIRECT
Name of the request parameter used to store the redirect target after login.- See Also:
- Constant Field Values
-
PARAM_TEMPLATE_CONTEXT
public static final java.lang.String PARAM_TEMPLATE_CONTEXT
Parameter to force a specific template context.- See Also:
- Constant Field Values
-
PREFILL_MENU_PLACEHOLDER
public static final java.lang.String PREFILL_MENU_PLACEHOLDER
Marker for the 'prefill' context menu action.- See Also:
- Constant Field Values
-
PROPERTY_IMAGE_FOCALPOINT
public static final java.lang.String PROPERTY_IMAGE_FOCALPOINT
Name of property containing focal point for images.- See Also:
- Constant Field Values
-
TAB_BASIC
public static final java.lang.String TAB_BASIC
Tab id for the preference dialog.- See Also:
- Constant Field Values
-
TAB_EXTENDED
public static final java.lang.String TAB_EXTENDED
Tab id for the preference dialog.- See Also:
- Constant Field Values
-
TAB_HIDDEN
public static final java.lang.String TAB_HIDDEN
Tab id for the preference dialog.- See Also:
- Constant Field Values
-
TAG_OC_EDITPOINT
public static final java.lang.String TAG_OC_EDITPOINT
Tag name for the edit button bars injected into the page HTML in the container page editor.- See Also:
- Constant Field Values
-
TEMPLATECONTEXT_MENU_PLACEHOLDER
public static final java.lang.String TEMPLATECONTEXT_MENU_PLACEHOLDER
Action placeholder for the template contexts menu option.- See Also:
- Constant Field Values
-
TYPE_CONTAINERPAGE
public static final java.lang.String TYPE_CONTAINERPAGE
Type name for container pages.- See Also:
- Constant Field Values
-
TYPE_ICON_CLASS
public static final java.lang.String TYPE_ICON_CLASS
The resource icon CSS class prefix.- See Also:
- Constant Field Values
-
TYPE_IMAGE
public static final java.lang.String TYPE_IMAGE
The image resource type name.- See Also:
- Constant Field Values
-
TYPE_MODELGROUP
public static final java.lang.String TYPE_MODELGROUP
Name for the pseudo-type 'modelgroup'.- See Also:
- Constant Field Values
-
TYPE_MODELGROUP_COPY
public static final java.lang.String TYPE_MODELGROUP_COPY
Name for the pseudo-type 'modelgroupreuse'.- See Also:
- Constant Field Values
-
TYPE_MODELGROUP_PAGE
public static final java.lang.String TYPE_MODELGROUP_PAGE
Name for the pseudo-type 'modelgrouppage'.- See Also:
- Constant Field Values
-
TYPE_MODELPAGE
public static final java.lang.String TYPE_MODELPAGE
Name for the type 'modelpage'.- See Also:
- Constant Field Values
-
TYPE_NAVLEVEL
public static final java.lang.String TYPE_NAVLEVEL
Name for the pseudo-type 'navlevel'.- See Also:
- Constant Field Values
-
UNLOCK_FILE_PREFIX
public static final java.lang.String UNLOCK_FILE_PREFIX
Part of the URL used to unlock files.- See Also:
- Constant Field Values
-
VAR_LOCALE_ROOT
public static final java.lang.String VAR_LOCALE_ROOT
Name of Javascript variable used to hold the structure id of the currently selected locale's root folder in the sitemap editor's locale comparison mode.- See Also:
- Constant Field Values
-
-
Method Detail
-
getPlaceholderMaxHeight
public static java.lang.String getPlaceholderMaxHeight()
Maximum DND placeholder height, as a string for stylesheets.- Returns:
- the maximum DND placeholder height as a string
-
-