Class CmsMessageBundleEditorTypes
- java.lang.Object
-
- org.opencms.ui.editors.messagebundle.CmsMessageBundleEditorTypes
-
public final class CmsMessageBundleEditorTypes extends java.lang.Object
Types and helper classes used by the message bundle editor.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CmsMessageBundleEditorTypes.BundleType
Types of bundles editable by the Editor.static class
CmsMessageBundleEditorTypes.Descriptor
Helper for accessing Bundle descriptor XML contents.static class
CmsMessageBundleEditorTypes.TableProperty
The propertyIds of the table columns.
-
Field Summary
Fields Modifier and Type Field Description static int
OPTION_COLUMN_WIDTH
The width of the options column in pixel.static java.lang.String
OPTION_COLUMN_WIDTH_PX
The width of the options column in pixel.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsResource
getDescriptor(CmsObject cms, java.lang.String basename)
Returns the bundle descriptor for the bundle with the provided base name.
-
-
-
Field Detail
-
OPTION_COLUMN_WIDTH
public static final int OPTION_COLUMN_WIDTH
The width of the options column in pixel.- See Also:
- Constant Field Values
-
OPTION_COLUMN_WIDTH_PX
public static final java.lang.String OPTION_COLUMN_WIDTH_PX
The width of the options column in pixel.- See Also:
- Constant Field Values
-
-
Method Detail
-
getDescriptor
public static CmsResource getDescriptor(CmsObject cms, java.lang.String basename)
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.
-
-