StopAntAction Class

com.bea.ide.build
StopAntAction Class

public class StopAntAction

    extends DefaultAction

Put the target key to stop in the ActionEvent's source param. The type and command string are not used, so they can be anything. If a StopAntAction needs to be defined before the Ant target is started, instantiate a StopAntAction with a target key provided by the AntSvc. Here's an example:

String key = AntSvc.get().getTargetKey(antProject, targetName); StopAntAction stopAction = new StopAntAction(key);


Hierarchy
Object
  DefaultAction
    StopAntAction
All Implemented Interfaces

ActionListener, EventListener, IAction, PropertyChangeListener

Field Summary

   
Fields from  com.bea.ide.actions.DefaultAction
_proxy
 

Constructor Summary

StopAntAction()

StopAntAction(AntSvc.AntTargetKey key)

If a StopAntAction needs to be defined before the Ant target is started, instantiate a StopAntAction with a target key provided by the AntSvc.
 

Method Summary

public void
actionPerformed(ActionEvent e)
Put the target key to stop in the ActionEvent's source param.
 
Methods from  com.bea.ide.actions.DefaultAction
getProxy, propertyChange
 
Methods from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
   
Methods from interface java.awt.event.ActionListener
actionPerformed
 
Methods from interface com.bea.ide.actions.IAction
actionPerformed, propertyChange
 
Methods from interface java.beans.PropertyChangeListener
propertyChange
 

Constructor Detail

StopAntAction

public StopAntAction()

StopAntAction

public StopAntAction(AntSvc.AntTargetKey key)
If a StopAntAction needs to be defined before the Ant target is started, instantiate a StopAntAction with a target key provided by the AntSvc. Here's an example:

String key = AntSvc.get().getTargetKey(antProject, targetName); StopAntAction stopAction = new StopAntAction(key);
 

Method Detail

actionPerformed(ActionEvent) Method

public void actionPerformed(ActionEvent e)
Put the target key to stop in the ActionEvent's source param. The type and command string are not used, so they can be anything.

Parameters

e
AWT action event associated with this invocation.