public class DriverManager extends Object
| Constructor and Description |
|---|
DriverManager(ErrorHandler errorHandler) |
| Modifier and Type | Method and 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.
|
public DriverManager(ErrorHandler errorHandler)
public List getInputDrivers()
public List getOutputDrivers()
public BasicFileDriverPanel getSharedOpenBasicFileDriverPanel()
public BasicFileDriverPanel getSharedSaveBasicFileDriverPanel()
public void loadDrivers(WorkbenchProperties properties) throws ClassNotFoundException, IllegalAccessException, 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 OutputDriverCopyright © 2015. All rights reserved.