public class StyleGuideServiceImpl extends org.nuxeo.runtime.model.DefaultComponent implements StyleGuideService
| Modifier and Type | Field and Description |
|---|---|
protected StyleGuideIconRegistry |
iconsReg |
| Constructor and Description |
|---|
StyleGuideServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(org.nuxeo.runtime.model.ComponentContext context) |
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,
org.nuxeo.runtime.model.ComponentInstance contributor) |
protected void |
registerIcon(IconDescriptor icon) |
protected List<String> |
resolvePaths(javax.faces.context.ExternalContext ctx,
String basePath) |
void |
unregisterContribution(Object contribution,
String extensionPoint,
org.nuxeo.runtime.model.ComponentInstance contributor) |
protected void |
unregisterIcon(IconDescriptor icon) |
protected StyleGuideIconRegistry iconsReg
public void activate(org.nuxeo.runtime.model.ComponentContext context)
throws Exception
activate in interface org.nuxeo.runtime.model.Componentactivate in class org.nuxeo.runtime.model.DefaultComponentExceptionpublic void registerContribution(Object contribution, String extensionPoint, org.nuxeo.runtime.model.ComponentInstance contributor) throws Exception
registerContribution in class org.nuxeo.runtime.model.DefaultComponentExceptionpublic void unregisterContribution(Object contribution, String extensionPoint, org.nuxeo.runtime.model.ComponentInstance contributor) throws Exception
unregisterContribution in class org.nuxeo.runtime.model.DefaultComponentExceptionprotected void registerIcon(IconDescriptor icon)
protected void unregisterIcon(IconDescriptor icon)
public Map<String,List<IconDescriptor>> getIconsByCat(javax.faces.context.ExternalContext ctx, String path)
StyleGuideServicegetIconsByCat in interface StyleGuideServiceCopyright © 2019 Nuxeo SA. All rights reserved.