Revision: 4463
          http://sourceforge.net/p/jump-pilot/code/4463
Author:   ma15569
Date:     2015-05-23 19:26:29 +0000 (Sat, 23 May 2015)
Log Message:
-----------
Added Color intervals option

Modified Paths:
--------------
    core/trunk/src/language/jump.properties
    core/trunk/src/language/jump_cz.properties
    core/trunk/src/language/jump_de.properties
    core/trunk/src/language/jump_es.properties
    core/trunk/src/language/jump_fi.properties
    core/trunk/src/language/jump_fr.properties
    core/trunk/src/language/jump_hu.properties
    core/trunk/src/language/jump_it.properties
    core/trunk/src/language/jump_ja_JP.properties
    core/trunk/src/language/jump_ml.properties
    core/trunk/src/language/jump_pt.properties
    core/trunk/src/language/jump_pt_BR.properties
    core/trunk/src/language/jump_ta_IN.properties
    core/trunk/src/language/jump_te.properties
    core/trunk/src/language/jump_zh_CN.properties
    core/trunk/src/language/jump_zh_HK.properties
    
core/trunk/src/org/openjump/core/ui/plugin/layer/pirolraster/panel/RasterColorEditorPanel.java
    
core/trunk/src/org/openjump/core/ui/plugin/raster/nodata/ChangeRangeValuesToNoDataPlugIn.java

Modified: core/trunk/src/language/jump.properties
===================================================================
--- core/trunk/src/language/jump.properties     2015-05-23 17:58:41 UTC (rev 
4462)
+++ core/trunk/src/language/jump.properties     2015-05-23 19:26:29 UTC (rev 
4463)
@@ -1121,6 +1121,7 @@
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.no-data-value-color
 = no-data value color
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Invert-colors= 
Invert colors
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Set-values-outside-transparent=Set
 values outside the range to transparent
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Intervals=Show
 colors as intervals
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-SLD
 = The next step is to select the SLD that was\n\
        \tgenerated by ArcMap2SLD.
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-Tool
 = To be able to use the external program ArcMap2SLD,\n\

Modified: core/trunk/src/language/jump_cz.properties
===================================================================
--- core/trunk/src/language/jump_cz.properties  2015-05-23 17:58:41 UTC (rev 
4462)
+++ core/trunk/src/language/jump_cz.properties  2015-05-23 19:26:29 UTC (rev 
4463)
@@ -1093,6 +1093,7 @@
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.no-data-value-color
 = barva pro bu\u0148ky bez hodnoty
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Invert-colors= 
\#T\:Invert colors
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Set-values-outside-transparent=\#T\:Set
 values outside the range to transparent
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Intervals=\#T\:Show
 colors as intervals
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-SLD
 = N\u00E1sleduj\u00EDc\u00ED krok je vybrat SLD kter\u00E9 bylo\n\
        \tvygenerov\u00E1no s pomoc\u00ED ArcMap2SLD.
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-Tool
 = Aby bylo mo\u017Eno vyu\u017E\u00EDvat extern\u00ED program ArcMap2SLD,\n\

Modified: core/trunk/src/language/jump_de.properties
===================================================================
--- core/trunk/src/language/jump_de.properties  2015-05-23 17:58:41 UTC (rev 
4462)
+++ core/trunk/src/language/jump_de.properties  2015-05-23 19:26:29 UTC (rev 
4463)
@@ -1094,6 +1094,7 @@
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.no-data-value-color
 = Farbe f\u00fcr no-data Werte
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Invert-colors= 
\#T\:Invert colors
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Set-values-outside-transparent=\#T\:Set
 values outside the range to transparent
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Intervals=\#T\:Show
 colors as intervals
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-SLD
 = Der n\u00e4chste Schritt ist, das von ArcMap2SLD\n\
        \tgenerierte SLD auszuw\u00e4hlen.
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-Tool
 = Um das externe Programm ArcMap2SLD benutzen zu k\u00f6nnen,\n\

Modified: core/trunk/src/language/jump_es.properties
===================================================================
--- core/trunk/src/language/jump_es.properties  2015-05-23 17:58:41 UTC (rev 
4462)
+++ core/trunk/src/language/jump_es.properties  2015-05-23 19:26:29 UTC (rev 
4463)
@@ -995,6 +995,7 @@
 org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.To-value=Al 
