Revision: 5861 http://sourceforge.net/p/jump-pilot/code/5861 Author: ma15569 Date: 2018-06-08 07:37:28 +0000 (Fri, 08 Jun 2018) Log Message: ----------- Added correct getLayerable method
Modified Paths: -------------- core/trunk/src/org/openjump/core/ui/plugin/raster/HistogramPlugIn.java Modified: core/trunk/src/org/openjump/core/ui/plugin/raster/HistogramPlugIn.java =================================================================== --- core/trunk/src/org/openjump/core/ui/plugin/raster/HistogramPlugIn.java 2018-06-08 06:25:57 UTC (rev 5860) +++ core/trunk/src/org/openjump/core/ui/plugin/raster/HistogramPlugIn.java 2018-06-08 07:37:28 UTC (rev 5861) @@ -239,9 +239,9 @@ dialog.pack(); } - private void getDialogValues(MultiInputDialog dialog) { + private final void getDialogValues(MultiInputDialog dialog) { ranges = dialog.getInteger(T2); - selLayer = dialog.getRasterLayer(CLAYER); + selLayer = (RasterImageLayer) dialog.getLayerable(CLAYER); } ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel