public class MigrationWizard
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
USER_CANCELED_MIGRATION
Key used to track whether the user selected the Yes or No radio button on the Intro page of the wizard.
|
Constructor and Description |
---|
MigrationWizard() |
Modifier and Type | Method and Description |
---|---|
static boolean |
runWizard(java.lang.String title, java.lang.String welcome, java.lang.String summary, TraversableContext context, java.util.List<Step> pages)
Runs the MigrationWizard where users can choose what migration options they want and then migrate their files.
|
public static final java.lang.String USER_CANCELED_MIGRATION
public static boolean runWizard(java.lang.String title, java.lang.String welcome, java.lang.String summary, TraversableContext context, java.util.List<Step> pages)
title
- The title text for the Welcome page of the wizard.welcome
- The description text for the wizard's Welcome page.summary
- Description of the Parametercontext
- The TraversableContext for the wizard. The TraversableContext class provides the means for a Traversable
to find the data objects that it is responsible for editing whenever it is entered or exited.pages
- The list of Step objects specifying the steps in the wizard. Each Step must instantiate a panel that is a subclass of MigrationPanel
in order for the migration wizard to work properly.true
if the user opts to migrate files and finishes the wizard, false
if the user cancels the wizard or chooses not to migrate files and clicks Finish.