public class CmsElementViewPreference extends CmsBuiltinPreference
CmsBuiltinPreference.SelectOptions
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
EXPLORER_PREFERENCE_NAME
Preference name for the explorer.
|
static java.lang.String |
PREFERENCE_NAME
The preference name.
|
m_basic, m_hidden
Constructor and Description |
---|
CmsElementViewPreference(java.lang.String propName)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getNiceName()
Gets the nice name key.
|
CmsXmlContentProperty |
getPropertyDefinition()
Gets the user-independent property configuration.
|
CmsXmlContentProperty |
getPropertyDefinition(CmsObject cms)
Gets the metadata describing how the setting should be edited.
|
getDefaultValue, getName, getTab, getValue, setValue
createConfigurationItem, isDisabled
public static final java.lang.String PREFERENCE_NAME
public static final java.lang.String EXPLORER_PREFERENCE_NAME
public CmsElementViewPreference(java.lang.String propName)
propName
- the name of the bean property used to access this preferencepublic java.lang.String getNiceName()
public CmsXmlContentProperty getPropertyDefinition()
A_CmsPreference
This is what is used to write the preference back to the workplace configuration.
getPropertyDefinition
in class CmsBuiltinPreference
CmsBuiltinPreference.getPropertyDefinition()
public CmsXmlContentProperty getPropertyDefinition(CmsObject cms)
I_CmsPreference
getPropertyDefinition
in interface I_CmsPreference
getPropertyDefinition
in class A_CmsPreference
cms
- the current CMS contextA_CmsPreference.getPropertyDefinition(org.opencms.file.CmsObject)