Revision: 4440
          http://sourceforge.net/p/jump-pilot/code/4440
Author:   michaudm
Date:     2015-05-15 21:49:59 +0000 (Fri, 15 May 2015)
Log Message:
-----------
Add two arrows in AttributeTab to go to next/previous row and select
Other arrows moving to next/previous feature now unselect all after moving

Modified Paths:
--------------
    core/trunk/ChangeLog
    core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTab.java
    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

Modified: core/trunk/ChangeLog
===================================================================
--- core/trunk/ChangeLog        2015-05-15 15:03:02 UTC (rev 4439)
+++ core/trunk/ChangeLog        2015-05-15 21:49:59 UTC (rev 4440)
@@ -1,6 +1,10 @@
 # for display continuity sake please use 2 spaces instead of tabs
 
 2015-05-14 mmichaud <m.michael.mich...@orange.fr>
+  * Add two arrows in AttributeTab to go next/previous row and select
+    Other arrows moving to next/previous feature now unselect all after moving
+
+2015-05-14 mmichaud <m.michael.mich...@orange.fr>
   * #393 : SimpleQueryPlugIn : the bug was not completely fixed : features
     must be cloned to be added to new Layer but not for Selection or InfoPanel
   * FR 218 : implement new attribute types in RandomTrianglesPlugIn

Modified: core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTab.java
===================================================================
--- core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTab.java       
2015-05-15 15:03:02 UTC (rev 4439)
+++ core/trunk/src/com/vividsolutions/jump/workbench/ui/AttributeTab.java       
2015-05-15 21:49:59 UTC (rev 4440)
@@ -273,6 +273,21 @@
        
           toolBar.addSeparator();      
        */
