Package org.eclipse.core.commands
Interface IStateListener
- All Known Implementing Classes:
AbstractHandlerWithState
,HandlerServiceHandler
,WorkbenchHandlerServiceHandler
public interface IStateListener
A listener to changes in some state.
Clients may implement, but must not extend this interface.
- Since:
- 3.2
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleStateChange
(State state, Object oldValue) Handles a change to the value in some state.
-
Method Details
-
handleStateChange
Handles a change to the value in some state.- Parameters:
state
- The state that has changed; nevernull
. The value for this state has been updated to the new value.oldValue
- The old value; may be anything.
-