public interface IVizService
IVizServices should be considered handles to the services that a particular visualization engine provides. Its primary purpose a means to configure a valid connection to the visualization service, if required, and to act as a factory for creating IPlots.
IVizServices are responsible for managing their own preferences and providing both an IPreferencesPage that can be registered with the Platform and a simple map of preferences. (The simplest way to do this is to keep everything in a bundle preferences store, register listeners on the page, and handle merges from setConnectionProperties manually.)
Modifier and Type | Method and Description |
---|---|
IVizCanvas |
createCanvas(Geometry geometry)
This operation directs the IVizService to create a new canvas displaying
the given Geometry and to return a handle to that canvas to the caller so
that it may modify the canvas.
|
IVizCanvas |
createCanvas(IController object)
This operation directs the IVizService to create a new canvas using the
given VizObject and to return a handle to that canvas to the caller so
that it may modify the canvas.
|
IPlot |
createPlot(java.net.URI file)
This operation directs the IVizService to create a new plot using the
specified file and to return a handle to that plot to the caller so that
it may modify the plot.
|
IControllerProviderFactory |
getControllerProviderFactory()
Returns a factory which will create views and controllers for model parts
specific to the service's rendering program.
|
java.lang.String |
getName()
This operation returns the name of the service.
|
java.util.Set<java.lang.String> |
getSupportedExtensions()
Gets a set containing all supported file extensions for which an IPlot
can be created.
|
java.lang.String |
getVersion()
This operation returns a version number for the service.
|
IVizCanvas createCanvas(IController object) throws java.lang.Exception
object
- The input object which will be rendered in the new canvasjava.lang.Exception
- An exception indicating that the IVizService could not create
a canvas with the given object and giving the reason why.IVizCanvas createCanvas(Geometry geometry) throws java.lang.Exception
geometry
- The input object which will be rendered in the new canvas.java.lang.Exception
- An exception indicating that the IVizService could not create
a canvas with the given object and giving the reason why.IControllerProviderFactory getControllerProviderFactory()
java.lang.String getName()
java.lang.String getVersion()
IPlot createPlot(java.net.URI file) throws java.lang.Exception
file
- The file from which the plot should be createdjava.lang.Exception
- An exception indicating that the IVizService could not create
a plot with the given file and giving the reason why.java.util.Set<java.lang.String> getSupportedExtensions()