public class WidgetTypeConfigurationImpl extends Object implements WidgetTypeConfiguration
Constructor and Description |
---|
WidgetTypeConfigurationImpl() |
WidgetTypeConfigurationImpl(String sinceVersion,
String title,
String description,
String demoId,
boolean demoPreviewEnabled,
Map<String,Serializable> properties,
List<String> supportedModes,
boolean acceptingSubWidgets,
boolean list,
boolean complex,
List<String> supportedFieldTypes,
List<String> defaultFieldTypes,
List<FieldDefinition> defaultFieldDefinitions,
List<String> categories,
Map<String,List<LayoutDefinition>> propertyLayouts) |
Modifier and Type | Method and Description |
---|---|
List<String> |
getCategories() |
Map<String,Serializable> |
getConfProperties()
Returns configuration properties.
|
Serializable |
getConfProperty(String propName) |
List<FieldDefinition> |
getDefaultFieldDefinitions() |
List<String> |
getDefaultFieldTypes() |
String |
getDemoId()
Returns the identifier to be used for the demo, or null if no demo is
available.
|
String |
getDescription() |
Map<String,List<LayoutDefinition>> |
getPropertyLayouts() |
List<LayoutDefinition> |
getPropertyLayouts(String mode,
String additionalMode) |
String |
getSinceVersion() |
List<String> |
getSupportedFieldTypes() |
List<String> |
getSupportedModes() |
String |
getTitle() |
boolean |
isAcceptingSubWidgets() |
boolean |
isComplex() |
boolean |
isDemoPreviewEnabled()
Returns true is the preview is enabled on the demo.
|
boolean |
isList() |
public WidgetTypeConfigurationImpl()
public WidgetTypeConfigurationImpl(String sinceVersion, String title, String description, String demoId, boolean demoPreviewEnabled, Map<String,Serializable> properties, List<String> supportedModes, boolean acceptingSubWidgets, boolean list, boolean complex, List<String> supportedFieldTypes, List<String> defaultFieldTypes, List<FieldDefinition> defaultFieldDefinitions, List<String> categories, Map<String,List<LayoutDefinition>> propertyLayouts)
public String getSinceVersion()
getSinceVersion
in interface WidgetTypeConfiguration
public String getTitle()
getTitle
in interface WidgetTypeConfiguration
public String getDescription()
getDescription
in interface WidgetTypeConfiguration
public String getDemoId()
WidgetTypeConfiguration
getDemoId
in interface WidgetTypeConfiguration
public boolean isDemoPreviewEnabled()
WidgetTypeConfiguration
isDemoPreviewEnabled
in interface WidgetTypeConfiguration
public Map<String,Serializable> getConfProperties()
WidgetTypeConfiguration
getConfProperties
in interface WidgetTypeConfiguration
public Serializable getConfProperty(String propName)
getConfProperty
in interface WidgetTypeConfiguration
public List<String> getSupportedModes()
getSupportedModes
in interface WidgetTypeConfiguration
public boolean isAcceptingSubWidgets()
isAcceptingSubWidgets
in interface WidgetTypeConfiguration
public boolean isList()
isList
in interface WidgetTypeConfiguration
public boolean isComplex()
isComplex
in interface WidgetTypeConfiguration
public List<String> getSupportedFieldTypes()
getSupportedFieldTypes
in interface WidgetTypeConfiguration
public List<String> getDefaultFieldTypes()
getDefaultFieldTypes
in interface WidgetTypeConfiguration
public List<FieldDefinition> getDefaultFieldDefinitions()
getDefaultFieldDefinitions
in interface WidgetTypeConfiguration
public List<String> getCategories()
getCategories
in interface WidgetTypeConfiguration
public Map<String,List<LayoutDefinition>> getPropertyLayouts()
getPropertyLayouts
in interface WidgetTypeConfiguration
public List<LayoutDefinition> getPropertyLayouts(String mode, String additionalMode)
getPropertyLayouts
in interface WidgetTypeConfiguration
Copyright © 2011 Nuxeo SA. All Rights Reserved.