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 classCmsGwtConstants.FavoritesParameters for favorite dialog.static classCmsGwtConstants.QuickLaunchQuick launcher constants.static classCmsGwtConstants.RpcContext
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringACTION_EDITSMALLELEMENTSContext menu action id.static java.lang.StringACTION_PARAM_DIALOG_IDContext menu action parameter dialog id.static java.lang.StringACTION_SELECTELEMENTVIEWContext menu action id.static java.lang.StringACTION_SHOWLOCALEContext menu action id.static java.lang.StringACTION_TEMPLATECONTEXTSContext menu action id.static java.lang.StringACTION_VIEW_ONLINEContext menu action id.static java.lang.StringATTR_CONTAINER_IDAttribute for container id.static java.lang.StringATTR_DATA_COLLECTORCollector data attribute name.static java.lang.StringATTR_DATA_CONTAINERContainer data attribute name.static java.lang.StringATTR_DATA_EDITABLEEditable data attribute name.static java.lang.StringATTR_DATA_ELEMENTElement data attribute name.static java.lang.StringATTR_DATA_FIELDContent field data attribute name.static java.lang.StringATTR_DATA_IDEntity id data attribute name.static java.lang.StringATTR_DATA_LISTADDstatic java.lang.StringATTR_ELEMENT_IDKey for the element id attribute.static java.lang.StringATTR_EXTENSIONSstatic java.lang.StringATTR_FAVORITEElement data to enable / disable the favorite button.static java.lang.StringATTR_PAGE_ROOT_PATHKey for the page root path attribute.static java.lang.StringCALLBACK_HANDLE_CHANGED_PROPERTIESName of the Javascript callback used to handle property changes triggered from the locale compare view.static java.lang.StringCALLBACK_REFRESH_LOCALE_COMPARISONJavascript function name for showing the locale compare view.static java.lang.StringCLASS_COLLECTOR_INFOThe CSS class name used for the DOM elements containing collector information.static java.lang.StringCLASS_CONTAINER_INFLATEDCSS class for containers inflated due to an element dragged into them that is of lower height than the empty container HTML.static java.lang.StringCLASS_DETAIL_PREVIEWCSS class for elements in detail containers which are used to transfer their settings to the detail eleemnt.static java.lang.StringCLASS_EDITABLEThe CSS class name for data elements which precede the direct editable elements.static java.lang.StringCLASS_EDITABLE_ENDThe CSS class name for elements which end the direct editable elements.static java.lang.StringCLASS_EDITABLE_SKIPThe CSS class name for elements which mark elements to be skipped during direct edit.static java.lang.StringCLASS_PLACEHOLDER_TOO_BIGClass for dnd placeholders which are too big.static java.lang.StringCOLLECTOR_PUBLISH_LIST_LIMITName for configuration setting to limit collector results while computing publish lists for collectors.static java.lang.StringCONTEXT_TYPE_APP_TOOLBARThe context type sitemap toolbar.static java.lang.StringCONTEXT_TYPE_CONTAINERPAGE_TOOLBARThe context type containerpage toolbar.static java.lang.StringCONTEXT_TYPE_FILE_TABLEThe context type file table.static java.lang.StringCONTEXT_TYPE_SITEMAP_TOOLBARThe context type sitemap toolbar.static java.lang.StringDEFAULT_DETAILPAGE_TYPESpecial 'type' name (that isn't actually a type) used to mark default detail pages in the sitemap configuration.static java.lang.StringEDITOR_PAGE_IDstatic java.lang.StringFORMATTER_RELOAD_MARKERA 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.StringFORMATTER_SUBKEY_SEPARATORSeparator 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.StringHANDLER_UNLOCK_PAGESub-path for the page unlock service.static java.lang.StringHANDLER_UPDATE_SESSIONSub-path for the session update handler.static java.lang.StringID_LOCALE_COMPARISONElement id for locale comparison view.static java.lang.StringID_LOCALE_HEADER_CONTAINERId of the element ussed to display the sitemap header from Vaadin code.static java.lang.StringLAST_CONTAINER_PAGE_IDSession storage key for memorizing the last opened container page.static java.lang.StringLOCALECOMPARE_EDIT_PROPERTIESName of the Javascript callback used to open the locale comparison view.static intMAX_PLACEHOLDER_HEIGHTThe maximum DND placeholder height.static java.lang.StringMETA_EDITOR_STYLESHEETName of the meta tag used to set the editor stylesheet.static java.lang.StringPARAM_BUTTON_LEFTParameter for the button left position.static java.lang.StringPARAM_DISABLE_DIRECT_EDITParameter to disable direct edit.static java.lang.StringPARAM_LOGIN_REDIRECTName of the request parameter used to store the redirect target after login.static java.lang.StringPARAM_TEMPLATE_CONTEXTParameter to force a specific template context.static java.lang.StringPROPERTY_IMAGE_FOCALPOINTName of property containing focal point for images.static java.lang.StringTAB_BASICTab id for the preference dialog.static java.lang.StringTAB_EXTENDEDTab id for the preference dialog.static java.lang.StringTAB_HIDDENTab id for the preference dialog.static java.lang.StringTYPE_CONTAINERPAGEType name for container pages.static java.lang.StringTYPE_ICON_CLASSThe resource icon CSS class prefix.static java.lang.StringTYPE_IMAGEThe image resource type name.static java.lang.StringTYPE_MODELGROUPName for the pseudo-type 'modelgroup'.static java.lang.StringTYPE_MODELGROUP_COPYName for the pseudo-type 'modelgroupreuse'.static java.lang.StringTYPE_MODELGROUP_PAGEName for the pseudo-type 'modelgrouppage'.static java.lang.StringTYPE_MODELPAGEName for the type 'modelpage'.static java.lang.StringTYPE_NAVLEVELName for the pseudo-type 'navlevel'.static java.lang.StringUNLOCK_FILE_PREFIXPart of the URL used to unlock files.static java.lang.StringVAR_LOCALE_ROOTName 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.StringgetPlaceholderMaxHeight()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_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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
-
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
-
-