public class UsageModeDataGatherer extends java.lang.Object implements DataGatherer, ProgressMonitor
ProgressMonitor.Progress
Constructor and Description |
---|
UsageModeDataGatherer(DrawingStepHandler stepHandler,
UsageMode usageMode) |
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activates the gathering of data.
|
void |
deactivate()
Deactivates the gathering of data.
|
java.util.List<Data> |
getGatheredData()
Gets the gathered data.
|
void |
monitor(ProgressMonitor.Progress progress) |
public UsageModeDataGatherer(DrawingStepHandler stepHandler, UsageMode usageMode)
public void activate()
DataGatherer
activate
in interface DataGatherer
public void deactivate()
DataGatherer
DataGatherer#getJsonData()
method. However, no new data will be gathered.deactivate
in interface DataGatherer
public java.util.List<Data> getGatheredData()
DataGatherer
getGatheredData
in interface DataGatherer
public void monitor(ProgressMonitor.Progress progress)
monitor
in interface ProgressMonitor