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

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

public class OpenProjectWizard
extends AbstractWizardGroup


Field Summary
static java.lang.String KEY
          The key for the wizard.
 
Constructor Summary
OpenProjectWizard(WorkbenchContext workbenchContext)
          Construct a new OpenFileWizard.
OpenProjectWizard(WorkbenchContext workbenchContext, java.io.File[] files)
           
 
Method Summary
 void initialize(WorkbenchContext workbenchContext, WizardDialog dialog)
           
static void load(Layer layer, CoordinateSystemRegistry registry, TaskMonitor monitor)
           
 void open(java.io.File file, TaskMonitor monitor)
           
 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, getFirstId, 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

OpenProjectWizard

public OpenProjectWizard(WorkbenchContext workbenchContext)
Construct a new OpenFileWizard.

Parameters:
workbenchContext - The workbench context.

OpenProjectWizard

public OpenProjectWizard(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

run

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

Parameters:
monitor - The task monitor.

open

public void open(java.io.File file,
                 TaskMonitor monitor)

load

public static void load(Layer layer,
                        CoordinateSystemRegistry registry,
                        TaskMonitor monitor)
                 throws java.lang.Exception
Throws:
java.lang.Exception