Class CmsElementViewPreference
java.lang.Object
org.opencms.configuration.preferences.A_CmsPreference
org.opencms.configuration.preferences.CmsBuiltinPreference
org.opencms.configuration.preferences.CmsElementViewPreference
- All Implemented Interfaces:
I_CmsPreference
- Direct Known Subclasses:
CmsExplorerElementViewPreference
Element view preference configuration.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.opencms.configuration.preferences.CmsBuiltinPreference
CmsBuiltinPreference.SelectOptions -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringPreference name for the explorer.static final StringThe preference name.Fields inherited from class org.opencms.configuration.preferences.CmsBuiltinPreference
m_basic, m_hidden -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the nice name key.Gets the user-independent property configuration.Gets the metadata describing how the setting should be edited.Methods inherited from class org.opencms.configuration.preferences.CmsBuiltinPreference
getDefaultValue, getName, getTab, getValue, setValueMethods inherited from class org.opencms.configuration.preferences.A_CmsPreference
createConfigurationItem, isDisabled
-
Field Details
-
PREFERENCE_NAME
The preference name.- See Also:
-
EXPLORER_PREFERENCE_NAME
Preference name for the explorer.- See Also:
-
-
Constructor Details
-
CmsElementViewPreference
Constructor.- Parameters:
propName- the name of the bean property used to access this preference
-
-
Method Details
-
getNiceName
Gets the nice name key.- Returns:
- the nice name key
-
getPropertyDefinition
Description copied from class:A_CmsPreferenceGets the user-independent property configuration.This is what is used to write the preference back to the workplace configuration.
- Overrides:
getPropertyDefinitionin classCmsBuiltinPreference- Returns:
- the property configuration
- See Also:
-
getPropertyDefinition
Description copied from interface:I_CmsPreferenceGets the metadata describing how the setting should be edited.- Specified by:
getPropertyDefinitionin interfaceI_CmsPreference- Overrides:
getPropertyDefinitionin classA_CmsPreference- Parameters:
cms- the current CMS context- Returns:
- the metadata for the client which describes how the setting should be edited
- See Also:
-