net.refractions.udig.project.ui.tool
Interface IContextMenuContributionTool


public interface IContextMenuContributionTool

If the currently active ModalTool implements this interface the MapEditor asks it to contribute to the context menu programmatically.

Since:
UDIG 1.1.0
Author:
Vitalus

Method Summary
 void contributeContextMenu(java.util.List<IContributionItem> contributions)
          The ModalTool may implement this method to contribute programmatially to the context menu on the MapEditor.
 

Method Detail

contributeContextMenu

void contributeContextMenu(java.util.List<IContributionItem> contributions)
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 -