public class CmsWorkplaceModePreference extends CmsBuiltinPreference
CmsBuiltinPreference.SelectOptions| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PREFERENCE_NAME
The preference name.
|
static java.lang.String |
WIDGET_CONFIG
Widget configuration.
|
m_basic, m_hidden| Constructor and Description |
|---|
CmsWorkplaceModePreference(java.lang.String propName)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDefaultValue()
Gets the default value for the preference.
|
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.
|
boolean |
isDisabled(CmsObject cms)
Returns true if the preference is disabled.
|
getName, getTab, getValue, setValuecreateConfigurationItempublic static final java.lang.String PREFERENCE_NAME
public static final java.lang.String WIDGET_CONFIG
public CmsWorkplaceModePreference(java.lang.String propName)
propName - the name of the bean property used to access this preferencepublic java.lang.String getDefaultValue()
I_CmsPreferencegetDefaultValue in interface I_CmsPreferencegetDefaultValue in class CmsBuiltinPreferenceCmsBuiltinPreference.getDefaultValue()public 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)public boolean isDisabled(CmsObject cms)
I_CmsPreferenceisDisabled in interface I_CmsPreferenceisDisabled in class A_CmsPreferencecms - the current CMS contextA_CmsPreference.isDisabled(CmsObject)