Package org.ametys.web.workspace
Class SimpleWorkspaceGenerator
- 
- All Implemented Interfaces:
 Poolable,Recyclable,Disposable,Component,Contextualizable,LogEnabled,Serviceable,Generator,SitemapModelComponent,XMLProducer
public class SimpleWorkspaceGenerator extends WorkspaceGenerator
Generates the uitools factories definition using the associated components 
- 
- 
Field Summary
- 
Fields inherited from class org.ametys.web.workspace.WorkspaceGenerator
_siteColors, _siteManager, _siteTypeExtensionPoint, _siteTypeName, _skinsManager 
- 
Fields inherited from class org.ametys.plugins.core.ui.WorkspaceGenerator
_cocoonContext, _currentUserProvider, _fileImportsManager, _jsonUtils, _messageTargetFactoriesManager, _relationsManager, _resolver, _ribbonControlManager, _ribbonImportManager, _ribbonManagerCache, _ribbonTabManager, _saxClientSideElementHelper, _uitoolsFactoriesManager, _userHelper, _widgetsManager 
- 
Fields inherited from class org.apache.cocoon.generation.ServiceableGenerator
manager 
- 
Fields inherited from class org.apache.cocoon.generation.AbstractGenerator
objectModel, parameters, resolver, source 
- 
Fields inherited from class org.apache.cocoon.xml.AbstractXMLProducer
contentHandler, EMPTY_CONTENT_HANDLER, lexicalHandler, xmlConsumer 
 - 
 
- 
Constructor Summary
Constructors Constructor Description SimpleWorkspaceGenerator() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected RibbonConfigurationSourcegetRibbonConfiguration()Get the ribbon configurationprotected SourcegetUIToolsConfiguration()Get the UI tools configuration- 
Methods inherited from class org.ametys.web.workspace.WorkspaceGenerator
generate, getContextualParameters, saxAdditionnalInfo, service 
- 
Methods inherited from class org.ametys.plugins.core.ui.WorkspaceGenerator
contextualize, doGenerate, getElementsToSax, saxMessageTargetFactories, saxRelationsHandlers, saxStaticFileImports, saxUITools, saxWidgets 
- 
Methods inherited from class org.apache.cocoon.generation.ServiceableGenerator
dispose 
- 
Methods inherited from class org.apache.cocoon.generation.AbstractGenerator
recycle, setup 
- 
Methods inherited from class org.apache.cocoon.xml.AbstractXMLProducer
setConsumer, setContentHandler, setLexicalHandler 
- 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface org.apache.cocoon.xml.XMLProducer
setConsumer 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
SimpleWorkspaceGenerator
public SimpleWorkspaceGenerator()
 
 - 
 
- 
Method Detail
- 
getRibbonConfiguration
protected RibbonConfigurationSource getRibbonConfiguration() throws IOException
Description copied from class:WorkspaceGeneratorGet the ribbon configuration- Overrides:
 getRibbonConfigurationin classWorkspaceGenerator- Returns:
 - the ribbon configuration
 - Throws:
 IOException- if an errors occurs getting the ribbon configuration
 
- 
getUIToolsConfiguration
protected Source getUIToolsConfiguration() throws IOException
Description copied from class:WorkspaceGeneratorGet the UI tools configuration- Overrides:
 getUIToolsConfigurationin classWorkspaceGenerator- Returns:
 - the UI tools configuration
 - Throws:
 IOException- if an errors occurs getting the UI tools configuration
 
 - 
 
 -