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, _widgetsManagermanagerobjectModel, parameters, resolver, sourcecontentHandler, 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, saxWidgetsdisposerecycle, setupsetConsumer, setContentHandler, setLexicalHandlerenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetConsumerprotected 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 Serviceableservice in class WorkspaceGeneratorServiceExceptionpublic void generate() throws IOException, SAXException, ProcessingException
generate in interface Generatorgenerate in class WorkspaceGeneratorIOExceptionSAXExceptionProcessingExceptionprotected Map<String,Object> getContextualParameters()
WorkspaceGeneratorgetContextualParameters in class WorkspaceGeneratorprotected Source getRibbonConfiguration() throws IOException
WorkspaceGeneratorgetRibbonConfiguration in class WorkspaceGeneratorIOException - if an errors occurs getting the ribbon configurationprotected Source getUIToolsConfiguration() throws IOException
WorkspaceGeneratorgetUIToolsConfiguration in class WorkspaceGeneratorIOException - if an errors occurs getting the UI tools configurationprotected void saxAdditionnalInfo(Map<String,Object> contextParameters) throws SAXException
WorkspaceGeneratorsaxAdditionnalInfo in class WorkspaceGeneratorcontextParameters - the context parametersSAXException - if an error occurredprivate void _saxGlyph(Site site) throws SAXException
SAXExceptionprivate void _saxColorInformations(Site site) throws SAXException
SAXException