valor
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Invert-colors= 
Invertir colores
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Set-values-outside-transparent=Definir
 los valores fuera del rango a transparente
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Intervals=Mostrar
 colores como intervalos
 
org.openjump.core.ui.plugin.raster.CreateLatticeFromSelectedImageLayerPlugIn.Create-Lattice-from-Raster=Crear
 una malla de puntos del raster
 
org.openjump.core.ui.plugin.raster.CreateLatticeFromSelectedImageLayerPlugIn.creating-points=creando
 puntos
 
org.openjump.core.ui.plugin.raster.CreateLatticeFromSelectedImageLayerPlugIn.lattice=Malla_pts

Modified: core/trunk/src/language/jump_fi.properties
===================================================================
--- core/trunk/src/language/jump_fi.properties  2015-05-23 17:58:41 UTC (rev 
4462)
+++ core/trunk/src/language/jump_fi.properties  2015-05-23 19:26:29 UTC (rev 
4463)
@@ -1027,6 +1027,7 @@
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Set-values-outside-transparent=Aseta
 arvov\u00E4lin ulkopuoliset arvot l\u00E4pin\u00E4kyviksi
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Toggle-transparency-for-no-data-values=Vaihda
 puuttuvan tiedon alueiden l\u00E4pin\u00E4kyvyytt\u00E4
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.To-value=Yl\u00E4raja\:
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Intervals=\#T\:Show
 colors as intervals
 
org.openjump.core.ui.plugin.raster.CreateLatticeFromSelectedImageLayerPlugIn.Create-Lattice-from-Raster=Tee
 rasterikuvasta pistehila
 
org.openjump.core.ui.plugin.raster.CreateLatticeFromSelectedImageLayerPlugIn.creating-points=luodaan
 pisteit\u00E4
 
org.openjump.core.ui.plugin.raster.CreateLatticeFromSelectedImageLayerPlugIn.lattice=Pistehila

Modified: core/trunk/src/language/jump_fr.properties
===================================================================
--- core/trunk/src/language/jump_fr.properties  2015-05-23 17:58:41 UTC (rev 
4462)
+++ core/trunk/src/language/jump_fr.properties  2015-05-23 19:26:29 UTC (rev 
4463)
@@ -1096,6 +1096,7 @@
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.no-data-value-color
 = couleur des cellules sans valeur
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Invert-colors= 
\#T\:Invert colors
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Set-values-outside-transparent=\#T\:Set
 values outside the range to transparent
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Intervals=\#T\:Show
 colors as intervals
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-SLD
 = L'\u00e9tape suivante consiste \u00e0 s\u00e9lectionner le fichier SLD \n\
        \tgener\u00e9 par ArcMap2SLD.
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-Tool
 = Pour utiliser le programme externe ArcMap2SLD,\n\

Modified: core/trunk/src/language/jump_hu.properties
===================================================================
--- core/trunk/src/language/jump_hu.properties  2015-05-23 17:58:41 UTC (rev 
4462)
+++ core/trunk/src/language/jump_hu.properties  2015-05-23 19:26:29 UTC (rev 
4463)
@@ -1094,6 +1094,7 @@
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.no-data-value-color
 = "nincs adat" \u00E9rt\u00E9k sz\u00EDne
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Invert-colors= 
\#T\:Invert colors
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Set-values-outside-transparent=\#T\:Set
 values outside the range to transparent
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Intervals=\#T\:Show
 colors as intervals
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-SLD
 = A k\u00F6vetkez\u0151 l\u00E9p\u00E9sben ki kell v\u00E1lasztanod az\n\
        \tArcMap2SLD \u00E1ltal gener\u00E1lt SLD-t.
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-Tool
 = Az ArcMap2SLD program haszn\u00E1lat\u00E1hoz k\u00E9rlek, add meg\n\

Modified: core/trunk/src/language/jump_it.properties
===================================================================
--- core/trunk/src/language/jump_it.properties  2015-05-23 17:58:41 UTC (rev 
4462)
+++ core/trunk/src/language/jump_it.properties  2015-05-23 19:26:29 UTC (rev 
4463)
@@ -995,6 +995,7 @@
 org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.To-value=Al 
valore
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Invert-colors= 
Inverti colori
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Set-values-outside-transparent=Imposta
 i valori esterni all'intervallo come trasparenti
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Intervals=Mostra
 i colori come intervalli
 
