Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


oracle.ide.externaltools
Interface ExternalToolListener

All Superinterfaces:
java.util.EventListener

public interface ExternalToolListener
extends java.util.EventListener

Listener interface for clients that will be notified when an external tool is about to start executing, and when is has been launched.

Note that there are no guarantees about the thread on which these events are sent. If you perform operations on Swing components as a result of receiving an event from this interface, you should serialize those operations on the event dispatch thread using EventQueue.invokeLater(Runnable).

Since:
11.1.1.0.1

Method Summary
 void toolStarted(ExternalToolEvent event)
          Indicates that execution of an external tool has begun.
 void toolWillStart(ExternalToolEvent event)
          Indicates that execution of an external tool is about to start.

 

Method Detail

toolWillStart

void toolWillStart(ExternalToolEvent event)
                   throws ExternalToolVetoException
Indicates that execution of an external tool is about to start.

Any listener may veto execution of the tool by throwing an ExternalToolVetoException. Support for vetoing tools is optional - it may not be supported by every registered tool type.

Parameters:
event - an event containing information about the tool.
Throws:
ExternalToolVetoException - if this listener wishes to veto execution of the tool.

toolStarted

void toolStarted(ExternalToolEvent event)
Indicates that execution of an external tool has begun.
Parameters:
event - an event containing information about the tool.

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.3.0)

E17493-04


Copyright © 1997, 2012, Oracle. All rights reserved.