com.borland.primetime.wizard
Class WizardManager

java.lang.Object
  |
  +--com.borland.primetime.wizard.WizardManager

public class WizardManager
extends java.lang.Object

The WizardManager contains only static methods. Each tool registering with it supplies a reference to its WizardAction. Based on this information, it is either assigned to the Object Gallery or the Wizards menu in the order registered. Since the Object Gallery is a tabbed dialog, the WizardAction may specify the name of the tab the wizard wants to appear. If that tab did not already exist, it would be created automatically.

If the -verbose command line option was specified at startup, each successful registration is displayed in the console output.


Field Summary
static ActionGroup GROUP_Gallery
           
static ActionGroup GROUP_Wizards
           
 
Constructor Summary
WizardManager()
           
 
Method Summary
static void initialize()
          Defer initialization of Wizard OpenTools until the first time they are needed.
static void registerWizardAction(WizardAction wizard)
           Registers a WizardAction (and its associated Wizard) with the Browser.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

GROUP_Gallery

public static ActionGroup GROUP_Gallery

GROUP_Wizards

public static final ActionGroup GROUP_Wizards
Constructor Detail

WizardManager

public WizardManager()
Method Detail

initialize

public static void initialize()
Defer initialization of Wizard OpenTools until the first time they are needed.

registerWizardAction

public static void registerWizardAction(WizardAction wizard)

Registers a WizardAction (and its associated Wizard) with the Browser.

WizardActions that have their 'galleryWizard' property set to true are placed in the Gallery list. If the 'galleryWizard' property is false, the WizardAction is placed on the regular Wizards list. In either case, the WizardAction is put in the approprate category based on the WizardAction's 'category' (String) property setting. WizardActions with no 'category' setting are placed in the 'New' list in the Gallery, or on the top-level of the Wizards list.

Parameters:
wizard - The WizardAction to register with the Browser.