public class WorkspaceGenerator extends WorkspaceGenerator
Modifier and Type | Field and Description |
---|---|
protected SiteColorsComponent |
_siteColors
The site colors
|
protected SiteManager |
_siteManager
The site manager
|
protected SiteTypesExtensionPoint |
_siteTypeExtensionPoint
The site types manager
|
protected String |
_siteTypeName
The site
|
protected SkinsManager |
_skinsManager
The skins manager
|
_cocoonContext, _currentUserProvider, _fileImportsManager, _jsonUtils, _messageTargetFactoriesManager, _relationsManager, _resolver, _ribbonControlManager, _ribbonImportManager, _ribbonManagerCache, _ribbonTabManager, _saxClientSideElementHelper, _uitoolsFactoriesManager, _userHelper, _userManager, _widgetsManager
manager
objectModel, parameters, resolver, source
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer
Constructor and Description |
---|
WorkspaceGenerator() |
Modifier and Type | Method and Description |
---|---|
private void |
_saxColorInformations(Site site) |
private void |
_saxGlyph(Site site) |
void |
generate() |
protected Map<String,Object> |
getContextualParameters()
Get the contextual parameters
|
protected Source |
getRibbonConfiguration()
Get the ribbon configuration
|
protected Source |
getUIToolsConfiguration()
Get the UI tools configuration
|
protected void |
saxAdditionnalInfo(Map<String,Object> contextParameters)
Use this method when inheriting the WorkspaceGenerator to sax additional data
|
void |
service(ServiceManager smanager) |
contextualize, doGenerate, getElementsToSax, saxMessageTargetFactories, saxRelationsHandlers, saxStaticFileImports, saxUITools, saxWidgets
dispose
recycle, setup
setConsumer, setContentHandler, setLexicalHandler
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
setConsumer
protected SiteTypesExtensionPoint _siteTypeExtensionPoint
protected SiteManager _siteManager
protected String _siteTypeName
protected SkinsManager _skinsManager
protected SiteColorsComponent _siteColors
public WorkspaceGenerator()
public void service(ServiceManager smanager) throws ServiceException
service
in interface Serviceable
service
in class WorkspaceGenerator
ServiceException
public void generate() throws IOException, SAXException, ProcessingException
generate
in interface Generator
generate
in class WorkspaceGenerator
IOException
SAXException
ProcessingException
protected Map<String,Object> getContextualParameters()
WorkspaceGenerator
getContextualParameters
in class WorkspaceGenerator
protected Source getRibbonConfiguration() throws IOException
WorkspaceGenerator
getRibbonConfiguration
in class WorkspaceGenerator
IOException
- if an errors occurs getting the ribbon configurationprotected Source getUIToolsConfiguration() throws IOException
WorkspaceGenerator
getUIToolsConfiguration
in class WorkspaceGenerator
IOException
- if an errors occurs getting the UI tools configurationprotected void saxAdditionnalInfo(Map<String,Object> contextParameters) throws SAXException
WorkspaceGenerator
saxAdditionnalInfo
in class WorkspaceGenerator
contextParameters
- the context parametersSAXException
- if an error occurredprivate void _saxGlyph(Site site) throws SAXException
SAXException
private void _saxColorInformations(Site site) throws SAXException
SAXException