org.topbraid.base.progress
Interface ProgressMonitor

All Known Implementing Classes:
NullProgressMonitor, SimpleProgressMonitor

public interface ProgressMonitor

An abstraction of the Eclipse IProgressMonitor for intermediate status messages and the ability to cancel long-running processes.

Author:
Holger Knublauch

Method Summary
 void beginTask(String label, int totalWork)
           
 void done()
           
 boolean isCanceled()
           
 void setCanceled(boolean value)
           
 void setTaskName(String value)
           
 void subTask(String label)
           
 void worked(int amount)
           
 

Method Detail

isCanceled

boolean isCanceled()

beginTask

void beginTask(String label,
               int totalWork)

done

void done()

setCanceled

void setCanceled(boolean value)

setTaskName

void setTaskName(String value)

subTask

void subTask(String label)

worked

void worked(int amount)


Copyright © 2011 TopQuadrant, Inc.. All Rights Reserved.