Package org.ametys.core.ui
Class UIToolsConfigurationManager
java.lang.Object
org.ametys.core.ui.UIToolsConfigurationManager
Handles the configuration of uitools factories
-
Field Summary
Modifier and TypeFieldDescriptionprotected String[]
Additional default tools to openThe default opened toolsprotected SAXClientSideElementHelper
The sax clientside element helperprotected UIToolsFactoriesManager
The ui tools factories manager -
Constructor Summary
ConstructorDescriptionUIToolsConfigurationManager
(UIToolsFactoriesManager uitoolsFactoriesManager, SAXClientSideElementHelper saxClientSideElementHelper, Source configSource, Request request) Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
saxDefaultState
(ContentHandler handler, Map<String, Object> contextualParameters, List<ClientSideElement> dependenciesList) SAX the default state of uitools to know which ones are opened
-
Field Details
-
_defaultUITools
The default opened tools -
_uitoolsFactoriesManager
The ui tools factories manager -
_saxClientSideElementHelper
The sax clientside element helper -
_additionalDefaultTools
Additional default tools to open
-
-
Constructor Details
-
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 Details
-
saxDefaultState
public void saxDefaultState(ContentHandler handler, Map<String, Object> contextualParameters, List<ClientSideElement> dependenciesList) throws SAXExceptionSAX 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
-