Modifier and Type | Method and Description |
---|---|
LayoutDefinition |
DiffDisplayBlock.getLayoutDefinition() |
Modifier and Type | Method and Description |
---|---|
void |
DiffDisplayBlock.setLayoutDefinition(LayoutDefinition layoutDefinition) |
Modifier and Type | Field and Description |
---|---|
protected LayoutDefinition |
DiffDisplayBlockImpl.layoutDefinition |
Modifier and Type | Method and Description |
---|---|
LayoutDefinition |
DiffDisplayBlockImpl.getLayoutDefinition() |
Modifier and Type | Method and Description |
---|---|
void |
DiffDisplayBlockImpl.setLayoutDefinition(LayoutDefinition layoutDefinition) |
Constructor and Description |
---|
DiffDisplayBlockImpl(String label,
Map<String,Map<String,PropertyDiffDisplay>> leftValue,
Map<String,Map<String,PropertyDiffDisplay>> rightValue,
Map<String,Map<String,PropertyDiffDisplay>> contentDiffValue,
LayoutDefinition layoutDefinition) |
Modifier and Type | Method and Description |
---|---|
LayoutDefinition |
LayoutDefinition.clone()
Returns a clone instance of this layout definition.
|
LayoutDefinition |
Layout.getDefinition()
Returns the definition from which this layout instance was generated.
|
Modifier and Type | Method and Description |
---|---|
Map<String,List<LayoutDefinition>> |
WidgetTypeConfiguration.getFieldLayouts()
Returns the map of field layouts per mode.
|
List<LayoutDefinition> |
WidgetTypeConfiguration.getFieldLayouts(String mode,
String additionalMode)
Returns the list of layouts for given mode and additional modes.
|
Map<String,List<LayoutDefinition>> |
WidgetTypeConfiguration.getPropertyLayouts() |
Map<String,List<LayoutDefinition>> |
LayoutTypeConfiguration.getPropertyLayouts() |
List<LayoutDefinition> |
WidgetTypeConfiguration.getPropertyLayouts(String mode,
String additionalMode) |
List<LayoutDefinition> |
LayoutTypeConfiguration.getPropertyLayouts(String mode,
String additionalMode) |
Modifier and Type | Method and Description |
---|---|
protected LayoutDefinition |
AbstractLayoutDefinitionConverter.getClonedLayout(LayoutDefinition layout) |
LayoutDefinition |
LayoutDefinitionConverter.getLayoutDefinition(LayoutDefinition orig,
LayoutConversionContext ctx)
Returns the original layout definition, or a clone if it needs to be changed.
|
Modifier and Type | Method and Description |
---|---|
protected LayoutDefinition |
AbstractLayoutDefinitionConverter.getClonedLayout(LayoutDefinition layout) |
LayoutDefinition |
LayoutDefinitionConverter.getLayoutDefinition(LayoutDefinition orig,
LayoutConversionContext ctx)
Returns the original layout definition, or a clone if it needs to be changed.
|
Modifier and Type | Class and Description |
---|---|
class |
LayoutDefinitionImpl
Default implementation for a layout definition.
|
Modifier and Type | Field and Description |
---|---|
protected LayoutDefinition |
LayoutImpl.definition |
Modifier and Type | Field and Description |
---|---|
protected Map<String,List<LayoutDefinition>> |
WidgetTypeConfigurationImpl.fieldLayouts |
protected Map<String,List<LayoutDefinition>> |
LayoutTypeConfigurationImpl.fieldLayouts |
protected Map<String,List<LayoutDefinition>> |
WidgetTypeConfigurationImpl.propertyLayouts |
protected Map<String,List<LayoutDefinition>> |
LayoutTypeConfigurationImpl.propertyLayouts |
Modifier and Type | Method and Description |
---|---|
LayoutDefinition |
LayoutDefinitionImpl.clone() |
LayoutDefinition |
LayoutImpl.getDefinition() |
Modifier and Type | Method and Description |
---|---|
Map<String,List<LayoutDefinition>> |
WidgetTypeConfigurationImpl.getFieldLayouts() |
List<LayoutDefinition> |
WidgetTypeConfigurationImpl.getFieldLayouts(String mode,
String additionalMode) |
List<LayoutDefinition> |
WidgetTypeConfigurationImpl.getLayouts(Map<String,List<LayoutDefinition>> allLayouts,
String mode,
String additionalMode) |
protected List<LayoutDefinition> |
LayoutTypeConfigurationImpl.getLayouts(Map<String,List<LayoutDefinition>> allLayouts,
String mode,
String additionalMode) |
Map<String,List<LayoutDefinition>> |
WidgetTypeConfigurationImpl.getPropertyLayouts() |
Map<String,List<LayoutDefinition>> |
LayoutTypeConfigurationImpl.getPropertyLayouts() |
List<LayoutDefinition> |
WidgetTypeConfigurationImpl.getPropertyLayouts(String mode,
String additionalMode) |
List<LayoutDefinition> |
LayoutTypeConfigurationImpl.getPropertyLayouts(String mode,
String additionalMode) |
Modifier and Type | Method and Description |
---|---|
void |
LayoutImpl.setDefinition(LayoutDefinition definition) |
Modifier and Type | Method and Description |
---|---|
List<LayoutDefinition> |
WidgetTypeConfigurationImpl.getLayouts(Map<String,List<LayoutDefinition>> allLayouts,
String mode,
String additionalMode) |
protected List<LayoutDefinition> |
LayoutTypeConfigurationImpl.getLayouts(Map<String,List<LayoutDefinition>> allLayouts,
String mode,
String additionalMode) |
void |
WidgetTypeConfigurationImpl.setFieldLayouts(Map<String,List<LayoutDefinition>> fieldLayouts) |
void |
WidgetTypeConfigurationImpl.setPropertyLayouts(Map<String,List<LayoutDefinition>> propertyLayouts) |
void |
LayoutTypeConfigurationImpl.setPropertyLayouts(Map<String,List<LayoutDefinition>> propertyLayouts) |
Constructor and Description |
---|
WidgetTypeConfigurationImpl(String sinceVersion,
String title,
String description,
String demoId,
boolean demoPreviewEnabled,
Map<String,Serializable> properties,
List<String> supportedModes,
boolean acceptingSubWidgets,
boolean list,
boolean complex,
boolean containingForm,
List<String> supportedFieldTypes,
List<String> defaultFieldTypes,
List<FieldDefinition> defaultFieldDefinitions,
List<String> categories,
Map<String,List<LayoutDefinition>> propertyLayouts)
Deprecated.
since 5.6: use setters instead
|
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)
Deprecated.
since 5.6: use setters instead
|
Modifier and Type | Method and Description |
---|---|
LayoutDefinition |
LayoutManager.getLayoutDefinition(String layoutName)
Returns the registered layout definition for this name.
|
LayoutDefinition |
LayoutStore.getLayoutDefinition(String category,
String layoutName)
Returns the registered layout definition for this name.
|
Modifier and Type | Method and Description |
---|---|
void |
LayoutStore.registerLayout(String category,
LayoutDefinition layoutDef) |
void |
LayoutStore.unregisterLayout(String category,
LayoutDefinition layoutDef) |
Modifier and Type | Method and Description |
---|---|
LayoutDefinition |
LayoutDefinitionRegistry.getLayoutDefinition(String id) |
Modifier and Type | Method and Description |
---|---|
void |
LayoutDefinitionRegistry.addContribution(LayoutDefinition contrib) |
String |
LayoutDefinitionRegistry.getContributionId(LayoutDefinition contrib) |
void |
LayoutDefinitionRegistry.removeContribution(LayoutDefinition contrib)
Overridden to use equals method when removing elements.
|
void |
LayoutDefinitionRegistry.removeContribution(LayoutDefinition contrib,
boolean useEqualsMethod) |
Modifier and Type | Method and Description |
---|---|
LayoutDefinition |
AbstractLayoutManager.getLayoutDefinition(String layoutName) |
LayoutDefinition |
LayoutStoreImpl.getLayoutDefinition(String category,
String layoutName) |
Modifier and Type | Method and Description |
---|---|
protected WidgetDefinition |
AbstractLayoutManager.lookupWidget(LayoutDefinition layoutDef,
WidgetReference widgetRef) |
protected void |
AbstractLayoutManager.registerLayout(LayoutDefinition layoutDef) |
void |
LayoutStoreImpl.registerLayout(String category,
LayoutDefinition layoutDef) |
protected void |
AbstractLayoutManager.unregisterLayout(LayoutDefinition layoutDef) |
void |
LayoutStoreImpl.unregisterLayout(String category,
LayoutDefinition layoutDef) |
Modifier and Type | Method and Description |
---|---|
LayoutDefinition |
LayoutPreviewActions.getDecodedLayoutDefinition(String jsonEncodedLayoutDef) |
LayoutDefinition |
LayoutPreviewActions.getLayoutDefinition(PreviewLayoutDefinition previewLayoutDef) |
Modifier and Type | Method and Description |
---|---|
String |
LayoutPreviewActions.getEncodedLayoutDefinition(LayoutDefinition def) |
protected List<WidgetDefinition> |
LayoutDemoActions.retrieveSubWidgets(LayoutDefinition layoutDef) |
Modifier and Type | Method and Description |
---|---|
LayoutDefinition |
LayoutDescriptor.getLayoutDefinition() |
Modifier and Type | Method and Description |
---|---|
Map<String,List<LayoutDefinition>> |
WidgetTypeConfigurationDescriptor.getFieldLayouts() |
List<LayoutDefinition> |
WidgetTypeConfigurationDescriptor.getFieldLayouts(String mode,
String additionalMode) |
List<LayoutDefinition> |
LayoutDescriptors.getLayouts() |
protected Map<String,List<LayoutDefinition>> |
WidgetTypeConfigurationDescriptor.getLayouts(Map<String,LayoutDescriptors> descs) |
protected Map<String,List<LayoutDefinition>> |
LayoutTypeConfigurationDescriptor.getLayouts(Map<String,LayoutDescriptors> descs) |
protected List<LayoutDefinition> |
WidgetTypeConfigurationDescriptor.getLayouts(Map<String,LayoutDescriptors> descs,
String mode,
String additionalMode) |
protected List<LayoutDefinition> |
LayoutTypeConfigurationDescriptor.getLayouts(Map<String,LayoutDescriptors> descs,
String mode,
String additionalMode) |
Map<String,List<LayoutDefinition>> |
WidgetTypeConfigurationDescriptor.getPropertyLayouts() |
Map<String,List<LayoutDefinition>> |
LayoutTypeConfigurationDescriptor.getPropertyLayouts() |
List<LayoutDefinition> |
WidgetTypeConfigurationDescriptor.getPropertyLayouts(String mode,
String additionalMode) |
List<LayoutDefinition> |
LayoutTypeConfigurationDescriptor.getPropertyLayouts(String mode,
String additionalMode) |
Modifier and Type | Method and Description |
---|---|
static String |
LayoutFunctions.computeLayoutDefinitionId(LayoutDefinition layoutDef)
Returns an identifier computed from this definition so that an identical definition will have the same id.
|
Modifier and Type | Method and Description |
---|---|
static LayoutDefinition |
JSONLayoutExporter.importLayoutDefinition(net.sf.json.JSONObject layoutDef) |
Modifier and Type | Method and Description |
---|---|
static void |
JSONLayoutExporter.export(String category,
LayoutDefinition layoutDef,
LayoutConversionContext ctx,
List<WidgetDefinitionConverter> widgetConverters,
OutputStream out) |
static net.sf.json.JSONObject |
JSONLayoutExporter.exportToJson(String category,
LayoutDefinition layoutDef) |
static net.sf.json.JSONObject |
JSONLayoutExporter.exportToJson(String category,
LayoutDefinition layoutDef,
LayoutConversionContext ctx,
List<WidgetDefinitionConverter> widgetConverters)
Returns the JSON export of this layout definition
|
protected static WidgetDefinition |
JSONLayoutExporter.exportWidgetReference(WidgetReference widgetRef,
String category,
LayoutDefinition layoutDef,
LayoutConversionContext ctx,
LayoutStore webLayoutManager,
List<WidgetDefinitionConverter> widgetConverters) |
Modifier and Type | Method and Description |
---|---|
Layout |
WebLayoutManagerImpl.getLayout(javax.faces.view.facelets.FaceletContext ctx,
LayoutConversionContext lctx,
String conversionCat,
LayoutDefinition layoutDefinition,
String mode,
String valueName,
List<String> selectedRows,
boolean selectAllRowsByDefault) |
Layout |
WebLayoutManager.getLayout(javax.faces.view.facelets.FaceletContext ctx,
LayoutConversionContext lctx,
String conversionCat,
LayoutDefinition layoutDef,
String mode,
String valueName,
List<String> selectedRows,
boolean selectAllRowsByDefault)
Returns a layout with conversion.
|
Layout |
WebLayoutManagerImpl.getLayout(javax.faces.view.facelets.FaceletContext ctx,
LayoutDefinition layoutDef,
String mode,
String valueName,
List<String> selectedRows,
boolean selectAllRowsByDefault) |
Layout |
WebLayoutManager.getLayout(javax.faces.view.facelets.FaceletContext ctx,
LayoutDefinition layoutDef,
String mode,
String valueName,
List<String> selectedRows,
boolean selectAllRowsByDefault)
Returns the computed layout for this definition, mode and list of selected rows in given context, or null if the
layout definition is null.
|
protected Widget |
WebLayoutManagerImpl.getWidget(javax.faces.view.facelets.FaceletContext context,
LayoutConversionContext lctx,
String conversionCat,
String layoutName,
LayoutDefinition layoutDef,
WidgetDefinition widgetDefinition,
String widgetCategory,
String layoutMode,
String valueName,
int level)
Computes a widget from a definition for a mode in a given context.
|
Copyright © 2015 Nuxeo SA. All rights reserved.