Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.core.commands
Interface IExecutionListener

All Known Subinterfaces:
IExecutionListenerWithChecks

public interface IExecutionListener

A listener to the execution of commands. This listener will be notified if a command is about to execute, and when that execution completes. It is not possible for the listener to prevent the execution, only to respond to it in some way.

Since:
3.1

Method Summary
 void notHandled ( String commandId, NotHandledException exception)
          Notifies the listener that an attempt was made to execute a command with no handler.
 void postExecuteFailure ( String commandId, ExecutionException exception)
          Notifies the listener that a command has failed to complete execution.
 void postExecuteSuccess ( String commandId, Object returnValue)
          Notifies the listener that a command has completed execution successfully.
 void preExecute ( String commandId, ExecutionEvent event)
          Notifies the listener that a command is about to execute.
 

Method Detail

notHandled

void notHandled(
String commandId,
                
NotHandledException exception)
Notifies the listener that an attempt was made to execute a command with no handler.

Parameters:
commandId - The identifier of command that is not handled; never null
exception - The exception that occurred; never null.

postExecuteFailure

void postExecuteFailure(
String commandId,
                        
ExecutionException exception)
Notifies the listener that a command has failed to complete execution.

Parameters:
commandId - The identifier of the command that has executed; never null.
exception - The exception that occurred; never null.

postExecuteSuccess

void postExecuteSuccess(
String commandId,
                        
Object returnValue)
Notifies the listener that a command has completed execution successfully.

Parameters:
commandId - The identifier of the command that has executed; never null.
returnValue - The return value from the command; may be null.

preExecute

void preExecute(
String commandId,
                
ExecutionEvent event)
Notifies the listener that a command is about to execute.

Parameters:
commandId - The identifier of the command that is about to execute, never null.
event - The event that will be passed to the execute method; never null.

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire