de.cau.cs.kieler.klots.util
Class LinkProgramProgressMonitor

java.lang.Object
  extended by de.cau.cs.kieler.klots.util.LinkProgramProgressMonitor
All Implemented Interfaces:
ToolProgressMonitor

public class LinkProgramProgressMonitor
extends Object
implements ToolProgressMonitor

Simple implementation of ToolProgressMonitor.

Rating red

Constructor Summary
LinkProgramProgressMonitor(StringBuffer messageBuffer)
           
 
Method Summary
 boolean isCanceled()
          Is tool canceled?.
 void log(String message)
          Notification about some progress information.
 void operation(String message)
          Notification change of operation.
 void progress(int progress)
          Notification about progress.
 void setVerbose(boolean verbose)
          Be verbose?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LinkProgramProgressMonitor

public LinkProgramProgressMonitor(StringBuffer messageBuffer)
Parameters:
messageBuffer -
Method Detail

operation

public void operation(String message)
Notification change of operation.

Specified by:
operation in interface ToolProgressMonitor
Parameters:
message - human readable description of current operation

log

public void log(String message)
Notification about some progress information.

Specified by:
log in interface ToolProgressMonitor
Parameters:
message - human readable message about progress

progress

public void progress(int progress)
Notification about progress.

Specified by:
progress in interface ToolProgressMonitor
Parameters:
progress - progress (0-1000)

isCanceled

public boolean isCanceled()
Is tool canceled?.

Specified by:
isCanceled in interface ToolProgressMonitor
Returns:
boolean

setVerbose

public void setVerbose(boolean verbose)
Be verbose?

Specified by:
setVerbose in interface ToolProgressMonitor
Parameters:
verbose -