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
Answertopia.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 IExecutionListenerWithChecks

All Superinterfaces:
IExecutionListener

public interface IExecutionListenerWithChecks
extends IExecutionListener

A listener to the execution of commands. This listener will be notified if someone tries to execute a command and it is not enabled or not defined. The listener also 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.

Clients may implement, but must not extend.

Since:
3.2

Method Summary
 void notDefined ( String commandId, NotDefinedException exception)
          Notifies the listener that an attempt was made to execute a command that is not defined.
 void notEnabled ( String commandId, NotEnabledException exception)
          Notifies the listener that an attempt was made to execute a command that is disabled.
 
Methods inherited from interface org.eclipse.core.commands. IExecutionListener
notHandled, postExecuteFailure, postExecuteSuccess, preExecute
 

Method Detail

notDefined

void notDefined(
String commandId,
                
NotDefinedException exception)
Notifies the listener that an attempt was made to execute a command that is not defined.

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

notEnabled

void notEnabled(
String commandId,
                
NotEnabledException exception)
Notifies the listener that an attempt was made to execute a command that is disabled.

Parameters:
commandId - The identifier of command that is not enabled; never null
exception - The exception that occurred; 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