/[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 117 by alfonx, Thu May 14 01:15:22 2009 UTC revision 139 by alfonx, Thu Jun 11 12:52:58 2009 UTC
# Line 15  import javax.swing.JButton; Line 15  import javax.swing.JButton;
15  import javax.swing.JComponent;  import javax.swing.JComponent;
16  import javax.swing.JToggleButton;  import javax.swing.JToggleButton;
17  import javax.swing.JToolBar;  import javax.swing.JToolBar;
 import javax.swing.JToolBar.Separator;  
   
 import jj2000.j2k.NotImplementedError;  
18    
19  import org.apache.log4j.Logger;  import org.apache.log4j.Logger;
20    
# Line 209  public class MapPaneToolBar extends JToo Line 206  public class MapPaneToolBar extends JToo
206            new ImageIcon(MapView.class.getResource("resource/icons/info.png"))            new ImageIcon(MapView.class.getResource("resource/icons/info.png"))
207        ), false );        ), false );
208                
209  //      // Set Selection        // Set Selection
210  //      addTool( new MapPaneToolBarAction(        addTool( new MapPaneToolBarAction(
211  //          TOOL_SELECTION_SET,            TOOL_SELECTION_SET,
212  //          this,            this,
213  //          "",            "",
214  //          new ImageIcon(MapView.class.getResource("resource/icons/selection_set.png"))            new ImageIcon(MapView.class.getResource("resource/icons/selection_set.png"))
215  //      ), false );        ), false );
216  //  
217  //      // Add Selection        // Add Selection
218  //      addTool( new MapPaneToolBarAction(        addTool( new MapPaneToolBarAction(
219  //                TOOL_SELECTION_ADD,                    TOOL_SELECTION_ADD,
220  //                this,                    this,
221  //                "",                    "",
222  //                new ImageIcon(MapView.class.getResource("resource/icons/selection_add.png"))                    new ImageIcon(MapView.class.getResource("resource/icons/selection_add.png"))
223  //      ), false );        ), false );
224  //  
225  //      // Remove Selection        // Remove Selection
226  //      addTool( new MapPaneToolBarAction(        addTool( new MapPaneToolBarAction(
227  //                TOOL_SELECTION_REMOVE,                    TOOL_SELECTION_REMOVE,
228  //                this,                    this,
229  //                "",                    "",
230  //                new ImageIcon(MapView.class.getResource("resource/icons/selection_remove.png"))                    new ImageIcon(MapView.class.getResource("resource/icons/selection_remove.png"))
231  //      ), false );        ), false );
232  //              
233  //      // ResetSelection        // ResetSelection
234  //      addAction( new MapPaneToolBarAction(        addAction( new MapPaneToolBarAction(
235  //                TOOL_SELECTION_CLEAR,                    TOOL_SELECTION_CLEAR,
236  //                this,                    this,
237  //                "",                    "",
238  //                new ImageIcon(MapView.class.getResource("resource/icons/selection_clear.png"))                    new ImageIcon(MapView.class.getResource("resource/icons/selection_clear.png"))
239  //      ), false );        ), false );
240                
241        // Zoom in        // Zoom in
242        addTool( new MapPaneToolBarAction(        addTool( new MapPaneToolBarAction(
# Line 634  public class MapPaneToolBar extends JToo Line 631  public class MapPaneToolBar extends JToo
631      public int getMinToolID() {      public int getMinToolID() {
632        return toolAndActionButtons.firstKey();        return toolAndActionButtons.firstKey();
633      }      }
634  //  
 //    /**  
 //     * Returns the maximum ID of actions.  
 //     */  
 //    public int getMaxActionID() {  
 //      return actionButtons.lastKey();  
 //    }  
 //  
 //    /**  
 //     * Returns the minimum ID of actions.  
 //     */  
 //    public int getMinActionID() {  
 //      return actionButtons.firstKey();  
 //    }  
       
635      /**      /**
636       * Extends the {@link AbstractAction} with maintaining an ID and       * Extends the {@link AbstractAction} with maintaining an ID and
637       * the {@link MapPaneToolBar} the actions controls.       * the {@link MapPaneToolBar} the actions controls.

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

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26