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
Nested ClassesModifier and TypeClassDescriptionstatic final classParameters for favorite dialog.static final classQuick launcher constants.static final class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringContext menu action id.static final StringContext menu action parameter dialog id.static final StringContext menu action id.static final StringContext menu action id.static final StringContext menu action id.static final StringContext menu action id.static final StringContext menu action id.static final StringAttribute for container id.static final StringJS property for accessing content editor locale from nested iframes.static final StringCollector data attribute name.static final StringContainer data attribute name.static final StringEditable data attribute name.static final StringElement data attribute name.static final StringContent field data attribute name.static final StringEntity id data attribute name.static final StringName for the attribute used to store list-add metadata.static final StringMarker attribute for dead links.static final StringKey for the element id attribute.static final Stringstatic final StringElement data to enable / disable the favorite button.static final StringKey for the page root path attribute.static final StringData URL for 'broken image' image.static final StringName of the Javascript callback used to handle property changes triggered from the locale compare view.static final StringJavascript function name for showing the locale compare view.static final StringThe CSS class name used for the DOM elements containing collector information.static final StringCSS class for containers inflated due to an element dragged into them that is of lower height than the empty container HTML.static final StringCSS class for elements in detail containers which are used to transfer their settings to the detail eleemnt.static final StringThe CSS class name for data elements which precede the direct editable elements.static final StringThe CSS class name for elements which end the direct editable elements.static final StringThe CSS class name for elements which mark elements to be skipped during direct edit.static final StringClass for dnd placeholders which are too big.static final StringName for configuration setting to limit collector results while computing publish lists for collectors.static final StringThe context type sitemap toolbar.static final StringThe context type containerpage toolbar.static final StringThe context type file table.static final StringThe context type sitemap toolbar.static final StringSpecial 'type' name (that isn't actually a type) used to mark default detail pages in the sitemap configuration.static final Stringstatic final StringA 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 StringSeparator 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 StringSub-path for the page unlock service.static final StringSub-path for the session update handler.static final StringThe settings widget name for hidden entries.static final StringElement id for locale comparison view.static final StringId of the element ussed to display the sitemap header from Vaadin code.static final StringJson field name for typograf locale passed to input widget.static final StringJson field name for enabling typograf, passed to input widget.static final StringField name for the internal textarea configuration.static final StringField name for the internal textarea configuration.static final StringSession storage key for memorizing the last opened container page.static final StringName of the Javascript callback used to open the locale comparison view.static final intThe maximum DND placeholder height.static final StringName of the meta tag used to set the editor stylesheet.static final StringParameter to pass detail id to page editor context menu actions.static final StringParameter for the button left position.static final StringParameter to disable direct edit.static final StringName of the request parameter used to store the redirect target after login.static final StringParameter to force a specific template context.static final StringMarker for the 'prefill' context menu action.static final StringName of property containing focal point for images.static final StringTab id for the preference dialog.static final StringTab id for the preference dialog.static final StringTab id for the preference dialog.static final StringTag name for the edit button bars injected into the page HTML in the container page editor.static final StringCustom tag for elements which were hidden because of mismatching device constraint.static final StringTag name for the list-add metadata injected into the page.static final StringAction placeholder for the template contexts menu option.static final StringType name for container pages.static final StringThe resource icon CSS class prefix.static final StringThe image resource type name.static final StringName for the pseudo-type 'modelgroup'.static final StringName for the pseudo-type 'modelgroupreuse'.static final StringName for the pseudo-type 'modelgrouppage'.static final StringName for the type 'modelpage'.static final StringName for the pseudo-type 'navlevel'.static final StringPart of the URL used to unlock files.static final StringName 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 StringMaximum 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_CONTENT_EDITOR_LOCALE
JS property for accessing content editor locale from nested iframes.- 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:
-
BROKEN_IMAGE
Data URL for 'broken image' image.- 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_HIDDEN_ELEMENT
Custom tag for elements which were hidden because of mismatching device constraint.- 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
-