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 ListgetInputDrivers()ListgetOutputDrivers()BasicFileDriverPanelgetSharedOpenBasicFileDriverPanel()Need to share the file chooser; otherwise, whenever the user switched drivers, he would lose the filename he typed in.BasicFileDriverPanelgetSharedSaveBasicFileDriverPanel()voidloadDrivers(WorkbenchProperties properties)voidloadInputDriver(AbstractInputDriver driver)Loads an instantiated, but not yet initialized, InputDriver, and adds it to the list.voidloadOutputDriver(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
-
-