Class JUMPWorkbench
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.JUMPWorkbench
-
public class JUMPWorkbench extends Object
This class is responsible for setting up and displaying the main JUMP workbench window.
-
-
Field Summary
Fields Modifier and Type Field Description static StringPLUG_IN_DIRECTORY_OPTIONstatic StringPROPERTIES_OPTIONstatic StringVERSION_TEXT
-
Constructor Summary
Constructors Constructor Description JUMPWorkbench(String title, String[] args, ImageIcon icon, JWindow s, TaskMonitor monitor)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BlackboardgetBlackboard()Expensive data structures can be cached on the blackboard so that several plug-ins can share them.WorkbenchContextgetContext()DriverManagergetDriverManager()WorkbenchFramegetFrame()PlugInManagergetPlugInManager()WorkbenchPropertiesgetProperties()The properties file; not to be confused with the WorkbenchContext properties.static voidmain(String[] args)static voidmain(String[] args, String title, Setup setup, JComponent splashComponent, 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.static ImageIconsplashImage()
-
-
-
Field Detail
-
VERSION_TEXT
public static final String VERSION_TEXT
- See Also:
- Constant Field Values
-
PROPERTIES_OPTION
public static final String PROPERTIES_OPTION
- See Also:
- Constant Field Values
-
PLUG_IN_DIRECTORY_OPTION
public static final String PLUG_IN_DIRECTORY_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
splashImage
public static ImageIcon splashImage()
-
main
public static void main(String[] args)
-
main
public static void main(String[] args, String title, Setup setup, JComponent splashComponent, 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 SetupsplashWindow- a window to open until the workbench frame is displayedtaskMonitor- notified of progress of plug-in loading
-
getDriverManager
public DriverManager getDriverManager()
-
getProperties
public WorkbenchProperties getProperties()
The properties file; not to be confused with the WorkbenchContext properties.
-
getFrame
public WorkbenchFrame getFrame()
-
getContext
public WorkbenchContext getContext()
-
getPlugInManager
public PlugInManager getPlugInManager()
-
getBlackboard
public Blackboard getBlackboard()
Expensive data structures can be cached on the blackboard so that several plug-ins can share them.
-
-