public interface IUIServiceProvider
Modifier and Type | Interface and Description |
---|---|
static class |
IUIServiceProvider.Command |
Modifier and Type | Field and Description |
---|---|
static int |
COMMAND_CHART_EXPRESSION
Deprecated.
|
static int |
COMMAND_CUBE_EXPRESSION_TOOLTIPS_DATAPOINTS
Constant indicating an expression builder to input tootips (one type of
triggers ) for value series while using cube case
|
static int |
COMMAND_EXPRESSION
Deprecated.
|
static int |
COMMAND_EXPRESSION_CHART_DATAPOINTS
Constant indicating an expression builder to input chart data point
variables.
|
static int |
COMMAND_EXPRESSION_DATA_BINDINGS
Constant indicating an expression builder to input data bindings.
|
static int |
COMMAND_EXPRESSION_SCRIPT_DATAPOINTS
Constant indicating an expression builder to input script (one type of
triigers) for value series.
|
static int |
COMMAND_EXPRESSION_TOOLTIPS_DATAPOINTS
Constant indicating an expression builder to input tooltips (one type of
triggers) for value series.
|
static int |
COMMAND_EXPRESSION_TRIGGERS_SIMPLE
Constant indicating an expression builder to input triggers except for
value series.
|
static int |
COMMAND_HYPERLINK
Constant indicating a builder to input hyper-link except for data points.
|
static int |
COMMAND_HYPERLINK_DATAPOINTS
Constant indicating a builder to input hyper-link for data points.
|
static int |
COMMAND_HYPERLINK_DATAPOINTS_SIMPLE
Constant indicating a builder to input hyper-link for data points but raw
data expression not allowed.
|
static int |
COMMAND_HYPERLINK_LEGEND
Constant indicating a builder to input hyper-link for legend.
|
static int |
COMMAND_RESOURCE_SELECTION_DIALOG
Constant indicating a builder to select resource file
|
static int |
CRITICAL_ERRORS
Constant indicating a major (though not fatal) problem in the model
|
static int |
FATAL_ERRORS
Constant indicating a fatal error in the model
|
static int |
MINOR_ERRORS
Constant indicating a minor error in the model
|
static int |
NO_ERRORS
Constant indicating no detectable problems exist in the model
|
static int |
POSSIBLE_ERRORS
Constant indicating possible problems detected in the model
|
Modifier and Type | Method and Description |
---|---|
double |
getConvertedValue(double dOriginalValue,
java.lang.String sFromUnits,
java.lang.String sToUnits)
Gets the result of converting the given value between the specified
absolute units of measurement.
|
IFormatSpecifierHandler |
getFormatSpecifierHandler()
Creates a UI to process format specifier.
|
java.util.List<java.lang.String> |
getRegisteredKeys()
Fetches the list of registered keys for externalizing chart content
|
java.lang.String |
getValue(java.lang.String sKey)
Fetches the value for the specified key from the properties file
appropriate for the current locale
|
java.lang.String |
invoke(int command,
java.lang.String value,
java.lang.Object context,
java.lang.String sTitle)
This method will be used by the Chart Builder UI to invoke numerous
builder by a specified command.
|
java.lang.Object |
invoke(IUIServiceProvider.Command command,
java.lang.Object... inData)
This method will be used by the Chart Builder UI to invoke numerous
builder by a specified command.
|
java.lang.String |
invoke(java.lang.String sExpression,
java.lang.Object Context,
java.lang.String sTitle)
Deprecated.
use invoke( int command, String value, Object context, String
sTitle ) instead.
|
java.lang.String |
invoke(java.lang.String sExpression,
java.lang.Object Context,
java.lang.String sTitle,
boolean isChartProvider)
Deprecated.
use invoke( int command, String value, Object context, String
sTitle ) instead.
|
boolean |
isEclipseModeSupported()
Returns whether the application is running under Eclipse Mode
|
boolean |
isInvokingSupported()
Returns whether all outside builder invokings are supported
|
java.lang.String[] |
validate(Chart chartModel,
java.lang.Object oContext)
This method will be used by the Chart Builder UI to validate the model
and show any error messages before the user leaves the dialog.
|
static final int FATAL_ERRORS
static final int CRITICAL_ERRORS
static final int MINOR_ERRORS
static final int NO_ERRORS
static final int POSSIBLE_ERRORS
static final int COMMAND_EXPRESSION_DATA_BINDINGS
static final int COMMAND_EXPRESSION_CHART_DATAPOINTS
static final int COMMAND_EXPRESSION_TRIGGERS_SIMPLE
static final int COMMAND_EXPRESSION_SCRIPT_DATAPOINTS
static final int COMMAND_EXPRESSION_TOOLTIPS_DATAPOINTS
static final int COMMAND_CUBE_EXPRESSION_TOOLTIPS_DATAPOINTS
static final int COMMAND_EXPRESSION
static final int COMMAND_CHART_EXPRESSION
static final int COMMAND_HYPERLINK
static final int COMMAND_HYPERLINK_DATAPOINTS
static final int COMMAND_HYPERLINK_LEGEND
static final int COMMAND_HYPERLINK_DATAPOINTS_SIMPLE
static final int COMMAND_RESOURCE_SELECTION_DIALOG
java.lang.String invoke(java.lang.String sExpression, java.lang.Object Context, java.lang.String sTitle)
sExpression
- the expression to be displayed in the builder (after re-entry)oContext
- the application-specific context used by the Expression
Builder for each invocationsTitle
- the title to be used for the Expression Builder Dialogjava.lang.String invoke(java.lang.String sExpression, java.lang.Object Context, java.lang.String sTitle, boolean isChartProvider)
sExpression
- the expression to be displayed in the builder (after re-entry)oContext
- the application-specific context used by the Expression
Builder for each invocationsTitle
- the title to be used for the Expression Builder DialogisChartProvider
- specified for chart expression provider.java.lang.String invoke(int command, java.lang.String value, java.lang.Object context, java.lang.String sTitle) throws ChartException
command
- Indicate which command will be executed.value
- initial value.context
- command context.sTitle
- dialog title if applicable.ChartException
java.lang.Object invoke(IUIServiceProvider.Command command, java.lang.Object... inData) throws ChartException
command
- inData
- ChartException
boolean isInvokingSupported()
java.lang.String[] validate(Chart chartModel, java.lang.Object oContext)
chartModel
- the model to be validatedoContext
- the application-specific context associated with the extended
chart itemjava.util.List<java.lang.String> getRegisteredKeys()
java.lang.String getValue(java.lang.String sKey)
sKey
- the lookup key for the externalized stringdouble getConvertedValue(double dOriginalValue, java.lang.String sFromUnits, java.lang.String sToUnits)
dOriginalValue
- the value to be convertedsFromUnits
- the units of measurement from which the conversion is to be
donesToUnits
- the units of measurement to which the conversion is to be doneboolean isEclipseModeSupported()
IFormatSpecifierHandler getFormatSpecifierHandler()
Copyright © 2014 OpenText Corp. All rights reserved.