/[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 87 by alfonx, Thu Apr 23 19:39:13 2009 UTC revision 148 by alfonx, Thu Jun 18 16:31:56 2009 UTC
# Line 15  import schmitzm.geotools.gui.JMapPane; Line 15  import schmitzm.geotools.gui.JMapPane;
15  import schmitzm.geotools.gui.MapContextControlPane;  import schmitzm.geotools.gui.MapContextControlPane;
16  import schmitzm.geotools.gui.MapPaneStatusBar;  import schmitzm.geotools.gui.MapPaneStatusBar;
17  import schmitzm.geotools.styling.ColorMapManager;  import schmitzm.geotools.styling.ColorMapManager;
 import schmitzm.swing.SwingUtil;  
18    
19  /**  /**
20   * Achtung! Dieser code ist verwuestet   * Achtung! Dieser code ist verwuestet
# Line 27  import schmitzm.swing.SwingUtil; Line 26  import schmitzm.swing.SwingUtil;
26  public class MapView extends JPanel {  public class MapView extends JPanel {
27          private static final Logger LOGGER = Logger.getLogger(MapView.class);          private static final Logger LOGGER = Logger.getLogger(MapView.class);
28    
29          private final JSplitPane splitPane = new JSplitPane(          public final JSplitPane splitPane = new JSplitPane(
30                          JSplitPane.HORIZONTAL_SPLIT);                          JSplitPane.HORIZONTAL_SPLIT);
31    
32          protected MapPaneStatusBar statusBar = null;          protected MapPaneStatusBar statusBar = null;
# Line 81  public class MapView extends JPanel { Line 80  public class MapView extends JPanel {
80                                  5, 2, 5)));                                  5, 2, 5)));
81                  this.add(statusBar, BorderLayout.SOUTH);                  this.add(statusBar, BorderLayout.SOUTH);
82    
83                  splitPane.setDividerLocation(0.4);                  splitPane.setDividerLocation(-1);
84                  splitPane.setDividerSize(5);                  splitPane.setDividerSize(5);
85                    
86                    splitPane.setResizeWeight(0.0);
87    
88                  splitPane.add(getSidePane());                  splitPane.add(getSidePane());
89    
# Line 94  public class MapView extends JPanel { Line 95  public class MapView extends JPanel {
95                  newRight.add(getToolBar(), BorderLayout.NORTH);                  newRight.add(getToolBar(), BorderLayout.NORTH);
96                  newRight.add(getGeoMapPane(), BorderLayout.CENTER);                  newRight.add(getGeoMapPane(), BorderLayout.CENTER);
97                  splitPane.add(newRight);                  splitPane.add(newRight);
98                    
99                    
100    
101                  this.add(splitPane, BorderLayout.CENTER);                  this.add(splitPane, BorderLayout.CENTER);
102          }          }

Legend:
Removed from v.87  
changed lines
  Added in v.148

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26