| org.eclipse.ui.commands.IElementUpdater
All known Subclasses: org.eclipse.ui.internal.handlers.ToggleCoolbarHandler, org.eclipse.ui.internal.handlers.HandlerProxy,
IElementUpdater | public interface IElementUpdater (Code) | | An IHandler for a command that expects to provide feedback through the
registered element mechanism must implement this interface.
since: 3.3 |
Method Summary | |
public void | updateElement(UIElement element, Map parameters) Whenever the elements for a command are refreshed, this method is called
on the active handler for that command.
Note: Handlers must never cache the element, which can disappear
or be replaced at any time. |
updateElement | public void updateElement(UIElement element, Map parameters)(Code) | | Whenever the elements for a command are refreshed, this method is called
on the active handler for that command.
Note: Handlers must never cache the element, which can disappear
or be replaced at any time. Everybody should go through the
ICommandService refreshElements(*) method.
Parameters: element - An element for a specific UI element. Will not benull . Parameters: parameters - Any parameters registered with the callback. Will not benull , but it may be empty. |
|
|