org.openjump.core.ui.plugin.raster.CreateLatticeFromSelectedImageLayerPlugIn.Create-Lattice-from-Raster=Crea
 una griglia di punti dal Raster
 
org.openjump.core.ui.plugin.raster.CreateLatticeFromSelectedImageLayerPlugIn.creating-points=creando
 punti
 
org.openjump.core.ui.plugin.raster.CreateLatticeFromSelectedImageLayerPlugIn.lattice=Griglia-pts

Modified: core/trunk/src/language/jump_ja_JP.properties
===================================================================
--- core/trunk/src/language/jump_ja_JP.properties       2015-05-23 17:58:41 UTC 
(rev 4462)
+++ core/trunk/src/language/jump_ja_JP.properties       2015-05-23 19:26:29 UTC 
(rev 4463)
@@ -1092,6 +1092,7 @@
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.no-data-value-color
 = \#T\:no-data value color
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Invert-colors= 
\#T\:Invert colors
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Set-values-outside-transparent=\#T\:Set
 values outside the range to transparent
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Intervals=\#T\:Show
 colors as intervals
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-SLD
 = \u6B21\u306E\u30B9\u30C6\u30C3\u30D7\u3067 ArcMap2SLD 
\u306E\u751F\u6210\u3057\u305F SLD \u3092\u9078\u629E\u3057\u307E\u3059.
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-Tool
 = \u5916\u90E8\u30D7\u30ED\u30B0\u30E9\u30E0 ArcMap2SLD, 
\u3092\u5229\u7528\u3059\u308B\u306B\u306F\n\
        
\t\u6B21\u306E\u30C0\u30A4\u30A2\u30ED\u30B0\u3067\u5834\u6240\u3092\u6307\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044.

Modified: core/trunk/src/language/jump_ml.properties
===================================================================
--- core/trunk/src/language/jump_ml.properties  2015-05-23 17:58:41 UTC (rev 
4462)
+++ core/trunk/src/language/jump_ml.properties  2015-05-23 19:26:29 UTC (rev 
4463)
@@ -1429,28 +1429,29 @@
 
org.openjump.core.ui.plugin.raster.nodata.ChangeRangeValuesToNoDataPlugIn.change=\#T\:Change
 this range of values
 
org.openjump.core.ui.plugin.raster.nodata.ChangeRangeValuesToNoDataPlugIn.tooltips=\#T\:Enable
 to extract only the input range of values
 
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Black-White = 
\#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Green-Red
 = \#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Red = 
\#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Default-colors
 = \#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Green-Yellow-Red
 = \#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.No-data-color 
= \#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Rainbow = 
\#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Red-Blue = 
\#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Transparency 
= \#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.White-Black = 
\#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Choose-a-color-range-It-will-be-automaticaly-expanded-between-the-2-values
 = \#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Choose-other-color-for-no-data-values
 = \#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Color-range = 
\#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.From-value = 
\#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Raster-Color-Editor
 = \#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Select-color 
= \#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Selected-Layer
 = \#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.To-value = 
\#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Toggle-transparency-for-no-data-values
 = \#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.change = \#T\:
-org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.no-data-value-color
 = \#T\:
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Black-White = 
Black-White
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Green-Red
 = Blue-Green-Red
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Blue-Red = 
Blue-Red
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Default-colors
 = Default colors
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Green-Yellow-Red
 = Green-Yellow-Red
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.No-data-color 
= no-data color [not working yet]
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Rainbow = 
Rainbow
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Red-Blue = 
Red-Blue
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Transparency 
= Transparency [not working yet]
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.White-Black = 
White-Black
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Choose-a-color-range-It-will-be-automaticaly-expanded-between-the-2-values
 = Choose a color range. It will be automaticaly expanded between the two 
values.
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Choose-other-color-for-no-data-values
 = Choose other color for no data values.
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Color-range = 
Color range
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.From-value = 
From value
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Raster-Color-Editor
 = Raster Color Editor
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Select-color 
= Select color
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Selected-Layer
 = Selected Layer
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.To-value = To 
value
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Toggle-transparency-for-no-data-values
 = Toggle transparency for no-data values.
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.change = 
change
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.no-data-value-color
 = no-data value color
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Invert-colors= 
\#T\:Invert colors
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Intervals=\#T\:Show
 colors as intervals
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Set-values-outside-transparent=\#T\:Set
 values outside the range to transparent
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-SLD
 = \#T\:
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-Tool
 = \#T\:

