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 IHandler2

All Superinterfaces:
IHandler
All Known Implementing Classes:
AbstractHandler, AbstractHandler, AbstractHandlerWithState, ActionHandler, ActionHandler, CollapseAllHandler, FileBufferOperationHandler, MarkerViewHandler, MergeActionHandler, NewPropertySheetHandler, ShowPerspectiveHandler, ShowViewHandler

public interface IHandler2
extends IHandler

Extend the IHandler interface to provide some context for isEnabled() requests. Clients should use AbstractHandler unless they need to provide their own listener mechanism.

Since:
3.4
See Also:
AbstractHandler

Method Summary
 void setEnabled ( Object evaluationContext)
          Called by the framework to allow the handler to update its enabled state.
 
Methods inherited from interface org.eclipse.core.commands. IHandler
addHandlerListener, dispose, execute, isEnabled, isHandled, removeHandlerListener
 

Method Detail

setEnabled

void setEnabled(
Object evaluationContext)
Called by the framework to allow the handler to update its enabled state.

Parameters:
evaluationContext - the state to evaluate against. May be null which indicates that the handler can query whatever model that is necessary. This context must not be cached.

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