org.eclipse.cdt.core.parser
Class ParserTimeOut

java.lang.Object
  extended by org.eclipse.cdt.core.parser.ParserTimeOut
All Implemented Interfaces:
java.lang.Runnable

public class ParserTimeOut
extends java.lang.Object
implements java.lang.Runnable

Author:
bgheorgh

Constructor Summary
ParserTimeOut()
           
ParserTimeOut(java.lang.String threadName)
           
 
Method Summary
 int getThreadPriority()
           
 int getTimeout()
           
 boolean isReadyToRun()
           
 void reset()
           
 void run()
           
 void setParser(org.eclipse.cdt.core.parser.IParser c)
           
 void setThreadPriority(int threadPriority)
           
 void setTimeout(int timeout)
           
 void startTimer()
           
 void stopTimer()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParserTimeOut

public ParserTimeOut()

ParserTimeOut

public ParserTimeOut(java.lang.String threadName)
Method Detail

run

public void run()
Specified by:
run in interface java.lang.Runnable

startTimer

public void startTimer()

stopTimer

public void stopTimer()

reset

public void reset()

getThreadPriority

public int getThreadPriority()
Returns:
Returns the threadPriority.

setThreadPriority

public void setThreadPriority(int threadPriority)
Parameters:
threadPriority - The threadPriority to set.

setParser

public void setParser(org.eclipse.cdt.core.parser.IParser c)
Parameters:
pm - The pm to set.

getTimeout

public int getTimeout()
Returns:
Returns the timeout.

setTimeout

public void setTimeout(int timeout)
Parameters:
timeout - The timeout to set.

isReadyToRun

public boolean isReadyToRun()