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