Revision 11068 trunk/libraries/libRaster/src/org/gvsig/raster/dataset/RasterMultiDataset.java

View differences:

RasterMultiDataset.java
874 874

  
875 875
	/*
876 876
	 * (non-Javadoc)
877
	 * @see org.gvsig.raster.util.ICancellable#cancel()
877
	 * @see org.gvsig.raster.util.ICancellable#isCanceled()
878 878
	 */
879
	public void cancel() {
880
		if (histogram != null) histogram.cancel();
879
	public boolean isCanceled() {
880
		if (histogram != null) return histogram.isCanceled();
881
		return false;
881 882
	}
882 883

  
883 884
	/*
884 885
	 * (non-Javadoc)
885
	 * @see org.gvsig.raster.util.ICancellable#isCanceled()
886
	 * @see org.gvsig.raster.util.ICancellable#setCanceled(boolean)
886 887
	 */
887
	public boolean isCanceled() {
888
		if (histogram != null) return histogram.isCanceled();
889
		return false;
888
	public void setCanceled(boolean value) {
889
		if (histogram != null) histogram.setCanceled(value);
890 890
	}
891 891
}

Also available in: Unified diff