net.sf.eclipseexeditor
Class ProgressFilter
java.lang.Object
net.sf.eclipseexeditor.textfilter.Filter
net.sf.eclipseexeditor.ProgressFilter
- public class ProgressFilter
- extends Filter
A Filter which monitors progress using an IProgressMonitor.
- Author:
- David.Biesack@mindspring.com
- See Also:
IProgressMonitor
Constructor Summary |
ProgressFilter(IProgressMonitor progressMonitor,
String filterCommand)
Construct a new Filter which uses the named progressMonitor to monitor a process' execution. |
Method Summary |
protected void |
finishProgess()
|
protected void |
progress(int i)
Called as the filter process makes progress, notably, for each character processed. |
protected void |
startFilterProgess()
Called when the filter process begins running. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ProgressFilter
public ProgressFilter(IProgressMonitor progressMonitor,
String filterCommand)
- Construct a new Filter which uses the named progressMonitor to monitor a process' execution.
- Parameters:
progressMonitor
- the progress monitor which observes the progress of the process executionfilterCommand
- a command string which names the filter to execute
startFilterProgess
protected void startFilterProgess()
- Description copied from class:
Filter
- Called when the filter process begins running.
This is a Template method which subclasses can override
if they wish to monitor the filter process execution.
- Overrides:
startFilterProgess
in class Filter
progress
protected void progress(int i)
- Description copied from class:
Filter
- Called as the filter process makes progress, notably, for each character processed.
(This is of course approximate, as the process may buffer input and/or output.)
This is a Template method which subclasses can override
if they wish to monitor the filter process execution.
- Overrides:
progress
in class Filter
finishProgess
protected void finishProgess()