g-Eclipse
Release 1.0.0

eu.geclipse.ui.visualisation
Class AbstractVisualisationAction

java.lang.Object
  extended by SelectionListenerAction
      extended by eu.geclipse.ui.visualisation.AbstractVisualisationAction

public class AbstractVisualisationAction
extends SelectionListenerAction


Field Summary
static java.lang.String ACTION_EXTENSION_POINT
          Extension point which has to be implemented to provide additional actions for visualisable elements (i.e. elements that extend the IGridVisualisation interface).
static java.lang.String EXT_ACTION_CLASS
          Name of the attribute which specifies the class name of the AbstractVisualisationAction implementation.
static java.lang.String EXT_ACTION_ELEMENT
          The name of the element which contains the visualisation action specification.
static java.lang.String EXT_ACTION_FILE_EXTENSION
          The file extension of the resource that this action will become active for.
static java.lang.String EXT_ACTION_TEXT
          Name of the attribute which specifies the text for the action.
static java.lang.String EXT_ACTION_TOOLTIP
          Name of the attribute which specifies the option text for the action's tool-tip.
static java.lang.String EXT_ACTION_TYPE
           
 
Constructor Summary
AbstractVisualisationAction()
           
 
Method Summary
 java.lang.String getFileExt()
           
 void init(java.lang.String actionText, java.lang.String actionTooltip, java.lang.String fileExtension, IWorkbenchSite site, java.lang.String visType)
           
 void run()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ACTION_EXTENSION_POINT

public static final java.lang.String ACTION_EXTENSION_POINT
Extension point which has to be implemented to provide additional actions for visualisable elements (i.e. elements that extend the IGridVisualisation interface).

See Also:
Constant Field Values

EXT_ACTION_CLASS

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

See Also:
Constant Field Values

EXT_ACTION_ELEMENT

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

See Also:
Constant Field Values

EXT_ACTION_TEXT

public static final java.lang.String EXT_ACTION_TEXT
Name of the attribute which specifies the text for the action.

See Also:
Constant Field Values

EXT_ACTION_TOOLTIP

public static final java.lang.String EXT_ACTION_TOOLTIP
Name of the attribute which specifies the option text for the action's tool-tip.

See Also:
Constant Field Values

EXT_ACTION_FILE_EXTENSION

public static final java.lang.String EXT_ACTION_FILE_EXTENSION
The file extension of the resource that this action will become active for.

See Also:
Constant Field Values

EXT_ACTION_TYPE

public static final java.lang.String EXT_ACTION_TYPE
See Also:
Constant Field Values
Constructor Detail

AbstractVisualisationAction

public AbstractVisualisationAction()
Method Detail

init

public void init(java.lang.String actionText,
                 java.lang.String actionTooltip,
                 java.lang.String fileExtension,
                 IWorkbenchSite site,
                 java.lang.String visType)
Parameters:
actionText -
actionTooltip -
fileExtension -
site -
visType -

run

public void run()

getFileExt

public java.lang.String getFileExt()
Returns:

g-Eclipse
Release 1.0.0