Package org.ametys.core.ui
Class UIToolsConfigurationManager
- java.lang.Object
-
- org.ametys.core.ui.UIToolsConfigurationManager
-
public class UIToolsConfigurationManager extends Object
Handles the configuration of uitools factories
-
-
Field Summary
Fields Modifier and Type Field Description protected String[]
_additionalDefaultTools
Additional default tools to openprotected Map<String,String>
_defaultUITools
The default opened toolsprotected SAXClientSideElementHelper
_saxClientSideElementHelper
The sax clientside element helperprotected UIToolsFactoriesManager
_uitoolsFactoriesManager
The ui tools factories manager
-
Constructor Summary
Constructors Constructor Description UIToolsConfigurationManager(UIToolsFactoriesManager uitoolsFactoriesManager, SAXClientSideElementHelper saxClientSideElementHelper, Source configSource, Request request)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
saxDefaultState(ContentHandler handler, Map<String,Object> contextualParameters, List<ClientSideElement> dependenciesList)
SAX the default state of uitools to know which ones are opened
-
-
-
Field Detail
-
_defaultUITools
protected Map<String,String> _defaultUITools
The default opened tools
-
_uitoolsFactoriesManager
protected UIToolsFactoriesManager _uitoolsFactoriesManager
The ui tools factories manager
-
_saxClientSideElementHelper
protected SAXClientSideElementHelper _saxClientSideElementHelper
The sax clientside element helper
-
_additionalDefaultTools
protected String[] _additionalDefaultTools
Additional default tools to open
-
-
Constructor Detail
-
UIToolsConfigurationManager
public UIToolsConfigurationManager(UIToolsFactoriesManager uitoolsFactoriesManager, SAXClientSideElementHelper saxClientSideElementHelper, Source configSource, Request request)
Constructor- Parameters:
uitoolsFactoriesManager
- The instance of ui tools managersaxClientSideElementHelper
- The instance of sax client helperconfigSource
- The configuration sourcerequest
- The request to open by default additionally to those configured
-
-
Method Detail
-
saxDefaultState
public void saxDefaultState(ContentHandler handler, Map<String,Object> contextualParameters, List<ClientSideElement> dependenciesList) throws SAXException
SAX the default state of uitools to know which ones are opened- Parameters:
handler
- Where to SAXcontextualParameters
- Contextuals parameters transmitted by the environment.dependenciesList
- The list of dependencies- Throws:
SAXException
- if an error occurs
-
-