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, unregisterExtensionpublic AbstractLayoutManager()
public abstract String getDefaultStoreCategory()
LayoutManagergetDefaultStoreCategory in interface LayoutManagerprotected String getStoreCategory(String cat)
protected LayoutStore getLayoutStore()
protected WidgetDefinition lookupWidget(LayoutDefinition layoutDef, WidgetReference widgetRef)
protected WidgetDefinition lookupWidget(WidgetReference widgetRef)
public WidgetType getWidgetType(String typeName)
LayoutManagerIf the no widget type is found with this name, return null.
getWidgetType in interface LayoutManagerpublic WidgetTypeDefinition getWidgetTypeDefinition(String typeName)
LayoutManagergetWidgetTypeDefinition in interface LayoutManagerpublic List<WidgetTypeDefinition> getWidgetTypeDefinitions()
LayoutManagergetWidgetTypeDefinitions in interface LayoutManagerpublic LayoutTypeDefinition getLayoutTypeDefinition(String typeName)
LayoutManagergetLayoutTypeDefinition in interface LayoutManagerpublic List<LayoutTypeDefinition> getLayoutTypeDefinitions()
LayoutManagergetLayoutTypeDefinitions in interface LayoutManagerpublic LayoutDefinition getLayoutDefinition(String layoutName)
LayoutManagerIf the no definition is found with this name, return null.
getLayoutDefinition in interface LayoutManagerpublic List<String> getLayoutDefinitionNames()
LayoutManagergetLayoutDefinitionNames in interface LayoutManagerpublic WidgetDefinition getWidgetDefinition(String widgetName)
LayoutManagerIf the no definition is found with this name, return null.
getWidgetDefinition in interface LayoutManagerprotected 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 © 2016 Nuxeo SA. All rights reserved.