public class CmsStartViewPreference extends CmsBuiltinPreference
CmsBuiltinPreference.SelectOptions
m_basic, m_hidden
Constructor and Description |
---|
CmsStartViewPreference(java.lang.String name)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
CmsXmlContentProperty |
getPropertyDefinition()
Gets the user-independent property configuration.
|
CmsXmlContentProperty |
getPropertyDefinition(CmsObject cms)
Gets the metadata describing how the setting should be edited.
|
static CmsBuiltinPreference.SelectOptions |
getViewSelectOptions(CmsObject cms,
java.lang.String value)
Gets the select options for the view selector.
|
getDefaultValue, getName, getTab, getValue, setValue
createConfigurationItem, isDisabled
public CmsStartViewPreference(java.lang.String name)
name
- the preference namepublic static CmsBuiltinPreference.SelectOptions getViewSelectOptions(CmsObject cms, java.lang.String value)
cms
- the CMS contextvalue
- the current valuepublic CmsXmlContentProperty getPropertyDefinition()
A_CmsPreference
This is what is used to write the preference back to the workplace configuration.
getPropertyDefinition
in class CmsBuiltinPreference
A_CmsPreference.getPropertyDefinition(org.opencms.file.CmsObject)
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)