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

View differences:

RasterDataset.java
816 816
	}
817 817
	
818 818
	public void resetPercent() {
819
		if (histogram != null)
820
			histogram.resetPercent();
819
		if (histogram != null) histogram.resetPercent();
821 820
	}
821

  
822 822
	public int getPercent() {
823
		if (histogram != null)
824
			return histogram.getPercent();
823
		if (histogram != null) return histogram.getPercent();
825 824
		return 0;
826 825
	}
827
}
826
	
827
	public void setCanceled(boolean value) {
828
		if (histogram != null) histogram.setCanceled(value);
829
	}
830

  
831
	public boolean isCanceled() {
832
		if (histogram != null) return histogram.isCanceled();
833
		return false;
834
	}
835
}

Also available in: Unified diff