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

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

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

revision 315 by mojays, Wed Aug 26 11:03:27 2009 UTC revision 414 by alfonx, Thu Sep 24 13:23:08 2009 UTC
# Line 77  public class MapView extends JPanel { Line 77  public class MapView extends JPanel {
77                  // Needed because variables for the overwritten methods                  // Needed because variables for the overwritten methods
78                  // are not yet set.                  // are not yet set.
79                  getGeoMapPane().getMapPane().setWaitCursorComponent(parentGui);                  getGeoMapPane().getMapPane().setWaitCursorComponent(parentGui);
                 if (toolBar == null)  
                         toolBar = new MapPaneToolBar(getMapPane());  
80                  jToolBar = toolBar;                  jToolBar = toolBar;
81          }          }
82    
# Line 136  public class MapView extends JPanel { Line 134  public class MapView extends JPanel {
134          /**          /**
135           * Returns the tool bar which controls the active mouse actions on the map.           * Returns the tool bar which controls the active mouse actions on the map.
136           *           *
137           * @return           * @return never <code>null</code>, will rather create a default
138           */           */
139          public MapPaneToolBar getToolBar() {          public MapPaneToolBar getToolBar() {
140                    if (jToolBar == null) {
141                            jToolBar = new MapPaneToolBar(getMapPane());
142                    }
143                  return jToolBar;                  return jToolBar;
144          }          }
145    

Legend:
Removed from v.315  
changed lines
  Added in v.414

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26