public class SpaceIconPickerGenerator extends BaseComponentGenerator
BaseComponentGenerator.ControlType
dataDictionary
Constructor and Description |
---|
SpaceIconPickerGenerator() |
Modifier and Type | Method and Description |
---|---|
UIComponent |
generate(FacesContext context,
String id)
Dynamically generates a component in a default state
|
protected void |
setupProperty(FacesContext context,
UIPropertySheet propertySheet,
PropertySheetItem item,
org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDef,
UIComponent component)
Sets up the property component i.e.
|
addStringConstraintParam, createAndSetConverter, createComponent, createOutputTextComponent, generateAndAdd, getAssociationDefinition, getControlType, getPropertyDefinition, isEnabledInEditMode, setupAssociation, setupConstraints, setupConverter, setupConverter, setupMandatoryAssociationIfNecessary, setupMandatoryMarker, setupMandatoryPropertyIfNecessary, setupMandatoryValidation, setupMultiValuePropertyIfNecessary, setupNumericRangeConstraint, setupRegexConstraint, setupStringLengthConstraint
public UIComponent generate(FacesContext context, String id)
IComponentGenerator
context
- FacesContextid
- Optional id for the newly created component, if null
is passed a unique id is generatedprotected void setupProperty(FacesContext context, UIPropertySheet propertySheet, PropertySheetItem item, org.alfresco.service.cmr.dictionary.PropertyDefinition propertyDef, UIComponent component)
BaseComponentGenerator
setupProperty
in class BaseComponentGenerator
context
- FacesContextpropertySheet
- The property sheetitem
- The parent componentpropertyDef
- The property definitioncomponent
- The component representing the propertyCopyright © 2005–2017 Alfresco Software. All rights reserved.