getPostProcessTask
public Runnable getPostProcessTask(es.unex.sextante.core.GeoAlgorithm alg,
boolean bShowResultsWindow)
Description copied from interface: es.unex.sextante.gui.core.IPostProcessTaskFactory
Returns a task to post-process the given algorithm. This task should take the outputs generated by the algorithm, adding
them to the GUI or doing with them whatever is needed.
To be compatible with the AdditionalResults
class, charts and text result has to be added as java Components. Check
the documentation of that class for more information.
- Specified by:
getPostProcessTask
in interface es.unex.sextante.gui.core.IPostProcessTaskFactory
- Parameters:
alg
- the algorithm to post-processbShowResultsWindow
- if this parameter is true, the task will show the results dialog if the algorithm has produced some kind of
output other than layers or tables. If it is false, those results will be added to the set of current
results, but the results dialog will not be shown
- Returns:
- a task to post-process the given algorithm