com.vividsolutions.jump.workbench
Class JUMPWorkbench

java.lang.Object
  extended by com.vividsolutions.jump.workbench.JUMPWorkbench

public class JUMPWorkbench
extends java.lang.Object

This class is responsible for setting up and displaying the main JUMP workbench window.


Field Summary
static java.lang.String I18N_FILE
           
static java.lang.String I18N_SETLOCALE
           
static java.lang.String INITIAL_PROJECT_FILE
           
static java.lang.String PLUG_IN_DIRECTORY_OPTION
           
static java.lang.String PROPERTIES_OPTION
           
static java.lang.String VERSION_TEXT
           
 
Constructor Summary
JUMPWorkbench(java.lang.String title, java.lang.String[] args, javax.swing.ImageIcon icon, javax.swing.JWindow s, com.vividsolutions.jump.task.TaskMonitor monitor)
           
 
Method Summary
 com.vividsolutions.jump.util.Blackboard getBlackboard()
          Expensive data structures can be cached on the blackboard so that several plug-ins can share them.
 WorkbenchContext getContext()
           
 com.vividsolutions.jump.workbench.driver.DriverManager getDriverManager()
           
 com.vividsolutions.jump.workbench.ui.WorkbenchFrame getFrame()
           
 com.vividsolutions.jump.workbench.plugin.PlugInManager getPlugInManager()
           
 com.vividsolutions.jump.workbench.WorkbenchProperties getProperties()
          The properties file; not to be confused with the WorkbenchContext properties.
 IRendererFactory getRendererFactory()
          Returns the RendererFactory that is used to create Create Renderers for this instance of the JUMP Workbench.
static void main(java.lang.String[] args)
           
static void main(java.lang.String[] args, java.lang.String title, com.vividsolutions.jump.workbench.Setup setup, javax.swing.JComponent splashComponent, com.vividsolutions.jump.task.TaskMonitor taskMonitor)
          setupClass is specified as a String to prevent it from being loaded before we display the splash screen, in case setupClass takes a long time to load.
 void setRendererFactory(IRendererFactory argRendererFactory)
          Use this method to set the RendererFactory used by this instance of the JUMPWorkbench to create Renderers.
static javax.swing.ImageIcon splashImage()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

VERSION_TEXT

public static final java.lang.String VERSION_TEXT

PROPERTIES_OPTION

public static final java.lang.String PROPERTIES_OPTION
See Also:
Constant Field Values

PLUG_IN_DIRECTORY_OPTION

public static final java.lang.String PLUG_IN_DIRECTORY_OPTION
See Also:
Constant Field Values

I18N_FILE

public static final java.lang.String I18N_FILE
See Also:
Constant Field Values

INITIAL_PROJECT_FILE

public static final java.lang.String INITIAL_PROJECT_FILE
See Also:
Constant Field Values

I18N_SETLOCALE

public static java.lang.String I18N_SETLOCALE
Constructor Detail

JUMPWorkbench

public JUMPWorkbench(java.lang.String title,
                     java.lang.String[] args,
                     javax.swing.ImageIcon icon,
                     javax.swing.JWindow s,
                     com.vividsolutions.jump.task.TaskMonitor monitor)
              throws java.lang.Exception
Parameters:
s - a visible SplashWindow to close when initialization is complete and the WorkbenchFrame is opened
Throws:
java.lang.Exception
Method Detail

splashImage

public static javax.swing.ImageIcon splashImage()

main

public static void main(java.lang.String[] args)

main

public static void main(java.lang.String[] args,
                        java.lang.String title,
                        com.vividsolutions.jump.workbench.Setup setup,
                        javax.swing.JComponent splashComponent,
                        com.vividsolutions.jump.task.TaskMonitor taskMonitor)
setupClass is specified as a String to prevent it from being loaded before we display the splash screen, in case setupClass takes a long time to load.

Parameters:
setupClass - the name of a class that implements Setup
splashWindow - a window to open until the workbench frame is displayed
taskMonitor - notified of progress of plug-in loading

getDriverManager

public com.vividsolutions.jump.workbench.driver.DriverManager getDriverManager()

getProperties

public com.vividsolutions.jump.workbench.WorkbenchProperties getProperties()
The properties file; not to be confused with the WorkbenchContext properties.


getFrame

public com.vividsolutions.jump.workbench.ui.WorkbenchFrame getFrame()

getContext

public WorkbenchContext getContext()

getPlugInManager

public com.vividsolutions.jump.workbench.plugin.PlugInManager getPlugInManager()

getBlackboard

public com.vividsolutions.jump.util.Blackboard getBlackboard()
Expensive data structures can be cached on the blackboard so that several plug-ins can share them.


getRendererFactory

public IRendererFactory getRendererFactory()
Returns the RendererFactory that is used to create Create Renderers for this instance of the JUMP Workbench.

Returns:
IRendererFactory

setRendererFactory

public void setRendererFactory(IRendererFactory argRendererFactory)
Use this method to set the RendererFactory used by this instance of the JUMPWorkbench to create Renderers.

Parameters:
argRendererFactory -