public class LayoutDemoService extends DefaultComponent implements LayoutDemoManager
Modifier and Type | Field and Description |
---|---|
static String |
WIDGET_TYPES_EP_NAME |
lastModified
APPLICATION_PATH, PREVIEW_PATH
Constructor and Description |
---|
LayoutDemoService() |
Modifier and Type | Method and Description |
---|---|
DemoWidgetType |
getWidgetType(String widgetTypeName) |
DemoWidgetType |
getWidgetTypeByViewId(String viewId) |
List<DemoWidgetType> |
getWidgetTypes(String category) |
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
activate, applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, setModifiedNow, unregisterExtension
public static final String WIDGET_TYPES_EP_NAME
public LayoutDemoService()
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
registerContribution
in class DefaultComponent
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor)
unregisterContribution
in class DefaultComponent
public DemoWidgetType getWidgetType(String widgetTypeName)
getWidgetType
in interface LayoutDemoManager
public DemoWidgetType getWidgetTypeByViewId(String viewId)
getWidgetTypeByViewId
in interface LayoutDemoManager
public List<DemoWidgetType> getWidgetTypes(String category)
getWidgetTypes
in interface LayoutDemoManager
Copyright © 2015 Nuxeo SA. All rights reserved.