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, setValuecreateConfigurationItem, isDisabledpublic 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_CmsPreferenceThis is what is used to write the preference back to the workplace configuration.
getPropertyDefinition in class CmsBuiltinPreferenceCmsBuiltinPreference.getPropertyDefinition()public CmsXmlContentProperty getPropertyDefinition(CmsObject cms)
I_CmsPreferencegetPropertyDefinition in interface I_CmsPreferencegetPropertyDefinition in class A_CmsPreferencecms - the current CMS contextA_CmsPreference.getPropertyDefinition(org.opencms.file.CmsObject)