Modified: core/trunk/src/language/jump_pt.properties
===================================================================
--- core/trunk/src/language/jump_pt.properties  2015-05-23 17:58:41 UTC (rev 
4462)
+++ core/trunk/src/language/jump_pt.properties  2015-05-23 19:26:29 UTC (rev 
4463)
@@ -1092,6 +1092,7 @@
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.no-data-value-color
 = T\:no-data value color
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Invert-colors= 
\#T\:Invert colors
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Set-values-outside-transparent=\#T\:Set
 values outside the range to transparent
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Intervals=\#T\:Show
 colors as intervals
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-SLD
 = O pr\u00f3ximo passo \u00e9 selecionar o SLD que\n\
        \tfoi gerado pelo ArcMap2SLD.
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-Tool
 = Para possibilitar o uso de um programa ArcMap2SLD externo,\n\

Modified: core/trunk/src/language/jump_pt_BR.properties
===================================================================
--- core/trunk/src/language/jump_pt_BR.properties       2015-05-23 17:58:41 UTC 
(rev 4462)
+++ core/trunk/src/language/jump_pt_BR.properties       2015-05-23 19:26:29 UTC 
(rev 4463)
@@ -1092,6 +1092,7 @@
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.no-data-value-color
 = T\:no-data value color
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Invert-colors= 
\#T\:Invert colors
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Set-values-outside-transparent=\#T\:Set
 values outside the range to transparent
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Intervals=\#T\:Show
 colors as intervals
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-SLD
 = O pr\u00f3ximo passo \u00e9 selecionar o SLD que\n\
        \tfoi gerado pelo ArcMap2SLD.
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-Tool
 = Para possibilitar o uso de um programa ArcMap2SLD externo,\n\

Modified: core/trunk/src/language/jump_ta_IN.properties
===================================================================
--- core/trunk/src/language/jump_ta_IN.properties       2015-05-23 17:58:41 UTC 
(rev 4462)
+++ core/trunk/src/language/jump_ta_IN.properties       2015-05-23 19:26:29 UTC 
(rev 4463)
@@ -1090,6 +1090,7 @@
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.no-data-value-color
 = no-data value color
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Invert-colors= 
\#T\:Invert colors
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Set-values-outside-transparent=\#T\:Set
 values outside the range to transparent
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Intervals=\#T\:Show
 colors as intervals
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-SLD
 = The next step is to select the SLD that was\n\
        \tgenerated by ArcMap2SLD.
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-Tool
 = To be able to use the external program ArcMap2SLD,\n\

Modified: core/trunk/src/language/jump_te.properties
===================================================================
--- core/trunk/src/language/jump_te.properties  2015-05-23 17:58:41 UTC (rev 
4462)
+++ core/trunk/src/language/jump_te.properties  2015-05-23 19:26:29 UTC (rev 
4463)
@@ -1267,6 +1267,7 @@
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.no-data-value-color
 = no-data value color
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Invert-colors= 
\#T\:Invert colors
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Set-values-outside-transparent=\#T\:Set
 values outside the range to transparent
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Intervals=\#T\:Show
 colors as intervals
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-SLD
 = The next step is to select the SLD that was\n\
        \ generated by ArcMap2SLD.
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-Tool
 = To be able to use the external program ArcMap2SLD,\n\

Modified: core/trunk/src/language/jump_zh_CN.properties
===================================================================
--- core/trunk/src/language/jump_zh_CN.properties       2015-05-23 17:58:41 UTC 
(rev 4462)
+++ core/trunk/src/language/jump_zh_CN.properties       2015-05-23 19:26:29 UTC 
(rev 4463)
@@ -1095,6 +1095,7 @@
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.no-data-value-color
 = \u65e0\u6570\u636e\u503c\u7684\u989c\u8272
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Invert-colors= 
\#T\:Invert colors
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Set-values-outside-transparent=\#T\:Set
 values outside the range to transparent
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Intervals=\#T\:Show
 colors as intervals
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-SLD
 = \u4e0b\u4e00\u6b65\u662f\u9009\u62e9\u8be5SLD\u8fd9\u662f\\u00f1"\tgenerated 
by ArcMap2SLD."\t\=
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-Tool
 = 
