Class DriverManager
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.driver.DriverManager
-
public class DriverManager extends Object
-
-
Constructor Summary
Constructors Constructor Description DriverManager(ErrorHandler errorHandler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List
getInputDrivers()
List
getOutputDrivers()
BasicFileDriverPanel
getSharedOpenBasicFileDriverPanel()
Need to share the file chooser; otherwise, whenever the user switched drivers, he would lose the filename he typed in.BasicFileDriverPanel
getSharedSaveBasicFileDriverPanel()
void
loadDrivers(WorkbenchProperties properties)
void
loadInputDriver(AbstractInputDriver driver)
Loads an instantiated, but not yet initialized, InputDriver, and adds it to the list.void
loadOutputDriver(AbstractOutputDriver driver)
Loads an instantiated, but not yet initialized OutputDriver, and adds it to the list.
-
-
-
Constructor Detail
-
DriverManager
public DriverManager(ErrorHandler errorHandler)
-
-
Method Detail
-
getInputDrivers
public List getInputDrivers()
-
getOutputDrivers
public List getOutputDrivers()
-
getSharedOpenBasicFileDriverPanel
public BasicFileDriverPanel getSharedOpenBasicFileDriverPanel()
Need to share the file chooser; otherwise, whenever the user switched drivers, he would lose the filename he typed in.
-
getSharedSaveBasicFileDriverPanel
public BasicFileDriverPanel getSharedSaveBasicFileDriverPanel()
-
loadDrivers
public void loadDrivers(WorkbenchProperties properties) throws ClassNotFoundException, IllegalAccessException, InstantiationException
-
loadInputDriver
public void loadInputDriver(AbstractInputDriver driver)
Loads an instantiated, but not yet initialized, InputDriver, and adds it to the list.- Parameters:
driver
- an instantiated but not yet initialed, InputDriver
-
loadOutputDriver
public void loadOutputDriver(AbstractOutputDriver driver)
Loads an instantiated, but not yet initialized OutputDriver, and adds it to the list.- Parameters:
driver
- an instantiated but not yet initialized OutputDriver
-
-