public class PovMessageThread
extends java.lang.Thread
Thread used for reading the console files generated by Povray.
Each line of the file is send to the
PovrayRenderView
.
Constructor and Description |
---|
PovMessageThread(RenderThread renderThread,
java.io.File file,
java.lang.String classification,
RenderMessagesView view)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.io.File |
getFile() |
int |
getLineCount() |
boolean |
isReadFinished() |
void |
run_fetching()
Deprecated.
|
void |
run() |
void |
stopExecution()
Hook for stopping the thread execution externally.
|
activeCount, checkAccess, clone, 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
public PovMessageThread(RenderThread renderThread, java.io.File file, java.lang.String classification, RenderMessagesView view)
renderThread
- The Povray rendering thread to be watched.file
- The file to be watchedclassification
- The file Classification, use the
org.povclipse2.thread.RenderThread.MESSAGE_KEY_FILE_*
constants!view
- The Instance of the Povray Render View the file content is sent to.public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public void run_fetching()
public void stopExecution()
public java.io.File getFile()
public boolean isReadFinished()
true
if the file procession is completed,
false
if it is still running.public int getLineCount()