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, deactivate, getAdapter, getLastModified, registerExtension, setLastModified, setModifiedNow, start, stop, unregisterExtension
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
applicationStarted, getApplicationStartedOrder
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 © 2018 Nuxeo. All rights reserved.