public class CmsVfsModePropertyEditor extends A_CmsPropertyEditor
限定符和类型 | 字段和说明 |
---|---|
static int |
UPDATE_HEIGHT_INTERVAL
The interval used for updating the height.
|
FIELD_LINK, FIELD_URLNAME, m_allProps, m_disabledReason, m_form, m_handler, m_propertyConfig, m_urlNameField, m_urlNameModel
构造器和说明 |
---|
CmsVfsModePropertyEditor(java.util.Map<java.lang.String,CmsXmlContentProperty> propConfig,
I_CmsPropertyEditorHandler handler)
Creates a new sitemap entry editor instance for the VFS mode.
|
限定符和类型 | 方法和说明 |
---|---|
void |
buildFields()
Builds and renders the fields for the properties.
|
I_CmsFormWidget |
createFormWidget(java.lang.String key,
java.util.Map<java.lang.String,java.lang.String> widgetParams)
Creates a new form widget.
|
protected CmsPropertyPanel |
getPropertyPanel()
Returns the property panel.
|
protected void |
handleSwitchTab(int toTab)
Method which is called when the tab is switched.
|
void |
initializeWidgets(CmsPopup dialog)
Initializes the widgets for editing the properties.
|
void |
setReadOnly(boolean readonly)
Sets the "readonly" mode.
|
void |
setShowResourceProperties(boolean showResourceProperties)
Sets the "show resource properties" flag which controls whether the resource value fields should be built.
|
protected void |
setupFieldContainer()
Sets up the widget which will contain the input fields for the properties.
|
protected void |
updateHeight(CmsPopup dialog)
Updates the panel height depending on the content of the current tab.
|
addSpecialFields, checkWidgetRequirements, createUrlNameField, disableInput, getForm, getTitle, getUrlNameModel, message, setGhostValue, setPropertyNames, setUrlNameField, showUrlNameError
public static final int UPDATE_HEIGHT_INTERVAL
public CmsVfsModePropertyEditor(java.util.Map<java.lang.String,CmsXmlContentProperty> propConfig, I_CmsPropertyEditorHandler handler)
propConfig
- the property configurationhandler
- the sitemap entry editor handlerpublic void buildFields()
A_CmsPropertyEditor
buildFields
在类中 A_CmsPropertyEditor
A_CmsPropertyEditor.buildFields()
public I_CmsFormWidget createFormWidget(java.lang.String key, java.util.Map<java.lang.String,java.lang.String> widgetParams)
I_CmsFormWidgetMultiFactory
createFormWidget
在接口中 I_CmsFormWidgetMultiFactory
createFormWidget
在类中 A_CmsPropertyEditor
key
- the key identifying the widget typewidgetParams
- the widget initialization parametersA_CmsPropertyEditor.createFormWidget(java.lang.String, java.util.Map)
public void initializeWidgets(CmsPopup dialog)
A_CmsPropertyEditor
initializeWidgets
在类中 A_CmsPropertyEditor
dialog
- the dialog which the property editor is part ofA_CmsPropertyEditor.initializeWidgets(org.opencms.gwt.client.ui.CmsPopup)
public void setReadOnly(boolean readonly)
readonly
- if true, readonly mode will be enabledpublic void setShowResourceProperties(boolean showResourceProperties)
showResourceProperties
- if true, the resource value fields will be buildprotected CmsPropertyPanel getPropertyPanel()
protected void handleSwitchTab(int toTab)
toTab
- the tab to which the user is switchingprotected void setupFieldContainer()
A_CmsPropertyEditor
protected void updateHeight(CmsPopup dialog)
dialog
- the dialog for which the height should be updated