it.uniroma3.plasm.actionset
Class CheckPlasmAction

java.lang.Object
  extended byit.uniroma3.plasm.actionset.CheckPlasmAction
All Implemented Interfaces:
org.eclipse.ui.IActionDelegate, org.eclipse.ui.IWorkbenchWindowActionDelegate
Direct Known Subclasses:
EvaluateAction

public abstract class CheckPlasmAction
extends java.lang.Object
implements org.eclipse.ui.IWorkbenchWindowActionDelegate

This class is a single point for checking if Plasm is up or no. All Actions needin Plasm, should extend this class and override the run method REMEMBERING to call at first super.run in the subclass.

Version:
$Id: CheckPlasmAction.java,v 1.3 2004/06/09 14:35:17 giupo Exp $
Author:
giupo

Constructor Summary
CheckPlasmAction()
           
 
Method Summary
 void dispose()
           
 void init(org.eclipse.ui.IWorkbenchWindow window)
           
 void run(org.eclipse.jface.action.IAction action)
           
 void selectionChanged(org.eclipse.jface.action.IAction action, org.eclipse.jface.viewers.ISelection selection)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CheckPlasmAction

public CheckPlasmAction()
Method Detail

dispose

public void dispose()
Specified by:
dispose in interface org.eclipse.ui.IWorkbenchWindowActionDelegate

run

public void run(org.eclipse.jface.action.IAction action)
Specified by:
run in interface org.eclipse.ui.IActionDelegate

selectionChanged

public void selectionChanged(org.eclipse.jface.action.IAction action,
                             org.eclipse.jface.viewers.ISelection selection)
Specified by:
selectionChanged in interface org.eclipse.ui.IActionDelegate

init

public void init(org.eclipse.ui.IWorkbenchWindow window)
Specified by:
init in interface org.eclipse.ui.IWorkbenchWindowActionDelegate