\u4e3a\u4e86\u80fd\u591f\u4f7f\u7528\u5916\u90e8\u7a0b\u5e8fArcMap2SLD\uff0c\\u00f1"\tplease
 specify its location in the following dialog."\t\=
 org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.name = 
\u5bfc\u5165ArcMap\u7684\u98ce\u683c

Modified: core/trunk/src/language/jump_zh_HK.properties
===================================================================
--- core/trunk/src/language/jump_zh_HK.properties       2015-05-23 17:58:41 UTC 
(rev 4462)
+++ core/trunk/src/language/jump_zh_HK.properties       2015-05-23 19:26:29 UTC 
(rev 4463)
@@ -1095,6 +1095,7 @@
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.no-data-value-color
 = \u7121\u6578\u64DA\u503C\u7684\u984F\u8272
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Invert-colors= 
\#T\:Invert colors
 
org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Set-values-outside-transparent=\#T\:Set
 values outside the range to transparent
+org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Intervals=\#T\:Show
 colors as intervals
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-SLD
 = \u4E0B\u4E00\u6B65\u662F\u9078\u64C7\u8A72SLD\u9019\u662F\\u00f1"\tgenerated 
by ArcMap2SLD."\t\=
 
org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.Must-Select-Location-Of-Tool
 = 
\u70BA\u4E86\u80FD\u5920\u4F7F\u7528\u5916\u90E8\u7A0B\u5E8FArcMap2SLD\uFF0C\\u00f1"\tplease
 specify its location in the following dialog."\t\=
 org.openjump.core.ui.plugin.style.ImportArcMapStylePlugIn.name = 
\u5C0E\u5165ArcMap\u7684\u98A8\u683C

Modified: 
core/trunk/src/org/openjump/core/ui/plugin/layer/pirolraster/panel/RasterColorEditorPanel.java
===================================================================
--- 
core/trunk/src/org/openjump/core/ui/plugin/layer/pirolraster/panel/RasterColorEditorPanel.java
      2015-05-23 17:58:41 UTC (rev 4462)
+++ 
core/trunk/src/org/openjump/core/ui/plugin/layer/pirolraster/panel/RasterColorEditorPanel.java
      2015-05-23 19:26:29 UTC (rev 4463)
@@ -2,6 +2,7 @@
 
 import java.awt.BorderLayout;
 import java.awt.Color;
+import java.awt.Dimension;
 import java.awt.GridBagLayout;
 import java.awt.LayoutManager;
 import java.awt.event.ActionEvent;
@@ -12,9 +13,13 @@
 import javax.swing.BorderFactory;
 import javax.swing.JCheckBox;
 import javax.swing.JComboBox;
+import javax.swing.JComponent;
 import javax.swing.JLabel;
 import javax.swing.JPanel;
+import javax.swing.JSpinner;
 import javax.swing.JTextField;
+import javax.swing.SpinnerModel;
+import javax.swing.SpinnerNumberModel;
 import javax.swing.border.Border;
 
 import org.openjump.core.rasterimage.RasterImageLayer;
@@ -35,6 +40,8 @@
  *          RasterColorEditorDialog
  * @version $Rev: 4403 $ Apr 22 2015 [Giuseppe Aruta] - Added inverse color
  *          ramps and transparency to values outside choosen range
