Package org.eclipse.birt.chart.script
Interface IScriptContext
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
IChartScriptContext
- All Known Implementing Classes:
AbstractScriptContext
,ChartScriptContext
The interface declares methods to provide appropriate context in scripts.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated.getProperty
(Object key) Returns property value.com.ibm.icu.util.ULocale
void
setProperty
(Object key, Object value) Saves property value.
-
Method Details
-
getLocale
Deprecated.UsegetULocale()
instead.- Returns:
- Returns the locale of current context.
-
getULocale
com.ibm.icu.util.ULocale getULocale()- Returns:
- Returns the locale of current context.
- Since:
- 2.1
-
getExternalContext
IExternalContext getExternalContext()- Returns:
- Returns the external context.
-
getLogger
ILogger getLogger()- Returns:
- Returns an ILogger instance, to allow logging from script.
- See Also:
-
getProperty
Returns property value.- Parameters:
key
-- Returns:
- Since:
- 2.5
-
setProperty
Saves property value.- Parameters:
key
-value
-- Since:
- 2.5
-
getULocale()
instead.