org.csstudio.startup.module
Interface LocaleSettingsExtPoint
- All Superinterfaces:
- CSSStartupExtensionPoint
public interface LocaleSettingsExtPoint
- extends CSSStartupExtensionPoint
LocaleSettingsExtPoint
defines how and which locale settings
(if any) will be applied to certain application parts.
- Author:
- Jaka Bobnar
Field Summary |
static java.lang.String |
NAME
The name of this extension point element |
Method Summary |
java.lang.Object |
applyLocaleSettings(IApplicationContext context,
java.util.Map<java.lang.String,java.lang.Object> parameters)
Applies the locale settings. |
NAME
static final java.lang.String NAME
- The name of this extension point element
- See Also:
- Constant Field Values
applyLocaleSettings
java.lang.Object applyLocaleSettings(IApplicationContext context,
java.util.Map<java.lang.String,java.lang.Object> parameters)
throws java.lang.Exception
- Applies the locale settings. The locale settings can be gathered from any
location specified by the implementation and can be set to whatever part
of the application.
- Parameters:
context
- the application context which triggered this call and for
which the settings are being appliedparameters
- contains additional parameters, which can define
some special behavior during the execution of this method (the keys
are parameters names and the values are parameters values)
- Returns:
- the exit code if something happened which requires to exit or restart
application or null if everything is alright
- Throws:
java.lang.Exception
- if an error occurred during the operation