wood.keith.opentools.otnode
Class OTPopupMenu

public class OTPopupMenu
extends ActionPopupMenu
A popup menu for the OpenTools node structure pane that lets you add new categories.
Version:
1.0 12 September 2001
1.1 19 February 2002
Author:
Keith Wood (kbwood@iprimus.com.au)
Constructor Detail

OTPopupMenu

public OTPopupMenu(OTStructure structure)
Create the menu from the standard list of actions.
Parameters:
structure - the object that extracts the current state of the node

Method Detail

initOpenTool

public static void initOpenTool(byte majorVersion,
                                byte minorVersion)
When the OpenTool add-ins are loaded, a ContextActionProvider is registered for the EditorPane.
Parameters:
majorVersion - the major version of the current OpenTools API
minorVersion - the minor version of the current OpenTools API

show

public void show(Component invoker,
                 int x,
                 int y)
Update the contained actions based on the current structure settings.