Class CmsUploadPropertyEditor
- java.lang.Object
-
- org.opencms.gwt.client.property.A_CmsPropertyEditor
-
- org.opencms.gwt.client.property.CmsSimplePropertyEditor
-
- org.opencms.ade.postupload.client.ui.CmsUploadPropertyEditor
-
- All Implemented Interfaces:
I_CmsFormWidgetMultiFactory
public class CmsUploadPropertyEditor extends CmsSimplePropertyEditor
A property editor for the upload property dialog.
-
-
Field Summary
-
Fields inherited from class org.opencms.gwt.client.property.A_CmsPropertyEditor
FIELD_LINK, FIELD_URLNAME, m_allProps, m_disabledReason, m_form, m_handler, m_nameOnlyDisabled, m_propertyConfig, m_urlNameField, m_urlNameModel
-
-
Constructor Summary
Constructors Constructor Description CmsUploadPropertyEditor(java.util.Map<java.lang.String,org.opencms.xml.content.CmsXmlContentProperty> propConfig, I_CmsPropertyEditorHandler handler)
Creates a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
isAlwaysAllowEmpty(java.lang.String name)
Checks whether an empty string should always be allowed for the property, regardless of validation settings.protected void
setupFieldContainer()
Sets up the widget which will contain the input fields for the properties.-
Methods inherited from class org.opencms.gwt.client.property.CmsSimplePropertyEditor
addSpecialFields, buildFields
-
Methods inherited from class org.opencms.gwt.client.property.A_CmsPropertyEditor
checkWidgetRequirements, createFormWidget, createUrlNameField, disableInput, getForm, getTitle, getUrlNameModel, initializeWidgets, message, setGhostValue, setPropertyNames, setUrlNameField, showUrlNameError
-
-
-
-
Constructor Detail
-
CmsUploadPropertyEditor
public CmsUploadPropertyEditor(java.util.Map<java.lang.String,org.opencms.xml.content.CmsXmlContentProperty> propConfig, I_CmsPropertyEditorHandler handler)
Creates a new instance.- Parameters:
propConfig
- the property configurationhandler
- the property editor handler to use
-
-
Method Detail
-
isAlwaysAllowEmpty
protected boolean isAlwaysAllowEmpty(java.lang.String name)
Description copied from class:CmsSimplePropertyEditor
Checks whether an empty string should always be allowed for the property, regardless of validation settings.- Overrides:
isAlwaysAllowEmpty
in classCmsSimplePropertyEditor
- Parameters:
name
- the property name- Returns:
- true if the empty string should always be allowed
- See Also:
CmsSimplePropertyEditor.isAlwaysAllowEmpty(java.lang.String)
-
setupFieldContainer
protected void setupFieldContainer()
Description copied from class:A_CmsPropertyEditor
Sets up the widget which will contain the input fields for the properties.- Overrides:
setupFieldContainer
in classCmsSimplePropertyEditor
- See Also:
CmsSimplePropertyEditor.setupFieldContainer()
-
-