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.ui.commands
Interface IHandler


Deprecated. Please use the "org.eclipse.core.commands" plug-in instead.

public interface IHandler

A handler is the pluggable piece of a command that handles execution. Each command can have zero or more handlers associated with it (in general), of which only one will be active at any given moment in time. When the command is asked to execute, it will simply pass that request on to its active handler, if any.

This interface is not intended to be extended by clients.

Since:
3.0
See Also:
IHandler

Method Summary
 void addHandlerListener ( IHandlerListener handlerListener)
          Deprecated. Registers an instance of IHandlerListener to listen for changes to properties of this instance.
 void dispose ()
          Deprecated. Disposes of this handler.
  Object execute ( Map parameterValuesByName)
          Deprecated. Executes with the map of parameter values by name.
  Map getAttributeValuesByName ()
          Deprecated. Returns the map of attribute values by name.
 void removeHandlerListener ( IHandlerListener handlerListener)
          Deprecated. Unregisters an instance of IPropertyListener listening for changes to properties of this instance.
 

Method Detail

addHandlerListener

void addHandlerListener(
IHandlerListener handlerListener)
Deprecated. 
Registers an instance of IHandlerListener to listen for changes to properties of this instance.

Parameters:
handlerListener - the instance to register. Must not be null. If an attempt is made to register an instance which is already registered with this instance, no operation is performed.

dispose

void dispose()
Deprecated. 
Disposes of this handler. This method is run once when the object is no longer referenced. This can be used as an opportunity to unhook listeners from other objects.


execute


Object execute(
Map parameterValuesByName)
               throws 
ExecutionException
Deprecated. 
Executes with the map of parameter values by name.

Parameters:
parameterValuesByName - the map of parameter values by name. Reserved for future use, must be null.
Returns:
the result of the execution. Reserved for future use, must be null.
Throws:
ExecutionException - if an exception occurred during execution.

getAttributeValuesByName


Map getAttributeValuesByName()
Deprecated. 
Returns the map of attribute values by name.

Notification is sent to all registered listeners if this property changes.

Returns:
the map of attribute values by name. This map may be empty, but is guaranteed not to be null. If this map is not empty, its collection of keys is guaranteed to only contain instances of String.

removeHandlerListener

void removeHandlerListener(
IHandlerListener handlerListener)
Deprecated. 
Unregisters an instance of IPropertyListener listening for changes to properties of this instance.

Parameters:
handlerListener - the instance to unregister. Must not be null. If an attempt is made to unregister an instance which is not already registered with this instance, no operation is performed.

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