public class CmsLanguagePreference extends CmsBuiltinPreference
CmsBuiltinPreference.SelectOptions
m_basic, m_hidden
Constructor and Description |
---|
CmsLanguagePreference(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.
|
getDefaultValue, getName, getTab, getValue, setValue
createConfigurationItem, isDisabled
public CmsLanguagePreference(java.lang.String name)
name
- the namepublic 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)