g-Eclipse
Release 1.0.0

eu.geclipse.ui.visualisation
Class AbstractVisualisationWindow

java.lang.Object
  extended by eu.geclipse.ui.visualisation.AbstractVisualisationWindow
All Implemented Interfaces:
IGridVisualisationWindow

public abstract class AbstractVisualisationWindow
extends java.lang.Object
implements IGridVisualisationWindow


Field Summary
static java.lang.String EXT_FILE_EXTENSION
          The file extension of the resource that this visualisation window knows how to render.
static java.lang.String EXT_NAME
          Name of the attribute which specifies the name of the visualisation window implementation.
static java.lang.String EXT_TYPE
          Name of the attribute which specifies the type of visualisation, e.g. local or remote.
static java.lang.String EXT_VISUALISATION_WIDNOW_ELEMENT
          The name of the element which contains the visualisation window specification.
static java.lang.String EXT_VISUALISATION_WINDOW_CLASS
          Name of the attribute which specifies the class name of the AbstractVisualisationWindow implementation.
static java.lang.String WINDOW_EXTENSION_POINT
          Extension point which has to be implemented to provide customized visualisation windows for visualisable elements (i.e. elements that extend the IGridVisualisation interface).
 
Constructor Summary
AbstractVisualisationWindow()
           
 
Method Summary
 void addToAWTFrame(java.awt.Canvas canvas)
           
 void addToAWTFrame(java.awt.Component component)
           
 Composite getVisComp()
           
 void init(Composite parent, int style)
           
abstract  boolean isRemoteSite()
           
 void redraw()
           
 void stopClient()
          For remote visualisation using GVidClient, this method should be overwritten calling the stop method of the client joining the gvid thread and closing opened connection.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WINDOW_EXTENSION_POINT

public static final java.lang.String WINDOW_EXTENSION_POINT
Extension point which has to be implemented to provide customized visualisation windows for visualisable elements (i.e. elements that extend the IGridVisualisation interface).

See Also:
Constant Field Values

EXT_FILE_EXTENSION

public static final java.lang.String EXT_FILE_EXTENSION
The file extension of the resource that this visualisation window knows how to render.

See Also:
Constant Field Values

EXT_NAME

public static final java.lang.String EXT_NAME
Name of the attribute which specifies the name of the visualisation window implementation.

See Also:
Constant Field Values

EXT_TYPE

public static final java.lang.String EXT_TYPE
Name of the attribute which specifies the type of visualisation, e.g. local or remote.

See Also:
Constant Field Values

EXT_VISUALISATION_WINDOW_CLASS

public static final java.lang.String EXT_VISUALISATION_WINDOW_CLASS
Name of the attribute which specifies the class name of the AbstractVisualisationWindow implementation.

See Also:
Constant Field Values

EXT_VISUALISATION_WIDNOW_ELEMENT

public static final java.lang.String EXT_VISUALISATION_WIDNOW_ELEMENT
The name of the element which contains the visualisation window specification.

See Also:
Constant Field Values
Constructor Detail

AbstractVisualisationWindow

public AbstractVisualisationWindow()
Method Detail

isRemoteSite

public abstract boolean isRemoteSite()
Specified by:
isRemoteSite in interface IGridVisualisationWindow
Returns:

init

public void init(Composite parent,
                 int style)
Parameters:
parent -
style -

addToAWTFrame

public void addToAWTFrame(java.awt.Canvas canvas)
Parameters:
canvas -

addToAWTFrame

public void addToAWTFrame(java.awt.Component component)
Parameters:
component -

getVisComp

public Composite getVisComp()
Returns:

redraw

public void redraw()
Specified by:
redraw in interface IGridVisualisationWindow

stopClient

public void stopClient()
For remote visualisation using GVidClient, this method should be overwritten calling the stop method of the client joining the gvid thread and closing opened connection. See example implementation in the GVidVisWindow class in eu.geclipse.vtk.ui plugin.

Specified by:
stopClient in interface IGridVisualisationWindow

g-Eclipse
Release 1.0.0