public class ParaViewVizService extends ConnectionVizService<IParaViewWebClient>
ParaViewPlot
s that can render files supported by ParaView
within an SWT-based application.ParaViewPlot
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONNECTIONS_NODE_ID
The ID of the preferences node under which all connections will be added.
|
static java.lang.String |
PREFERENCE_PAGE_ID
The ID of the preferences page.
|
Constructor and Description |
---|
ParaViewVizService()
The default constructor.
|
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.
|
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.lang.String |
getVersion()
This operation returns a version number for the service.
|
createPlot
createCanvas, getSupportedExtensions
public static final java.lang.String CONNECTIONS_NODE_ID
public static final java.lang.String PREFERENCE_PAGE_ID
public ParaViewVizService()
Note: Only OSGi should call this method!
public java.lang.String getName()
IVizService
public java.lang.String getVersion()
IVizService
public IControllerProviderFactory getControllerProviderFactory()
IVizService
public IVizCanvas createCanvas(Geometry geometry) throws java.lang.Exception
IVizService
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.