+ * @version $Rev: 4463 $ May 23 2015 [Giuseppe Aruta] - Added Color intervals
+ *          option
  */
 public class RasterColorEditorPanel extends JPanel implements ValueChecker,
         ActionListener, StylePanel {
@@ -59,6 +66,7 @@
     public JComboBox<?> colorRampChooser;
     public JComboBox<?> typeChooser;
     private ColorGenerator colorGenerator;
+    private JSpinner spinnerbox;
 
     private String[] colorTableList = {
             
I18N.get("org.openjump.core.ui.plugin.raster.color.RasterColorEditorDialog.Default-colors"),//
 0
@@ -85,25 +93,28 @@
             "Blues" }; // 17
 
     private JPanel strechedPanel = new JPanel();
-    private JPanel warningPanel = new JPanel();
     private JPanel statisticPanel = new JPanel(new GridBagLayout());
     private JTextField nodataField = new JTextField();
     private JTextField maxdataField = new JTextField();
     private JTextField mindataField = new JTextField();
     public JCheckBox transparentBox = new JCheckBox();
+    public JCheckBox intervalsBox = new JCheckBox();
     public JCheckBox discreteBox = new JCheckBox();
     public JCheckBox invertBox = new JCheckBox();
     public JCheckBox intervalBox = new JCheckBox();
     public String fromValueText = new String();
     public String toValueText = new String();
+    private JLabel classes = new JLabel();
     private PlugInContext plugInContext;
     private Border border = BorderFactory.createEmptyBorder(10, 10, 10, 10);
     private Border borderRaised = BorderFactory.createRaisedBevelBorder();
     private Color[] valuesColors;
     private LayoutManager layout = new BorderLayout();
+    private JComponent comp;
     private LayoutManager gridBagLayout = new GridBagLayout();
     private ColorPanel NoDataColorPanel = new ColorPanel();
     private int alpha = 255;
+    public int intColor;
 
     private String sToolTip = I18N
             
.get("org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Choose-a-color-range-It-will-be-automaticaly-expanded-between-the-2-values");
@@ -116,7 +127,8 @@
     private static String TITLE = I18N
             
.get("org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Raster-Color-Editor");
     private static String NUMBER = I18N
-            
.get("org.openjump.core.ui.plugin.tools.statistics.ClassifyAttributesPlugin.Number-of-classes");
+            
.get("org.openjump.core.ui.plugin.tools.statistics.ClassifyAttributesPlugin.Number-of-classes")
+            + ":";
     private static String NODATA = I18N
             .get("org.openjump.core.ui.plugin.raster.nodata.nodata");
     private static String MIN = I18N
@@ -129,7 +141,11 @@
             
.get("org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Set-values-outside-transparent");
     private static String INVERT = I18N
             
.get("org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Invert-colors");
+    private static String INTERVALS = I18N
+            
.get("org.openjump.core.ui.plugin.raster.color.RasterColorEditorPlugIn.Intervals");
 
+    SpinnerModel spinner;
+
     public RasterColorEditorPanel(PlugInContext context,
             RasterImageLayer actualLayer) {
         super();
@@ -178,15 +194,20 @@
         strechedPanel.setBorder(border);
         strechedPanel.setLayout(gridBagLayout);
         colorScaleChooser = new JComboBox(colorTableList);
-        final String selectedIndex = (String) colorScaleChooser
-                .getSelectedItem();
-        colorScaleChooser.setSelectedItem(selectedIndex);
+        // 
colorScaleChooser.setSelectedItem(colorScaleChooser.getSelectedItem());
         colorScaleChooser.setToolTipText(sToolTip); //$NON-NLS-1$
         colorScaleChooser.setBorder(borderRaised);
+        intColor = colorScaleChooser.getSelectedIndex();
+        colorScaleChooser.setSelectedIndex(intColor);
+        // 
colorScaleChooser.setSelectedItem(colorScaleChooser.getInputContext());
         FormUtils.addRowInGBL(strechedPanel, 2, 0, colorScaleChooser);
 
         fromValueLabel = new JLabel(sFromValue);
         toValueLabel = new JLabel(sToValue); //$NON-NLS-1$
+
+        fromValueLabel.setPreferredSize(new Dimension(83, 20));
+        toValueLabel.setPreferredSize(new Dimension(83, 20));
+
         fromValue = new JTextField(Double.toString(layer.getMetadata()
                 .getStats().getMin(0)), 15);
         fromValue.setCaretPosition(0);
@@ -195,30 +216,79 @@
                 .getMax(0)), 15);
         toValue.setCaretPosition(0);
         toValue.selectAll();
+
+        fromValue.setPreferredSize(new Dimension(83, 20));
+        fromValue.setCaretPosition(fromValue.getText().length());
+        toValue.setPreferredSize(new Dimension(83, 20));
+        toValue.setCaretPosition(toValue.getText().length());
+
         FormUtils
                 .addRowInGBL(strechedPanel, 3, 0, fromValueLabel, 
toValueLabel);
         FormUtils.addRowInGBL(strechedPanel, 4, 0, fromValue, toValue);
 
