Package org.ametys.plugins.core.ui.glyph
Class ApplicationGlyphManager
- java.lang.Object
-
- org.ametys.runtime.plugin.component.AbstractLogEnabled
-
- org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint<GlyphProvider>
-
- org.ametys.plugins.core.ui.glyph.ApplicationGlyphManager
-
- All Implemented Interfaces:
LogEnabled
,ExtensionPoint<GlyphProvider>
,Disposable
,Initializable
,Component
,Contextualizable
,Serviceable
,ThreadSafe
public class ApplicationGlyphManager extends AbstractThreadSafeComponentExtensionPoint<GlyphProvider>
Manager for glyphs provide by the application
-
-
Field Summary
Fields Modifier and Type Field Description private CssFontHelper
_cssFontHelper
-
Fields inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
_cocoonManager, _context, _manager
-
-
Constructor Summary
Constructors Constructor Description ApplicationGlyphManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
getGlyphs()
Get the CSS class names for glyphs provide by the applicationList<Map<String,String>>
getGlyphsStore()
Get the glyphs provide by the applicationboolean
hasGlyphs()
Determines if the back office has available glyphsvoid
service(ServiceManager smanager)
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractThreadSafeComponentExtensionPoint
addComponent, addExtension, contextualize, dispose, getExtension, getExtensionsIds, hasExtension, initialize, initializeExtensions
-
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
-
-
-
Field Detail
-
_cssFontHelper
private CssFontHelper _cssFontHelper
-
-
Constructor Detail
-
ApplicationGlyphManager
public ApplicationGlyphManager()
-
-
Method Detail
-
service
public void service(ServiceManager smanager) throws ServiceException
- Specified by:
service
in interfaceServiceable
- Overrides:
service
in classAbstractThreadSafeComponentExtensionPoint<GlyphProvider>
- Throws:
ServiceException
-
hasGlyphs
public boolean hasGlyphs()
Determines if the back office has available glyphs- Returns:
- true if the back office has available glyphs
-
getGlyphsStore
public List<Map<String,String>> getGlyphsStore()
Get the glyphs provide by the application- Returns:
- The CSS class names for glyphs
-
-