JML

org.multijava.launcher
Class AbstractLaunchTool

java.lang.Object
  extended byorg.multijava.launcher.AbstractLaunchTool
All Implemented Interfaces:
ActionListener, EventListener
Direct Known Subclasses:
JmlLauncher.JmlLauncher$1, JmlLauncher.JmlLauncher$2, JmlLauncher.JmlLauncher$3, JmlLauncher.JmlLauncher$4, JmlLauncher.JmlLauncher$5, MjLauncher.MjLauncher$1, MjLauncher.MjLauncher$2

public abstract class AbstractLaunchTool
extends Object
implements ActionListener

An abstract class to be used to simplify launching of tools.

Version:
$Revision: 1.4 $
Author:
Kristina Boysen, Gary T. Leavens

Field Summary
private  Launcher delegee
          The launcher object to dispose of eventually.
 
Constructor Summary
AbstractLaunchTool(Launcher delegee)
          Initialize this abstract launch tool with the launcher object.
 
Method Summary
 void actionPerformed(ActionEvent e)
          Launch the tool inside a thread by calling the runTool() method.
abstract  void runTool()
          Runs the tool
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delegee

private Launcher delegee
The launcher object to dispose of eventually.

Constructor Detail

AbstractLaunchTool

public AbstractLaunchTool(Launcher delegee)
Initialize this abstract launch tool with the launcher object.

Method Detail

runTool

public abstract void runTool()
Runs the tool


actionPerformed

public void actionPerformed(ActionEvent e)
Launch the tool inside a thread by calling the runTool() method.

Specified by:
actionPerformed in interface ActionListener

JML

JML is Copyright (C) 1998-2002 by Iowa State University and is distributed under the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This release depends on code from the MultiJava project and is based in part on the Kopi project Copyright (C) 1990-99 DMS Decision Management Systems Ges.m.b.H.