public class LayoutDemoService extends DefaultComponent implements LayoutDemoManager
Modifier and Type | Field and Description |
---|---|
static String |
WIDGET_TYPES_EP_NAME |
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, unregisterExtension
public static final String WIDGET_TYPES_EP_NAME
public void registerContribution(Object contribution, String extensionPoint, ComponentInstance contributor) throws Exception
registerContribution
in class DefaultComponent
Exception
public void unregisterContribution(Object contribution, String extensionPoint, ComponentInstance contributor) throws Exception
unregisterContribution
in class DefaultComponent
Exception
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 © 2013 Nuxeo SA. All Rights Reserved.