public class DriverManager
extends java.lang.Object
Constructor and Description |
---|
DriverManager(ErrorHandler errorHandler) |
Modifier and Type | Method and Description |
---|---|
java.util.List |
getInputDrivers() |
java.util.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.
|
public DriverManager(ErrorHandler errorHandler)
public java.util.List getInputDrivers()
public java.util.List getOutputDrivers()
public BasicFileDriverPanel getSharedOpenBasicFileDriverPanel()
public BasicFileDriverPanel getSharedSaveBasicFileDriverPanel()
public void loadDrivers(WorkbenchProperties properties) throws java.lang.ClassNotFoundException, java.lang.IllegalAccessException, java.lang.InstantiationException
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.InstantiationException
public void loadInputDriver(AbstractInputDriver driver)
driver
- an instantiated but not yet initialed, InputDriverpublic void loadOutputDriver(AbstractOutputDriver driver)
driver
- an instantiated but not yet initialized OutputDriver