com.vividsolutions.jump.workbench.driver
Class DriverManager

java.lang.Object
  extended by com.vividsolutions.jump.workbench.driver.DriverManager

public class DriverManager
extends java.lang.Object


Constructor Summary
DriverManager(ErrorHandler errorHandler)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriverManager

public DriverManager(ErrorHandler errorHandler)
Method Detail

getInputDrivers

public java.util.List getInputDrivers()

getOutputDrivers

public java.util.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 java.lang.ClassNotFoundException,
                        java.lang.IllegalAccessException,
                        java.lang.InstantiationException
Throws:
java.lang.ClassNotFoundException
java.lang.IllegalAccessException
java.lang.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