|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
org.eclipse.ohf.stem.ui.ge.GEJob
public class GEJob
Do some of the work in the background This is called by GEInterface to take the collected information about the Simulation and write it as a KML file.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
GEJob(java.lang.String name)
Construct a subclass of Job that will do the longrunning part of the interface in the background. |
Method Summary | |
---|---|
void |
generateKML(java.lang.String fn,
StemKml stemKml,
java.util.Map<java.lang.String,GEData> stemMap,
Aspect aspect,
long cycle,
boolean launch,
boolean rename)
Build the .kml file than will be sent to GoogleEarth We will recieve the information from GEInterface and then schedule the job to be run. |
void |
run()
run method for the new Thread It will write the KML file for GoogleEarth and perhaps launch it to GE. |
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GEJob(java.lang.String name)
name
- Name associated with jobMethod Detail |
---|
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void generateKML(java.lang.String fn, StemKml stemKml, java.util.Map<java.lang.String,GEData> stemMap, Aspect aspect, long cycle, boolean launch, boolean rename)
fn
- File where we write the kmlstemKml
- Object containing info about where and
how to generate the KML.stemMap
- Map of Polygonsaspect
- SEIR Type to be displayedcycle
- current cycle numberlaunch
- true if file should be sent to GoogleEarthrename
- true if file should be written then renamed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |