Class CmsMessageBundleEditorTypes
java.lang.Object
org.opencms.ui.editors.messagebundle.CmsMessageBundleEditorTypes
Types and helper classes used by the message bundle editor.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Types of bundles editable by the Editor.static final class
Helper for accessing Bundle descriptor XML contents.static enum
The propertyIds of the table columns. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The width of the options column in pixel.static final String
The width of the options column in pixel. -
Method Summary
Modifier and TypeMethodDescriptionstatic CmsResource
getDescriptor
(CmsObject cms, String basename) Returns the bundle descriptor for the bundle with the provided base name.
-
Field Details
-
OPTION_COLUMN_WIDTH
The width of the options column in pixel.- See Also:
-
OPTION_COLUMN_WIDTH_PX
The width of the options column in pixel.- See Also:
-
-
Method Details
-
getDescriptor
Returns the bundle descriptor for the bundle with the provided base name.- Parameters:
cms
-CmsObject
used for searching.basename
- the bundle base name, for which the descriptor is searched.- Returns:
- the bundle descriptor, or
null
if it does not exist or searching fails.
-