org.eclipse.ui.commands
public interface IElementUpdater
| Modifier and Type | Method and Description |
|---|---|
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.
|
void updateElement(UIElement element, Map parameters)
Note: Handlers must never cache the element, which can disappear or be replaced at any time. Everybody should go through the ICommandService refreshElements(*) method.
element - An element for a specific UI element. Will not be
null.parameters - Any parameters registered with the callback. Will not be
null, but it may be empty.Guidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.