public class StyleGuideServiceImpl extends DefaultComponent implements StyleGuideService
Constructor and Description |
---|
StyleGuideServiceImpl() |
Modifier and Type | Method and Description |
---|---|
void |
activate(ComponentContext context)
Activates the component.
|
Map<String,List<IconDescriptor>> |
getIconsByCat(javax.faces.context.ExternalContext ctx,
String path)
Returns a map of all icons given a path, creating descriptors from them and putting all unknown icons in the
"unknown" category.
|
void |
registerContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
ComponentInstance contributor) |
applicationStarted, deactivate, getAdapter, getApplicationStartedOrder, getLastModified, registerExtension, setLastModified, unregisterExtension
public void activate(ComponentContext context)
Component
This method is called by the runtime when a component is activated.
activate
in interface Component
activate
in class DefaultComponent
context
- the runtime contextpublic 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 Map<String,List<IconDescriptor>> getIconsByCat(javax.faces.context.ExternalContext ctx, String path)
StyleGuideService
getIconsByCat
in interface StyleGuideService
Copyright © 2015 Nuxeo SA. All rights reserved.