Class OpenProjectWizard
java.lang.Object
org.openjump.core.ui.swing.wizard.AbstractWizardGroup
org.openjump.core.ui.plugin.file.open.OpenProjectWizard
- All Implemented Interfaces:
WizardGroup
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOpenProjectWizard(WorkbenchContext workbenchContext) Construct a new OpenFileWizard.OpenProjectWizard(WorkbenchContext workbenchContext, File[] files) -
Method Summary
Modifier and TypeMethodDescriptionvoidinitialize(WorkbenchContext workbenchContext, WizardDialog dialog) static voidload(Layer layer, CoordinateSystemRegistry registry, TaskMonitor monitor) static voidloadRasterImageLayer(WorkbenchContext context, RasterImageLayer ril, RasterSymbology symbology, Category category) voidopen(File file, TaskMonitor monitor) voidrun(WizardDialog dialog, TaskMonitor monitor) Load the files selected in the wizard.Methods inherited from class AbstractWizardGroup
addPanel, addPanel, getFirstId, getIcon, getName, getPanels, removeAllPanels, removePanel
-
Field Details
-
KEY
The key for the wizard. -
FILE_CHOOSER_DIRECTORY_KEY
-
-
Constructor Details
-
OpenProjectWizard
Construct a new OpenFileWizard.- Parameters:
workbenchContext- The workbench context.
-
OpenProjectWizard
-
-
Method Details
-
initialize
- Specified by:
initializein interfaceWizardGroup- Overrides:
initializein classAbstractWizardGroup
-
run
Load the files selected in the wizard.- Parameters:
monitor- The task monitor.- Throws:
Exception- if an exception occurs during file opening
-
open
- Throws:
Exception
-
load
public static void load(Layer layer, CoordinateSystemRegistry registry, TaskMonitor monitor) throws Exception - Throws:
Exception
-
loadRasterImageLayer
public static void loadRasterImageLayer(WorkbenchContext context, RasterImageLayer ril, RasterSymbology symbology, Category category) throws Exception - Throws:
Exception
-