Package org.opencms.gwt.shared
Class CmsGwtConstants
java.lang.Object
org.opencms.gwt.shared.CmsGwtConstants
Common constants needed for client side code.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final class
Parameters for favorite dialog.static final class
Quick launcher constants.static final class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Context menu action id.static final String
Context menu action parameter dialog id.static final String
Context menu action id.static final String
Context menu action id.static final String
Context menu action id.static final String
Context menu action id.static final String
Context menu action id.static final String
Attribute for container id.static final String
Collector data attribute name.static final String
Container data attribute name.static final String
Editable data attribute name.static final String
Element data attribute name.static final String
Content field data attribute name.static final String
Entity id data attribute name.static final String
Name for the attribute used to store list-add metadata.static final String
Marker attribute for dead links.static final String
Key for the element id attribute.static final String
static final String
Element data to enable / disable the favorite button.static final String
Key for the page root path attribute.static final String
Name of the Javascript callback used to handle property changes triggered from the locale compare view.static final String
Javascript function name for showing the locale compare view.static final String
The CSS class name used for the DOM elements containing collector information.static final String
CSS class for containers inflated due to an element dragged into them that is of lower height than the empty container HTML.static final String
CSS class for elements in detail containers which are used to transfer their settings to the detail eleemnt.static final String
The CSS class name for data elements which precede the direct editable elements.static final String
The CSS class name for elements which end the direct editable elements.static final String
The CSS class name for elements which mark elements to be skipped during direct edit.static final String
Class for dnd placeholders which are too big.static final String
Name for configuration setting to limit collector results while computing publish lists for collectors.static final String
The context type sitemap toolbar.static final String
The context type containerpage toolbar.static final String
The context type file table.static final String
The context type sitemap toolbar.static final String
Special 'type' name (that isn't actually a type) used to mark default detail pages in the sitemap configuration.static final String
static final String
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 final String
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 final String
Sub-path for the page unlock service.static final String
Sub-path for the session update handler.static final String
The settings widget name for hidden entries.static final String
Element id for locale comparison view.static final String
Id of the element ussed to display the sitemap header from Vaadin code.static final String
Json field name for typograf locale passed to input widget.static final String
Json field name for enabling typograf, passed to input widget.static final String
Field name for the internal textarea configuration.static final String
Field name for the internal textarea configuration.static final String
Session storage key for memorizing the last opened container page.static final String
Name of the Javascript callback used to open the locale comparison view.static final int
The maximum DND placeholder height.static final String
Name of the meta tag used to set the editor stylesheet.static final String
Parameter to pass detail id to page editor context menu actions.static final String
Parameter for the button left position.static final String
Parameter to disable direct edit.static final String
Name of the request parameter used to store the redirect target after login.static final String
Parameter to force a specific template context.static final String
Marker for the 'prefill' context menu action.static final String
Name of property containing focal point for images.static final String
Tab id for the preference dialog.static final String
Tab id for the preference dialog.static final String
Tab id for the preference dialog.static final String
Tag name for the edit button bars injected into the page HTML in the container page editor.static final String
Tag name for the list-add metadata injected into the page.static final String
Action placeholder for the template contexts menu option.static final String
Type name for container pages.static final String
The resource icon CSS class prefix.static final String
The image resource type name.static final String
Name for the pseudo-type 'modelgroup'.static final String
Name for the pseudo-type 'modelgroupreuse'.static final String
Name for the pseudo-type 'modelgrouppage'.static final String
Name for the type 'modelpage'.static final String
Name for the pseudo-type 'navlevel'.static final String
Part of the URL used to unlock files.static final String
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
Modifier and TypeMethodDescriptionstatic String
Maximum DND placeholder height, as a string for stylesheets.
-
Field Details
-
ACTION_EDITSMALLELEMENTS
Context menu action id.- See Also:
-
ACTION_PARAM_DIALOG_ID
Context menu action parameter dialog id.- See Also:
-
ACTION_SELECTELEMENTVIEW
Context menu action id.- See Also:
-
ACTION_SHOWLOCALE
Context menu action id.- See Also:
-
ACTION_TEMPLATECONTEXTS
Context menu action id.- See Also:
-
ACTION_TEMPLATECONTEXTS_ADVANCED
Context menu action id.- See Also:
-
ACTION_VIEW_ONLINE
Context menu action id.- See Also:
-
ATTR_CONTAINER_ID
Attribute for container id.- See Also:
-
ATTR_DATA_COLLECTOR
Collector data attribute name.- See Also:
-
ATTR_DATA_CONTAINER
Container data attribute name.- See Also:
-
ATTR_DATA_EDITABLE
Editable data attribute name.- See Also:
-
ATTR_DATA_ELEMENT
Element data attribute name.- See Also:
-
ATTR_DATA_FIELD
Content field data attribute name.- See Also:
-
ATTR_DATA_ID
Entity id data attribute name.- See Also:
-
ATTR_DATA_LISTADD
Name for the attribute used to store list-add metadata.- See Also:
-
ATTR_DEAD_LINK_MARKER
Marker attribute for dead links.- See Also:
-
ATTR_ELEMENT_ID
Key for the element id attribute.- See Also:
-
ATTR_EXTENSIONS
- See Also:
-
ATTR_FAVORITE
Element data to enable / disable the favorite button.- See Also:
-
ATTR_PAGE_ROOT_PATH
Key for the page root path attribute.- See Also:
-
CALLBACK_HANDLE_CHANGED_PROPERTIES
Name of the Javascript callback used to handle property changes triggered from the locale compare view.- See Also:
-
CALLBACK_REFRESH_LOCALE_COMPARISON
Javascript function name for showing the locale compare view.- See Also:
-
CLASS_COLLECTOR_INFO
The CSS class name used for the DOM elements containing collector information.- See Also:
-
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:
-
CLASS_DETAIL_PREVIEW
CSS class for elements in detail containers which are used to transfer their settings to the detail eleemnt.- See Also:
-
CLASS_EDITABLE
The CSS class name for data elements which precede the direct editable elements.- See Also:
-
CLASS_EDITABLE_END
The CSS class name for elements which end the direct editable elements.- See Also:
-
CLASS_EDITABLE_SKIP
The CSS class name for elements which mark elements to be skipped during direct edit.- See Also:
-
CLASS_PLACEHOLDER_TOO_BIG
Class for dnd placeholders which are too big.- See Also:
-
COLLECTOR_PUBLISH_LIST_LIMIT
Name for configuration setting to limit collector results while computing publish lists for collectors.- See Also:
-
CONTEXT_TYPE_APP_TOOLBAR
The context type sitemap toolbar.- See Also:
-
CONTEXT_TYPE_CONTAINERPAGE_TOOLBAR
The context type containerpage toolbar.- See Also:
-
CONTEXT_TYPE_FILE_TABLE
The context type file table.- See Also:
-
CONTEXT_TYPE_SITEMAP_TOOLBAR
The context type sitemap toolbar.- See Also:
-
DEFAULT_DETAILPAGE_TYPE
Special 'type' name (that isn't actually a type) used to mark default detail pages in the sitemap configuration.- See Also:
-
EDITOR_PAGE_ID
- See Also:
-
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:
-
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:
-
HANDLER_UNLOCK_PAGE
Sub-path for the page unlock service.- See Also:
-
HANDLER_UPDATE_SESSION
Sub-path for the session update handler.- See Also:
-
HIDDEN_SETTINGS_WIDGET_NAME
The settings widget name for hidden entries.- See Also:
-
ID_LOCALE_COMPARISON
Element id for locale comparison view.- See Also:
-
ID_LOCALE_HEADER_CONTAINER
Id of the element ussed to display the sitemap header from Vaadin code.- See Also:
-
JSON_INPUT_LOCALE
Json field name for typograf locale passed to input widget.- See Also:
-
JSON_INPUT_TYPOGRAF
Json field name for enabling typograf, passed to input widget.- See Also:
-
JSON_TEXTAREA_CONFIG
Field name for the internal textarea configuration.- See Also:
-
JSON_TEXTAREA_LOCALE
Field name for the internal textarea configuration.- See Also:
-
LAST_CONTAINER_PAGE_ID
Session storage key for memorizing the last opened container page.- See Also:
-
LOCALECOMPARE_EDIT_PROPERTIES
Name of the Javascript callback used to open the locale comparison view.- See Also:
-
MAX_PLACEHOLDER_HEIGHT
The maximum DND placeholder height.- See Also:
-
META_EDITOR_STYLESHEET
Name of the meta tag used to set the editor stylesheet.- See Also:
-
PARAM_ADE_DETAIL_ID
Parameter to pass detail id to page editor context menu actions.- See Also:
-
PARAM_BUTTON_LEFT
Parameter for the button left position.- See Also:
-
PARAM_DISABLE_DIRECT_EDIT
Parameter to disable direct edit.- See Also:
-
PARAM_LOGIN_REDIRECT
Name of the request parameter used to store the redirect target after login.- See Also:
-
PARAM_TEMPLATE_CONTEXT
Parameter to force a specific template context.- See Also:
-
PREFILL_MENU_PLACEHOLDER
Marker for the 'prefill' context menu action.- See Also:
-
PROPERTY_IMAGE_FOCALPOINT
Name of property containing focal point for images.- See Also:
-
TAB_BASIC
Tab id for the preference dialog.- See Also:
-
TAB_EXTENDED
Tab id for the preference dialog.- See Also:
-
TAB_HIDDEN
Tab id for the preference dialog.- See Also:
-
TAG_OC_EDITPOINT
Tag name for the edit button bars injected into the page HTML in the container page editor.- See Also:
-
TAG_OC_LISTADD
Tag name for the list-add metadata injected into the page.- See Also:
-
TEMPLATECONTEXT_MENU_PLACEHOLDER
Action placeholder for the template contexts menu option.- See Also:
-
TYPE_CONTAINERPAGE
Type name for container pages.- See Also:
-
TYPE_ICON_CLASS
The resource icon CSS class prefix.- See Also:
-
TYPE_IMAGE
The image resource type name.- See Also:
-
TYPE_MODELGROUP
Name for the pseudo-type 'modelgroup'.- See Also:
-
TYPE_MODELGROUP_COPY
Name for the pseudo-type 'modelgroupreuse'.- See Also:
-
TYPE_MODELGROUP_PAGE
Name for the pseudo-type 'modelgrouppage'.- See Also:
-
TYPE_MODELPAGE
Name for the type 'modelpage'.- See Also:
-
TYPE_NAVLEVEL
Name for the pseudo-type 'navlevel'.- See Also:
-
UNLOCK_FILE_PREFIX
Part of the URL used to unlock files.- See Also:
-
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:
-
-
Method Details
-
getPlaceholderMaxHeight
Maximum DND placeholder height, as a string for stylesheets.- Returns:
- the maximum DND placeholder height as a string
-