This software was developed by the University of Tennessee as part of the Distributed Data Analysis of Neutron Scattering Experiments (DANSE) project funded by the US National Science Foundation.
See the license text in license.txt
copyright 2010, University of Tennessee
This class defines the interface for a Plugin class for calculator perspective
This method is optional.
When the context menu of a plot is rendered, the get_context_menu method will be called to give you a chance to add a menu item to the context menu.
A ref to a Graph object is passed so that you can investigate the plot content and decide whether you need to add items to the context menu.
This method returns a list of menu items. Each item is itself a list defining the text to appear in the menu, a tool-tip help text, and a call-back method.
@param graph: the Graph object to which we attach the context menu @return: a list of menu items with call-back function
Create and return the list of wx.Panels for your plug-in. Define the plug-in perspective.
Panels should inherit from DefaultPanel defined below, or should present the same interface. They must define “window_caption” and “window_name”.
@param parent: parent window @return: list of panels
Create and return the list of application menu items for the plug-in.
@param id: deprecated. Un-used. @param parent: parent window @return: plug-in menu