/[schmitzm]/trunk/src/skrueger/geotools/MapPaneToolBar.java
ViewVC logotype

Diff of /trunk/src/skrueger/geotools/MapPaneToolBar.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 111 by alfonx, Tue May 12 23:33:14 2009 UTC revision 117 by alfonx, Thu May 14 01:15:22 2009 UTC
# Line 209  public class MapPaneToolBar extends JToo Line 209  public class MapPaneToolBar extends JToo
209            new ImageIcon(MapView.class.getResource("resource/icons/info.png"))            new ImageIcon(MapView.class.getResource("resource/icons/info.png"))
210        ), false );        ), false );
211                
212        // Set Selection  //      // Set Selection
213        addTool( new MapPaneToolBarAction(  //      addTool( new MapPaneToolBarAction(
214            TOOL_SELECTION_SET,  //          TOOL_SELECTION_SET,
215            this,  //          this,
216            "",  //          "",
217            new ImageIcon(MapView.class.getResource("resource/icons/selection_set.png"))  //          new ImageIcon(MapView.class.getResource("resource/icons/selection_set.png"))
218        ), false );  //      ), false );
219    //
220        // Add Selection  //      // Add Selection
221        addTool( new MapPaneToolBarAction(  //      addTool( new MapPaneToolBarAction(
222                    TOOL_SELECTION_ADD,  //                TOOL_SELECTION_ADD,
223                    this,  //                this,
224                    "",  //                "",
225                    new ImageIcon(MapView.class.getResource("resource/icons/selection_add.png"))  //                new ImageIcon(MapView.class.getResource("resource/icons/selection_add.png"))
226        ), false );  //      ), false );
227    //
228        // Remove Selection  //      // Remove Selection
229        addTool( new MapPaneToolBarAction(  //      addTool( new MapPaneToolBarAction(
230                    TOOL_SELECTION_REMOVE,  //                TOOL_SELECTION_REMOVE,
231                    this,  //                this,
232                    "",  //                "",
233                    new ImageIcon(MapView.class.getResource("resource/icons/selection_remove.png"))  //                new ImageIcon(MapView.class.getResource("resource/icons/selection_remove.png"))
234        ), false );  //      ), false );
235          //      
236        // ResetSelection  //      // ResetSelection
237        addAction( new MapPaneToolBarAction(  //      addAction( new MapPaneToolBarAction(
238                    TOOL_SELECTION_CLEAR,  //                TOOL_SELECTION_CLEAR,
239                    this,  //                this,
240                    "",  //                "",
241                    new ImageIcon(MapView.class.getResource("resource/icons/selection_clear.png"))  //                new ImageIcon(MapView.class.getResource("resource/icons/selection_clear.png"))
242        ), false );  //      ), false );
243                
244        // Zoom in        // Zoom in
245        addTool( new MapPaneToolBarAction(        addTool( new MapPaneToolBarAction(
# Line 401  public class MapPaneToolBar extends JToo Line 401  public class MapPaneToolBar extends JToo
401            mapPane.refresh();            mapPane.refresh();
402          }          }
403        }        }
404          
405          /**
406           * Clear the selection by calling the selection model
407           */
408          if (action == TOOL_SELECTION_CLEAR) {
409              // TODO
410          }
411          }          }
412                    
413                    

Legend:
Removed from v.111  
changed lines
  Added in v.117

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26