|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IHandler2
Extend the IHandler interface to provide some context for isEnabled()
requests. Clients should use AbstractHandler unless they need to
provide their own listener mechanism.
AbstractHandler| Method Summary | |
|---|---|
void |
setEnabled(java.lang.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 |
|---|
void setEnabled(java.lang.Object evaluationContext)
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.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.