public class CmsStartViewPreference extends CmsBuiltinPreference
CmsBuiltinPreference.SelectOptionsm_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.
|
boolean |
isDisabled(CmsObject cms)
Returns true if the preference is disabled.
|
getDefaultValue, getName, getTab, getValue, setValuecreateConfigurationItempublic 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_CmsPreferenceThis is what is used to write the preference back to the workplace configuration.
getPropertyDefinition in class CmsBuiltinPreferenceA_CmsPreference.getPropertyDefinition(org.opencms.file.CmsObject)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)public boolean isDisabled(CmsObject cms)
I_CmsPreferenceisDisabled in interface I_CmsPreferenceisDisabled in class A_CmsPreferencecms - the current CMS contextA_CmsPreference.isDisabled(org.opencms.file.CmsObject)