public abstract class AbstractLayoutManager extends DefaultComponent implements LayoutManager
lastModified
Constructor and Description |
---|
AbstractLayoutManager() |
Modifier and Type | Method and Description |
---|---|
abstract String |
getDefaultStoreCategory()
Return the default category used for storage
|
LayoutDefinition |
getLayoutDefinition(String layoutName)
Returns the registered layout definition for this name.
|
List<String> |
getLayoutDefinitionNames()
Returns the names of all the registered layout definitions
|
protected LayoutStore |
getLayoutStore() |
LayoutTypeDefinition |
getLayoutTypeDefinition(String typeName)
Returns the layout type definition with given name, or null if no layout type with this name is found.
|
List<LayoutTypeDefinition> |
getLayoutTypeDefinitions()
Returns the layout type definitions for all the registered layout types.
|
protected String |
getStoreCategory(String cat) |
WidgetDefinition |
getWidgetDefinition(String widgetName)
Returns the registered widget definition for this name.
|
WidgetType |
getWidgetType(String typeName)
Returns the registered widget type for this type name.
|
WidgetTypeDefinition |
getWidgetTypeDefinition(String typeName)
Returns the widget type definition with given name, or null if no widget type with this name is found.
|
List<WidgetTypeDefinition> |
getWidgetTypeDefinitions()
Returns the widget type definitions for all the registered widget types.
|
protected WidgetDefinition |
lookupWidget(LayoutDefinition layoutDef,
WidgetReference widgetRef) |
protected WidgetDefinition |
lookupWidget(WidgetReference widgetRef) |
protected void |
registerLayout(LayoutDefinition layoutDef) |
protected void |
registerLayoutType(LayoutTypeDefinition desc) |
protected void |
registerWidget(WidgetDefinition widgetDef) |
protected void |
registerWidgetType(WidgetTypeDefinition desc) |
protected void |
unregisterLayout(LayoutDefinition layoutDef) |
protected void |
unregisterLayoutType(LayoutTypeDefinition desc) |
protected void |
unregisterWidget(WidgetDefinition widgetDef) |
protected void |
unregisterWidgetType(WidgetTypeDefinition desc) |
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerContribution, registerExtension, setLastModified, setModifiedNow, unregisterContribution, unregisterExtension
public AbstractLayoutManager()
public abstract String getDefaultStoreCategory()
LayoutManager
getDefaultStoreCategory
in interface LayoutManager
protected String getStoreCategory(String cat)
protected LayoutStore getLayoutStore()
protected WidgetDefinition lookupWidget(LayoutDefinition layoutDef, WidgetReference widgetRef)
protected WidgetDefinition lookupWidget(WidgetReference widgetRef)
public WidgetType getWidgetType(String typeName)
LayoutManager
If the no widget type is found with this name, return null.
getWidgetType
in interface LayoutManager
public WidgetTypeDefinition getWidgetTypeDefinition(String typeName)
LayoutManager
getWidgetTypeDefinition
in interface LayoutManager
public List<WidgetTypeDefinition> getWidgetTypeDefinitions()
LayoutManager
getWidgetTypeDefinitions
in interface LayoutManager
public LayoutTypeDefinition getLayoutTypeDefinition(String typeName)
LayoutManager
getLayoutTypeDefinition
in interface LayoutManager
public List<LayoutTypeDefinition> getLayoutTypeDefinitions()
LayoutManager
getLayoutTypeDefinitions
in interface LayoutManager
public LayoutDefinition getLayoutDefinition(String layoutName)
LayoutManager
If the no definition is found with this name, return null.
getLayoutDefinition
in interface LayoutManager
public List<String> getLayoutDefinitionNames()
LayoutManager
getLayoutDefinitionNames
in interface LayoutManager
public WidgetDefinition getWidgetDefinition(String widgetName)
LayoutManager
If the no definition is found with this name, return null.
getWidgetDefinition
in interface LayoutManager
protected void registerWidgetType(WidgetTypeDefinition desc)
protected void unregisterWidgetType(WidgetTypeDefinition desc)
protected void registerLayoutType(LayoutTypeDefinition desc)
protected void unregisterLayoutType(LayoutTypeDefinition desc)
protected void registerLayout(LayoutDefinition layoutDef)
protected void unregisterLayout(LayoutDefinition layoutDef)
protected void registerWidget(WidgetDefinition widgetDef)
protected void unregisterWidget(WidgetDefinition widgetDef)
Copyright © 2015 Nuxeo SA. All rights reserved.