Revision 11423 trunk/extensions/extRasterTools-SE/src/org/gvsig/rastertools/histogram/HistogramProcess.java
HistogramProcess.java | ||
---|---|---|
66 | 66 |
public void run() { |
67 | 67 |
try { |
68 | 68 |
// Definimos que no esta cancelado para que no termine antes de empezar. |
69 |
iHistogramable.setCanceled(false); |
|
69 |
iHistogramable.setCanceled(false, IHistogramable.CANCEL_HISTOGRAM);
|
|
70 | 70 |
// Proceso duro de obtener un histograma. Puede durar bastante tiempo. |
71 | 71 |
Histogram histogram = iHistogramable.getHistogram(); |
72 | 72 |
// Ya tenemos el histograma y lo representamos en la ventana |
... | ... | |
125 | 125 |
* @see org.gvsig.gui.beans.incrementabletask.IncrementableListener#actionCanceled(org.gvsig.gui.beans.incrementabletask.IncrementableEvent) |
126 | 126 |
*/ |
127 | 127 |
public void actionCanceled(IncrementableEvent e) { |
128 |
iHistogramable.setCanceled(true); |
|
128 |
iHistogramable.setCanceled(true, IHistogramable.CANCEL_HISTOGRAM);
|
|
129 | 129 |
} |
130 | 130 |
|
131 | 131 |
/* |
Also available in: Unified diff