Class AddWritableDataStoreLayerWizard
- java.lang.Object
-
- org.openjump.core.ui.swing.wizard.AbstractWizardGroup
-
- org.openjump.core.ui.plugin.datastore.AddWritableDataStoreLayerWizard
-
- All Implemented Interfaces:
WizardGroup
public class AddWritableDataStoreLayerWizard extends AbstractWizardGroup
Add a wizard to the Open dialog to open database connections with read/write capability.
-
-
Constructor Summary
Constructors Constructor Description AddWritableDataStoreLayerWizard(WorkbenchContext workbenchContext, String txManagerName)AddWritableDataStoreLayerWizard(String name, ImageIcon icon, WorkbenchContext workbenchContext, String txManagerName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected LayercreateLayer(AddWritableDataStoreLayerPanel panel, TaskMonitor monitor)StringgetFirstId()static voidload(Layer layer, CoordinateSystemRegistry registry, TaskMonitor monitor)voidrun(WizardDialog dialog, TaskMonitor monitor)-
Methods inherited from class org.openjump.core.ui.swing.wizard.AbstractWizardGroup
addPanel, addPanel, getIcon, getName, getPanels, initialize, removeAllPanels, removePanel
-
-
-
-
Constructor Detail
-
AddWritableDataStoreLayerWizard
public AddWritableDataStoreLayerWizard(String name, ImageIcon icon, WorkbenchContext workbenchContext, String txManagerName)
-
AddWritableDataStoreLayerWizard
public AddWritableDataStoreLayerWizard(WorkbenchContext workbenchContext, String txManagerName)
-
-
Method Detail
-
getFirstId
public String getFirstId()
- Specified by:
getFirstIdin interfaceWizardGroup- Overrides:
getFirstIdin classAbstractWizardGroup
-
run
public void run(WizardDialog dialog, TaskMonitor monitor) throws Exception
- Throws:
Exception
-
createLayer
protected Layer createLayer(AddWritableDataStoreLayerPanel panel, TaskMonitor monitor) throws Exception
- Throws:
Exception
-
load
public static void load(Layer layer, CoordinateSystemRegistry registry, TaskMonitor monitor) throws Exception
- Throws:
Exception
-
-