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 enumTypes of bundles editable by the Editor.static final classHelper for accessing Bundle descriptor XML contents.static enumThe propertyIds of the table columns. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe width of the options column in pixel.static final StringThe width of the options column in pixel. -
Method Summary
Modifier and TypeMethodDescriptionstatic CmsResourcegetDescriptor(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-CmsObjectused for searching.basename- the bundle base name, for which the descriptor is searched.- Returns:
- the bundle descriptor, or
nullif it does not exist or searching fails.
-