+        classes.setText(NUMBER);
+        classes.setEnabled(false);
+
+        intervalsBox = new JCheckBox("Show colors as intervals");
+        intervalsBox.setSelected(false);
+        intervalsBox.addActionListener(new ActionListener() {
+            public void actionPerformed(ActionEvent e) {
+                updateComponents();
+
+            }
+        });
+
+        spinner = new SpinnerNumberModel(6, 2, 65, 1);
+        spinnerbox = new JSpinner(spinner);
+        spinnerbox.setEnabled(false);
+
+        spinnerbox.setMinimumSize(new Dimension(60, 20));
+        spinnerbox.setPreferredSize(new Dimension(60, 20));
+
         invertBox = new JCheckBox(INVERT);
         invertBox.setSelected(false);
-        FormUtils.addRowInGBL(strechedPanel, 5, 0, invertBox);
 
-        new JLabel(NUMBER);
+        transparentBox = new JCheckBox(TRANSPARENT);
+        transparentBox.setSelected(false);
 
-        /*
-         * Text field to choose number of intervals. Deactivated. Chooser = new
-         * JTextField("11", 15); Chooser.setColumns(4); Chooser.setSize(4, 4);
-         * // Chooser.setCaretPosition(0); FormUtils.addRowInGBL(strechedPanel,
-         * 6, 0, classes, Chooser);
-         */
+        FormUtils.addRowInGBL(strechedPanel, 5, 0, getIntervalBox());
+        FormUtils.addRowInGBL(strechedPanel, 6, 0, classes);
+        FormUtils.addRowInGBL(strechedPanel, 6, 1, spinnerbox, true, true);
 
-        transparentBox = new JCheckBox(TRANSPARENT);
-        transparentBox.setSelected(false);
-        FormUtils.addRowInGBL(strechedPanel, 7, 0, transparentBox);
+        // .addRowInGBL(strechedPanel, 6, 1, spinnerbox);
+        FormUtils.addRowInGBL(strechedPanel, 7, 0, invertBox);
+        FormUtils.addRowInGBL(strechedPanel, 8, 0, transparentBox);
+
         add(strechedPanel, BorderLayout.NORTH);
 
     }
 
+    private RasterSymbology finalRasterSymbolizer;
+
+    public RasterSymbology getFinalRasterSymbolizer() {
+        return this.finalRasterSymbolizer;
+    }
+
+    private JCheckBox getIntervalBox() {
+        if (intervalsBox == null) {
+            intervalsBox = new JCheckBox();
+            intervalsBox.setText(INTERVALS);
+            intervalsBox.addActionListener(new java.awt.event.ActionListener() 
{
+
+                public void actionPerformed(java.awt.event.ActionEvent e) {
+                    updateComponents();
+                }
+            });
+        }
+        return intervalsBox;
+    }
+
+    private void updateComponents() {
+
+        spinnerbox.setEnabled(intervalsBox.isSelected() == true);
+        classes.setEnabled(intervalsBox.isSelected() == true);
+    }
+
     public String getTitle() {
         return TITLE;
     }
@@ -242,7 +312,7 @@
             context.getLayerViewPanel().getViewport().update();
             return;
         }
-        int step = 6;
+        int step = 9;
         colorGenerator = new ColorGenerator(step, colors);
         // Deactivated. As 6 steps seems to work better than 35
         // colorGenerator = new ColorGenerator(35, colors);
@@ -253,12 +323,13 @@
         // Max cell value taken from raster statistics. Need to exclude upper
         // values for the symbolizing
         double maxlayer = layer.getMetadata().getStats().getMax(0);
+        double minlayer = layer.getMetadata().getStats().getMin(0);
         double interval = (max - min) / colorGenerator.getSteps();
         symbology.addColorMapEntry(layer.getNoDataValue(), noDataColor);
         // Giuseppe Aruta 2015_4_17 Set value outside min-max range to a light
         // grey-green color
         // Than the color can be set to transparent
-        for (double i = 0; i < min; i++) {
+        for (double i = minlayer; i < min; i++) {
             symbology.addColorMapEntry(i, new Color(202, 218, 186));// 
Color.BLACK);
         }
         for (double j = maxlayer; j > max; j--) {
@@ -275,6 +346,51 @@
         }
     }
 
