Package org.ametys.web.skin
Class SkinClientSideWidget
- All Implemented Interfaces:
- ClientSideElement,- ClientSideWidget,- LogEnabled,- PluginAware,- Configurable,- Serviceable
This implementation looks at existing 
CreateSkinActionExtensionPoint to create a widget for selecting skin and creating a new skin.- 
Nested Class SummaryNested classes/interfaces inherited from interface org.ametys.core.ui.ClientSideElementClientSideElement.Script, ClientSideElement.ScriptFile
- 
Field SummaryFields inherited from class org.ametys.core.ui.widgets.StaticClientSideWidgetPARAMETER_FTYPES, PARAMETER_SUPPORTS_ENUMERATED, PARAMETER_SUPPORTS_MULTIPLE, PARAMETER_SUPPORTS_NONENUMERATED, PARAMETER_SUPPORTS_NONMULTIPLEFields inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement_currentUserProvider, _dependencies, _featureName, _id, _pluginName, _rightManager, _rights, _rightsMode, _script
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionGet the actions menu for creating a new skingetScripts(boolean ignoreRights, Map<String, Object> contextParameters) This method return the scripts that will be used on client side.voidservice(ServiceManager smanager) Methods inherited from class org.ametys.core.ui.widgets.StaticClientSideWidgetgetFormTypes, supportsEnumerated, supportsMultiple, supportsNonEnumerated, supportsNonMultipleMethods inherited from class org.ametys.core.ui.StaticClientSideElement_configureClass, _configureParameters, _configureScript, configureInitialParametersMethods inherited from class org.ametys.core.ui.StaticFileImportsClientSideElement_configureDependencies, _configureImports, _configureRights, _configureRightsMode, configure, getDependencies, getId, getPluginName, getRights, getScripts, hasRight, setPluginInfo, toStringMethods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabledgetLogger, setLoggerMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.ametys.core.ui.ClientSideElementgetDependencies, getId, getPluginName, getRights, getScripts
- 
Constructor Details- 
SkinClientSideWidgetpublic SkinClientSideWidget()
 
- 
- 
Method Details- 
service- Specified by:
- servicein interface- Serviceable
- Overrides:
- servicein class- StaticFileImportsClientSideElement
- Throws:
- ServiceException
 
- 
getCreateSkinActionsGet the actions menu for creating a new skin- Returns:
- The actions configuration.
 
- 
getScriptspublic List<ClientSideElement.Script> getScripts(boolean ignoreRights, Map<String, Object> contextParameters) Description copied from interface:ClientSideElementThis method return the scripts that will be used on client side. This class will be parametrized by initial and current parameters.- Specified by:
- getScriptsin interface- ClientSideElement
- Overrides:
- getScriptsin class- StaticFileImportsClientSideElement
- Parameters:
- ignoreRights- True to ignore the rights verification.
- contextParameters- Contextuals parameters transmitted by the environment.
- Returns:
- The list of scripts or an empty list.
 
 
-