Modifier and Type | Method and Description |
---|---|
WidgetDefinition |
WidgetDefinition.clone()
Returns a clone instance of this widget definition.
|
WidgetDefinition[] |
WidgetDefinition.getSubWidgetDefinitions()
Returns sub widget definitions.
|
WidgetDefinition |
LayoutDefinition.getWidgetDefinition(String name)
Returns the widget definition with given name.
|
Modifier and Type | Method and Description |
---|---|
void |
WidgetDefinition.setSubWidgetDefinitions(WidgetDefinition[] subWidgets) |
Modifier and Type | Method and Description |
---|---|
WidgetDefinition |
WidgetDefinitionConverter.getWidgetDefinition(WidgetDefinition orig,
LayoutConversionContext ctx)
Returns the original widget definition, or a clone if it needs to be
changed.
|
Modifier and Type | Method and Description |
---|---|
WidgetDefinition |
WidgetDefinitionConverter.getWidgetDefinition(WidgetDefinition orig,
LayoutConversionContext ctx)
Returns the original widget definition, or a clone if it needs to be
changed.
|
Modifier and Type | Class and Description |
---|---|
class |
WidgetDefinitionImpl
Default implementation for a widget definition.
|
Modifier and Type | Method and Description |
---|---|
WidgetDefinition |
WidgetDefinitionImpl.clone() |
WidgetDefinition[] |
WidgetDefinitionImpl.getSubWidgetDefinitions() |
WidgetDefinition |
LayoutDefinitionImpl.getWidgetDefinition(String name) |
Modifier and Type | Method and Description |
---|---|
void |
WidgetDefinitionImpl.setSubWidgetDefinitions(WidgetDefinition[] subWidgets) |
Constructor and Description |
---|
LayoutDefinitionImpl(String name,
String template,
WidgetDefinition widgetDefinition) |
WidgetDefinitionImpl(String name,
String type,
Map<String,String> labels,
Map<String,String> helpLabels,
boolean translated,
Map<String,String> modes,
FieldDefinition[] fieldDefinitions,
Map<String,Map<String,Serializable>> properties,
Map<String,Map<String,Serializable>> widgetModeProperties,
WidgetDefinition[] subWidgets) |
WidgetDefinitionImpl(String name,
String type,
Map<String,String> labels,
Map<String,String> helpLabels,
boolean translated,
Map<String,String> modes,
FieldDefinition[] fieldDefinitions,
Map<String,Map<String,Serializable>> properties,
Map<String,Map<String,Serializable>> widgetModeProperties,
WidgetDefinition[] subWidgets,
WidgetSelectOption[] selectOptions) |
Modifier and Type | Method and Description |
---|---|
WidgetDefinition |
LayoutManager.getWidgetDefinition(String widgetName)
Returns the registered widget definition for this name.
|
WidgetDefinition |
LayoutStore.getWidgetDefinition(String category,
String widgetName)
Returns the registered widget definition for this name.
|
Modifier and Type | Method and Description |
---|---|
void |
LayoutStore.registerWidget(String category,
WidgetDefinition widgetDef) |
void |
LayoutStore.unregisterWidget(String category,
WidgetDefinition widgetDef) |
Modifier and Type | Method and Description |
---|---|
WidgetDefinition |
WidgetDefinitionRegistry.clone(WidgetDefinition orig) |
WidgetDefinition |
WidgetDefinitionRegistry.getWidgetDefinition(String id) |
Modifier and Type | Method and Description |
---|---|
WidgetDefinition |
WidgetDefinitionRegistry.clone(WidgetDefinition orig) |
void |
WidgetDefinitionRegistry.contributionRemoved(String id,
WidgetDefinition origContrib) |
void |
WidgetDefinitionRegistry.contributionUpdated(String id,
WidgetDefinition contrib,
WidgetDefinition newOrigContrib) |
String |
WidgetDefinitionRegistry.getContributionId(WidgetDefinition contrib) |
void |
WidgetDefinitionRegistry.merge(WidgetDefinition src,
WidgetDefinition dst) |
Modifier and Type | Method and Description |
---|---|
WidgetDefinition |
AbstractLayoutManager.getWidgetDefinition(String widgetName) |
WidgetDefinition |
LayoutStoreImpl.getWidgetDefinition(String category,
String widgetName) |
Modifier and Type | Method and Description |
---|---|
void |
LayoutStoreImpl.registerWidget(String category,
WidgetDefinition widgetDef) |
void |
LayoutStoreImpl.unregisterWidget(String category,
WidgetDefinition widgetDef) |
Modifier and Type | Method and Description |
---|---|
WidgetDefinition[] |
WidgetDescriptor.getSubWidgetDefinitions() |
WidgetDefinition |
WidgetDescriptor.getWidgetDefinition() |
WidgetDefinition |
LayoutDescriptor.getWidgetDefinition(String name) |
Modifier and Type | Method and Description |
---|---|
static String |
LayoutFunctions.computeWidgetDefinitionId(WidgetDefinition widgetDef)
Returns an identifier computed from this definition so that an identical
definition will have the same id.
|
Modifier and Type | Method and Description |
---|---|
static WidgetDefinition |
JSONLayoutExporter.importWidgetDefinition(net.sf.json.JSONObject widgetDef) |
Modifier and Type | Method and Description |
---|---|
static net.sf.json.JSONObject |
JSONLayoutExporter.exportToJson(WidgetDefinition widgetDef,
LayoutConversionContext ctx,
List<WidgetDefinitionConverter> widgetConverters) |
Modifier and Type | Method and Description |
---|---|
WidgetDefinition |
WidgetLabeli18nConverter.getWidgetDefinition(WidgetDefinition orig,
LayoutConversionContext ctx) |
WidgetDefinition |
WidgetDirectoryItemsConverter.getWidgetDefinition(WidgetDefinition widgetDef,
LayoutConversionContext ctx) |
WidgetDefinition |
AbstractChainedVocabularyWidgetConverter.getWidgetDefinition(WidgetDefinition widgetDef,
LayoutConversionContext ctx) |
Modifier and Type | Method and Description |
---|---|
WidgetDefinition |
WidgetLabeli18nConverter.getWidgetDefinition(WidgetDefinition orig,
LayoutConversionContext ctx) |
WidgetDefinition |
WidgetDirectoryItemsConverter.getWidgetDefinition(WidgetDefinition widgetDef,
LayoutConversionContext ctx) |
WidgetDefinition |
AbstractChainedVocabularyWidgetConverter.getWidgetDefinition(WidgetDefinition widgetDef,
LayoutConversionContext ctx) |
Copyright © 2011 Nuxeo SA. All Rights Reserved.