public interface IContextMenuContributionTool (Code)
If the currently active ModalTool implements this interface
the MapEditor asks it to contribute to the context menu programmatically.
author: Vitalus since: UDIG 1.1.0
Method Summary
public void
contributeContextMenu(List<IContributionItem> contributions) The ModalTool may implement this method to contribute
programmatially to the context menu on the MapEditor.
Method Detail
contributeContextMenu
public void contributeContextMenu(List<IContributionItem> contributions)(Code)
The ModalTool may implement this method to contribute
programmatially to the context menu on the MapEditor.
For the contribution of IAction use
contributions.add(new ActionContributionItem(IAction)).
Parameters: contributions -