+    public void changeColorsIntervals(WorkbenchContext context, Color[] colors,
+            Color noDataColor, double min, double max)
+            throws NoninvertibleTransformException, IOException {
+
+        if (colors == null || colors.length == 0) {
+            layer.setNeedToKeepImage(false);
+            layer.flushImages(true);
+            // layer.setWholeImageEnvelope(layer.getWholeImageEnvelope());
+            context.getLayerViewPanel().getViewport().update();
+            return;
+        }
+        int step = (Integer) spinner.getValue();
+        colorGenerator = new ColorGenerator(step, colors);
+        // Deactivated. As 6 steps seems to work better than 35
+        // colorGenerator = new ColorGenerator(35, colors);
+        RasterSymbology symbology = new RasterSymbology(
+                RasterSymbology.ColorMapType.INTERVALS);
+        min = Double.parseDouble(fromValue.getText());
+        max = Double.parseDouble(toValue.getText());
+        // Max cell value taken from raster statistics. Need to exclude upper
+        // values for the symbolizing
+        double maxlayer = layer.getMetadata().getStats().getMax(0);
+        double minlayer = layer.getMetadata().getStats().getMin(0);
+        double interval = (max - min) / colorGenerator.getSteps();
+        symbology.addColorMapEntry(layer.getNoDataValue(), noDataColor);
+        // Giuseppe Aruta 2015_4_17 Set value outside min-max range to a light
+        // grey-green color
+        // Than the color can be set to transparent
+        for (double i = minlayer; i < min; i++) {
+            symbology.addColorMapEntry(i, new Color(202, 218, 186));// 
Color.BLACK);
+        }
+        for (double j = maxlayer; j > max; j--) {
+            symbology.addColorMapEntry(j, new Color(202, 218, 186));// 
Color.BLACK);
+        }
+        for (int c = 0; c < colorGenerator.getSteps(); c++) {
+            Color color = colorGenerator.getColor(c);
+            double value = min + c * interval;
+            symbology.addColorMapEntry(value, color);
+        }
+        layer.setSymbology(symbology);
+        if (transparentBox.isSelected()) {
+            layer.setTransparentColor(new Color(202, 218, 186));
+        }
+    }
+
     public void updateStyles() {
         switch (colorScaleChooser.getSelectedIndex()) {
 
@@ -472,11 +588,22 @@
         }
         }
         try {
-            changeColorsRamp(plugInContext.getWorkbenchContext(), valuesColors,
-                    GUIUtil.alphaColor(NoDataColorPanel.getFillColor(), alpha),
-                    Float.parseFloat(fromValue.getText()),
-                    Float.parseFloat(toValue.getText()));
 
+            if (intervalsBox.isSelected()) {
+                changeColorsIntervals(plugInContext.getWorkbenchContext(),
+                        valuesColors, GUIUtil.alphaColor(
+                                NoDataColorPanel.getFillColor(), alpha),
+                        Float.parseFloat(fromValue.getText()),
+                        Float.parseFloat(toValue.getText()));
+
+            } else {
+                changeColorsRamp(plugInContext.getWorkbenchContext(),
+                        valuesColors, GUIUtil.alphaColor(
+                                NoDataColorPanel.getFillColor(), alpha),
+                        Float.parseFloat(fromValue.getText()),
+                        Float.parseFloat(toValue.getText()));
+            }
+
         } catch (NumberFormatException e) {
             // TODO Auto-generated catch block
             e.printStackTrace();

Modified: 
core/trunk/src/org/openjump/core/ui/plugin/raster/nodata/ChangeRangeValuesToNoDataPlugIn.java
===================================================================
--- 
core/trunk/src/org/openjump/core/ui/plugin/raster/nodata/ChangeRangeValuesToNoDataPlugIn.java
       2015-05-23 17:58:41 UTC (rev 4462)
+++ 
core/trunk/src/org/openjump/core/ui/plugin/raster/nodata/ChangeRangeValuesToNoDataPlugIn.java
       2015-05-23 19:26:29 UTC (rev 4463)
@@ -73,7 +73,7 @@
     private static String INVERSE = I18N
             .get("org.openjump.core.ui.plugin.raster.nodata.Inverse");
     private static String REVERSE_TOOLTIP = I18N
-            
.get("org.openjump.core.ui.plugin.raster.nodata.ChangeRangeValuesToNoDataPlugIn.name");
+            
.get("org.openjump.core.ui.plugin.raster.nodata.ChangeRangeValuesToNoDataPlugIn.tooltips");
     private static String CHANGE = I18N
             
.get("org.openjump.core.ui.plugin.raster.nodata.ChangeRangeValuesToNoDataPlugIn.change");
     private static String PLUGINNAME = I18N


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to