org.graffiti.plugin.tool
Interface ToolPopupMenuProvider


public interface ToolPopupMenuProvider

Classes implementing ToolPopupMenuProvider know how to edit customizable tools. When the user right-clicks on a tool button, a popup menu is shown, which contains the actions provided by ToolPopupMenuProvider.

Version:
$Revision$ $Date$
Author:
Andreas Gleißner
See Also:
ToolButton

Method Summary
 GraffitiAction provideActionForTool(Tool<?> tool)
          Returns an action related to the specified tool.
 

Method Detail

provideActionForTool

GraffitiAction provideActionForTool(Tool<?> tool)
Returns an action related to the specified tool. This action will be added to the context menu that is shown when the user right-clicks on the tool button of the specified tool.

Parameters:
tool - the tool for which the action to return.
Returns:
an action related to the specified tool.


Generated at 2012-05-30 11:00:36 PM CEST