public interface ExternalToolListener
extends java.util.EventListener
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)
.
Modifier and Type | Method and Description |
---|---|
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.
|
void toolWillStart(ExternalToolEvent event) throws ExternalToolVetoException
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.
event
- an event containing information about the tool.ExternalToolVetoException
- if this listener wishes to veto
execution of the tool.void toolStarted(ExternalToolEvent event)
event
- an event containing information about the tool.