org.openjump.core.ui.plugin.file.open
Class OpenFileWizard

java.lang.Object
  extended by org.openjump.core.ui.swing.wizard.AbstractWizardGroup
      extended by org.openjump.core.ui.plugin.file.open.OpenFileWizard
All Implemented Interfaces:
WizardGroup

public class OpenFileWizard
extends AbstractWizardGroup


Field Summary
static java.lang.String KEY
          The key for the wizard.
 
Constructor Summary
OpenFileWizard(WorkbenchContext workbenchContext)
          Construct a new OpenFileWizard.
OpenFileWizard(WorkbenchContext workbenchContext, java.io.File[] files)
           
 
Method Summary
 java.lang.String getFirstId()
           
 void initialize(WorkbenchContext workbenchContext, WizardDialog dialog)
           
 void run(WizardDialog dialog, TaskMonitor monitor)
          Load the files selected in the wizard.
 
Methods inherited from class org.openjump.core.ui.swing.wizard.AbstractWizardGroup
addPanel, addPanel, getIcon, getName, getPanels, removeAllPanels, removePanel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

KEY

public static final java.lang.String KEY
The key for the wizard.

Constructor Detail

OpenFileWizard

public OpenFileWizard(WorkbenchContext workbenchContext)
Construct a new OpenFileWizard.

Parameters:
workbenchContext - The workbench context.

OpenFileWizard

public OpenFileWizard(WorkbenchContext workbenchContext,
                      java.io.File[] files)
Method Detail

initialize

public void initialize(WorkbenchContext workbenchContext,
                       WizardDialog dialog)
Specified by:
initialize in interface WizardGroup
Overrides:
initialize in class AbstractWizardGroup

getFirstId

public java.lang.String getFirstId()
Specified by:
getFirstId in interface WizardGroup
Overrides:
getFirstId in class AbstractWizardGroup

run

public void run(WizardDialog dialog,
                TaskMonitor monitor)
Load the files selected in the wizard.

Parameters:
monitor - The task monitor.