+        toolBar.add(
+                new JButton(),
+                I18N.get("ui.AttributeTab.pan-to-previous-row-and-select"),
+                IconLoader.icon("SmallUpSelect.gif"),
+                new ActionListener() {
+                    public void actionPerformed(ActionEvent e) {
+                        try {
+                            pan(panel.topSelectedRow().previousRow());
+                            panel.selectInLayerViewPanel();
+                        } catch (Throwable t) {
+                            errorHandler.handleThrowable(t);
+                        }
+                    }
+                },
+                new 
MultiEnableCheck().add(taskFrameEnableCheck).add(layersEnableCheck));
        toolBar
             .add(
                 new JButton(),
@@ -282,6 +297,7 @@
             public void actionPerformed(ActionEvent e) {
                 try {
                     pan(panel.topSelectedRow().previousRow());
+                    panel.clearSelection();
                 } catch (Throwable t) {
                     errorHandler.handleThrowable(t);
                 }
@@ -296,6 +312,7 @@
             public void actionPerformed(ActionEvent e) {
                 try {
                     zoom(panel.topSelectedRow().previousRow());
+                    panel.clearSelection();
                 } catch (Throwable t) {
                     errorHandler.handleThrowable(t);
                 }
@@ -310,6 +327,7 @@
             public void actionPerformed(ActionEvent e) {
                 try {
                     zoom(panel.topSelectedRow().nextRow());
+                    panel.clearSelection();
                 } catch (Throwable t) {
                     errorHandler.handleThrowable(t);
                 }
@@ -324,11 +342,27 @@
             public void actionPerformed(ActionEvent e) {
                 try {
                     pan(panel.topSelectedRow().nextRow());
+                    panel.clearSelection();
                 } catch (Throwable t) {
                     errorHandler.handleThrowable(t);
                 }
             }
         }, new 
MultiEnableCheck().add(taskFrameEnableCheck).add(layersEnableCheck));
+        toolBar.add(
+                new JButton(),
+                I18N.get("ui.AttributeTab.pan-to-next-row-and-select"),
+                IconLoader.icon("SmallDownSelect.gif"),
+                new ActionListener() {
+                    public void actionPerformed(ActionEvent e) {
+                        try {
+                            pan(panel.topSelectedRow().nextRow());
+                            panel.selectInLayerViewPanel();
+                        } catch (Throwable t) {
+                            errorHandler.handleThrowable(t);
+                        }
+                    }
+                },
+                new 
MultiEnableCheck().add(taskFrameEnableCheck).add(layersEnableCheck));
         toolBar
             .add(
                 new JButton(),

Modified: core/trunk/src/language/jump.properties
===================================================================
--- core/trunk/src/language/jump.properties     2015-05-15 15:03:02 UTC (rev 
4439)
+++ core/trunk/src/language/jump.properties     2015-05-15 21:49:59 UTC (rev 
4440)
@@ -1720,7 +1720,9 @@
 ui.AttributeTab.one-or-more-layers-must-be-present = One or more layers must 
be present.
 ui.AttributeTab.one-or-more-rows-must-be-selected = One or more rows must be 
selected.
 ui.AttributeTab.pan-to-next-row = Pan to next row
+ui.AttributeTab.pan-to-next-row-and-select = Pan to next row and select
 ui.AttributeTab.pan-to-previous-row = Pan to previous row
+ui.AttributeTab.pan-to-previous-row-and-select = Pan to previous row and select
 ui.AttributeTab.pan-to-selected-rows = Pan to selected rows
 ui.AttributeTab.select-in-task-window = Select In Project Window.
 ui.AttributeTab.task-frame-must-be-open = Project frame must be open.

Modified: core/trunk/src/language/jump_cz.properties
===================================================================
--- core/trunk/src/language/jump_cz.properties  2015-05-15 15:03:02 UTC (rev 
4439)
+++ core/trunk/src/language/jump_cz.properties  2015-05-15 21:49:59 UTC (rev 
4440)
@@ -2525,3 +2525,5 @@
 ui.EditOptionsPanel.configure-layer-tree-tooltip=\#T\:Configure layer tree 
tooltip
 ui.EditOptionsPanel.enable-JUMP-basic-tooltips=
 ui.snap.SnapOptionsPanel.snap-to-linestring-being-edited=\#T\:Snap to 
LineString being edited
+ui.AttributeTab.pan-to-next-row-and-select=\#T\:Pan to next row and select
+ui.AttributeTab.pan-to-previous-row-and-select=\#T\:Pan to previous row and 
select

Modified: core/trunk/src/language/jump_de.properties
===================================================================
--- core/trunk/src/language/jump_de.properties  2015-05-15 15:03:02 UTC (rev 
4439)
+++ core/trunk/src/language/jump_de.properties  2015-05-15 21:49:59 UTC (rev 
4440)
@@ -2521,3 +2521,5 @@
 ui.EditOptionsPanel.configure-layer-tree-tooltip=\#T\:Configure layer tree 
tooltip
 ui.EditOptionsPanel.enable-JUMP-basic-tooltips=
 ui.snap.SnapOptionsPanel.snap-to-linestring-being-edited=\#T\:Snap to 
LineString being edited
+ui.AttributeTab.pan-to-next-row-and-select=\#T\:Pan to next row and select
+ui.AttributeTab.pan-to-previous-row-and-select=\#T\:Pan to previous row and 
select

Modified: core/trunk/src/language/jump_es.properties
===================================================================
--- core/trunk/src/language/jump_es.properties  2015-05-15 15:03:02 UTC (rev 
4439)
+++ core/trunk/src/language/jump_es.properties  2015-05-15 21:49:59 UTC (rev 
4440)
@@ -2501,3 +2501,5 @@
 ui.EditOptionsPanel.configure-layer-tree-tooltip=Configurar el tooltip de las 
capas
 ui.EditOptionsPanel.enable-JUMP-basic-tooltips=Habilitar el tooltip b\xE1sico 
JUMP
 ui.snap.SnapOptionsPanel.snap-to-linestring-being-edited=Guiarse con 
l\u00EDneas en edicci\u00F3n
+ui.AttributeTab.pan-to-next-row-and-select=\#T\:Pan to next row and select
+ui.AttributeTab.pan-to-previous-row-and-select=\#T\:Pan to previous row and 
select

Modified: core/trunk/src/language/jump_fi.properties
===================================================================
--- core/trunk/src/language/jump_fi.properties  2015-05-15 15:03:02 UTC (rev 
4439)
+++ core/trunk/src/language/jump_fi.properties  2015-05-15 21:49:59 UTC (rev 
4440)
@@ -2501,3 +2501,5 @@
 ui.zoom.ZoomTool.zoom-in-out=L\u00E4henn\u00E4/Loitonna
 
org.openjump.core.ui.plugin.layer.ToggleVisibilityPlugIn.Error-See-Output-Window=\#T\:Error\:
 see output window
 org.openjump.core.ui.plugin.layer.ToggleVisibilityPlugIn=\#T\:Toggle Visibility
+ui.AttributeTab.pan-to-next-row-and-select=\#T\:Pan to next row and select
+ui.AttributeTab.pan-to-previous-row-and-select=\#T\:Pan to previous row and 
select

Modified: core/trunk/src/language/jump_fr.properties
===================================================================
--- core/trunk/src/language/jump_fr.properties  2015-05-15 15:03:02 UTC (rev 
4439)
+++ core/trunk/src/language/jump_fr.properties  2015-05-15 21:49:59 UTC (rev 
4440)
@@ -2527,3 +2527,5 @@
 ui.EditOptionsPanel.enable-JUMP-basic-tooltips=Affichage d'une bulle d'aide 
pour les couches
 ui.snap.SnapOptionsPanel.snap-to-linestring-being-edited=S'accrocher \xE0 la 
ligne en cours de saisie
 
oorg.openjump.core.rasterimage.AddRasterImageLayerWizard.no-worldfile-found-message=
+ui.AttributeTab.pan-to-next-row-and-select=Centrer sur l'enregistrement 
suivant et s\xE9lectionner
+ui.AttributeTab.pan-to-previous-row-and-select=Centrer sur l'enregistrement 
suivant et s\xE9lectionner

Modified: core/trunk/src/language/jump_hu.properties
===================================================================
--- core/trunk/src/language/jump_hu.properties  2015-05-15 15:03:02 UTC (rev 
4439)
+++ core/trunk/src/language/jump_hu.properties  2015-05-15 21:49:59 UTC (rev 
4440)
@@ -2518,3 +2518,5 @@
 org.openjump.core.ui.plugin.queries.SimpleQuery.boolean=\#T\:Boolean
 ui.EditOptionsPanel.configure-layer-tree-tooltip=\#T\:Configure layer tree 
tooltip
 ui.snap.SnapOptionsPanel.snap-to-linestring-being-edited=\#T\:Snap to 
LineString being edited
+ui.AttributeTab.pan-to-next-row-and-select=\#T\:Pan to next row and select
+ui.AttributeTab.pan-to-previous-row-and-select=\#T\:Pan to previous row and 
select

Modified: core/trunk/src/language/jump_it.properties
===================================================================
--- core/trunk/src/language/jump_it.properties  2015-05-15 15:03:02 UTC (rev 
4439)
+++ core/trunk/src/language/jump_it.properties  2015-05-15 21:49:59 UTC (rev 
4440)
@@ -2501,3 +2501,5 @@
 ui.EditOptionsPanel.configure-layer-tree-tooltip=Configura tooltip dei livelli
 ui.EditOptionsPanel.enable-JUMP-basic-tooltips=Abilita il tooltib basico JUMP
 ui.snap.SnapOptionsPanel.snap-to-linestring-being-edited=Snap alle linee in 
edizione
+ui.AttributeTab.pan-to-next-row-and-select=\#T\:Pan to next row and select
+ui.AttributeTab.pan-to-previous-row-and-select=\#T\:Pan to previous row and 
select

Modified: core/trunk/src/language/jump_ja_JP.properties
===================================================================
--- core/trunk/src/language/jump_ja_JP.properties       2015-05-15 15:03:02 UTC 
(rev 4439)
+++ core/trunk/src/language/jump_ja_JP.properties       2015-05-15 21:49:59 UTC 
(rev 4440)
@@ -2520,3 +2520,5 @@
 org.openjump.core.ui.plugin.queries.SimpleQuery.boolean=\#T\:Boolean
 ui.EditOptionsPanel.configure-layer-tree-tooltip=\#T\:Configure layer tree 
tooltip
 ui.snap.SnapOptionsPanel.snap-to-linestring-being-edited=\#T\:Snap to 
LineString being edited
+ui.AttributeTab.pan-to-next-row-and-select=\#T\:Pan to next row and select
+ui.AttributeTab.pan-to-previous-row-and-select=\#T\:Pan to previous row and 
select

Modified: core/trunk/src/language/jump_ml.properties
===================================================================
--- core/trunk/src/language/jump_ml.properties  2015-05-15 15:03:02 UTC (rev 
4439)
+++ core/trunk/src/language/jump_ml.properties  2015-05-15 21:49:59 UTC (rev 
4440)
@@ -3791,3 +3791,5 @@
 org.openjump.core.ui.plugin.queries.SimpleQuery.boolean=\#T\:Boolean
 ui.EditOptionsPanel.configure-layer-tree-tooltip=\#T\:Configure layer tree 
tooltip
 ui.snap.SnapOptionsPanel.snap-to-linestring-being-edited=\#T\:Snap to 
LineString being edited
+ui.AttributeTab.pan-to-next-row-and-select=\#T\:Pan to next row and select
+ui.AttributeTab.pan-to-previous-row-and-select=\#T\:Pan to previous row and 
select

Modified: core/trunk/src/language/jump_pt.properties
===================================================================
--- core/trunk/src/language/jump_pt.properties  2015-05-15 15:03:02 UTC (rev 
4439)
+++ core/trunk/src/language/jump_pt.properties  2015-05-15 21:49:59 UTC (rev 
4440)
@@ -2517,3 +2517,5 @@
 org.openjump.core.ui.plugin.queries.SimpleQuery.boolean=\#T\:Boolean
 ui.EditOptionsPanel.configure-layer-tree-tooltip=\#T\:Configure layer tree 
tooltip
 ui.snap.SnapOptionsPanel.snap-to-linestring-being-edited=\#T\:Snap to 
LineString being edited
+ui.AttributeTab.pan-to-next-row-and-select=\#T\:Pan to next row and select
+ui.AttributeTab.pan-to-previous-row-and-select=\#T\:Pan to previous row and 
select

Modified: core/trunk/src/language/jump_pt_BR.properties
===================================================================
--- core/trunk/src/language/jump_pt_BR.properties       2015-05-15 15:03:02 UTC 
(rev 4439)
+++ core/trunk/src/language/jump_pt_BR.properties       2015-05-15 21:49:59 UTC 
(rev 4440)
@@ -2516,4 +2516,6 @@
 
org.openjump.core.ui.plugin.layer.LayerPropertiesPlugIn.nodatasourcelayer.message=\#T\:This
 layer has no datasource
 org.openjump.core.ui.plugin.queries.SimpleQuery.boolean=\#T\:Boolean
 ui.EditOptionsPanel.configure-layer-tree-tooltip=\#T\:Configure layer tree 
tooltip
-ui.snap.SnapOptionsPanel.snap-to-linestring-being-edited=\#T\:Snap to 
LineString being edited
\ No newline at end of file
+ui.snap.SnapOptionsPanel.snap-to-linestring-being-edited=\#T\:Snap to 
LineString being edited
+ui.AttributeTab.pan-to-next-row-and-select=\#T\:Pan to next row and select
+ui.AttributeTab.pan-to-previous-row-and-select=\#T\:Pan to previous row and 
select
\ No newline at end of file

Modified: core/trunk/src/language/jump_ta_IN.properties
===================================================================
--- core/trunk/src/language/jump_ta_IN.properties       2015-05-15 15:03:02 UTC 
(rev 4439)
+++ core/trunk/src/language/jump_ta_IN.properties       2015-05-15 21:49:59 UTC 
(rev 4440)
@@ -2516,3 +2516,5 @@
 org.openjump.core.ui.plugin.queries.SimpleQuery.boolean=\#T\:Boolean
 ui.EditOptionsPanel.configure-layer-tree-tooltip=\#T\:Configure layer tree 
tooltip
 ui.snap.SnapOptionsPanel.snap-to-linestring-being-edited=\#T\:Snap to 
LineString being edited
+ui.AttributeTab.pan-to-next-row-and-select=\#T\:Pan to next row and select
+ui.AttributeTab.pan-to-previous-row-and-select=\#T\:Pan to previous row and 
select

Modified: core/trunk/src/language/jump_te.properties
===================================================================
--- core/trunk/src/language/jump_te.properties  2015-05-15 15:03:02 UTC (rev 
4439)
+++ core/trunk/src/language/jump_te.properties  2015-05-15 21:49:59 UTC (rev 
4440)
@@ -3025,3 +3025,5 @@
 org.openjump.core.ui.plugin.queries.SimpleQuery.boolean=\#T\:Boolean
 ui.EditOptionsPanel.configure-layer-tree-tooltip=\#T\:Configure layer tree 
tooltip
 ui.snap.SnapOptionsPanel.snap-to-linestring-being-edited=\#T\:Snap to 
LineString being edited
+ui.AttributeTab.pan-to-next-row-and-select=\#T\:Pan to next row and select
+ui.AttributeTab.pan-to-previous-row-and-select=\#T\:Pan to previous row and 
select

Modified: core/trunk/src/language/jump_zh_CN.properties
===================================================================
--- core/trunk/src/language/jump_zh_CN.properties       2015-05-15 15:03:02 UTC 
(rev 4439)
+++ core/trunk/src/language/jump_zh_CN.properties       2015-05-15 21:49:59 UTC 
(rev 4440)
@@ -2680,3 +2680,5 @@
 org.openjump.core.ui.plugin.queries.SimpleQuery.boolean=\#T\:Boolean
 ui.EditOptionsPanel.configure-layer-tree-tooltip=\#T\:Configure layer tree 
tooltip
 ui.snap.SnapOptionsPanel.snap-to-linestring-being-edited=\#T\:Snap to 
LineString being edited
+ui.AttributeTab.pan-to-next-row-and-select=\#T\:Pan to next row and select
+ui.AttributeTab.pan-to-previous-row-and-select=\#T\:Pan to previous row and 
select

Modified: core/trunk/src/language/jump_zh_HK.properties
===================================================================
--- core/trunk/src/language/jump_zh_HK.properties       2015-05-15 15:03:02 UTC 
(rev 4439)
+++ core/trunk/src/language/jump_zh_HK.properties       2015-05-15 21:49:59 UTC 
(rev 4440)
@@ -2678,4 +2678,6 @@
 
org.openjump.core.ui.plugin.layer.LayerPropertiesPlugIn.nodatasourcelayer.message=\#T\:This
 layer has no datasource
 org.openjump.core.ui.plugin.queries.SimpleQuery.boolean=\#T\:Boolean
 ui.EditOptionsPanel.configure-layer-tree-tooltip=\#T\:Configure layer tree 
tooltip
-ui.snap.SnapOptionsPanel.snap-to-linestring-being-edited=\#T\:Snap to 
LineString being edited
\ No newline at end of file
+ui.snap.SnapOptionsPanel.snap-to-linestring-being-edited=\#T\:Snap to 
LineString being edited
+ui.AttributeTab.pan-to-next-row-and-select=\#T\:Pan to next row and select
+ui.AttributeTab.pan-to-previous-row-and-select=\#T\:Pan to previous row and 
select
\ No newline at end of file


------------------------------------------------------------------------------
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