public class NullProgressMonitor extends Object implements IProgressMonitor
Constructor and Description |
---|
NullProgressMonitor() |
Modifier and Type | Method and Description |
---|---|
void |
end()
Ends up the progress.
|
void |
setDescription(String description)
Sets a description with information about what is currently being done by
the job
|
void |
setPosition(int position)
Sets the position of the progress monitor to position.
|
void |
start(int steps)
Called to initialize the progress monitor.
|
void |
step()
Increments the progress monitor by one.
|
void |
step(String description)
Increments the progress monitor by one and also sets a description of
what is currently being done by the job.
|
public void end()
IProgressMonitor
end
in interface IProgressMonitor
public void setDescription(String description)
IProgressMonitor
setDescription
in interface IProgressMonitor
description
- description what the job actual doespublic void setPosition(int position)
IProgressMonitor
setPosition
in interface IProgressMonitor
position
- the position to which the progress should be setpublic void start(int steps)
IProgressMonitor
start
in interface IProgressMonitor
steps
- count of steps that are needed to complete the jobpublic void step()
IProgressMonitor
step
in interface IProgressMonitor
public void step(String description)
IProgressMonitor
step
in interface IProgressMonitor
description
- description what the job actual does