18 |
|
|
19 |
/** |
/** |
20 |
* Achtung! Dieser code ist verwuestet |
* Achtung! Dieser code ist verwuestet |
|
*/ |
|
|
|
|
|
/** |
|
21 |
* TODO DOKU und initialize schöner machen. SK |
* TODO DOKU und initialize schöner machen. SK |
22 |
*/ |
*/ |
23 |
public class MapView extends JPanel { |
public class MapView extends JPanel { |
68 |
*/ |
*/ |
69 |
public void initialize() { |
public void initialize() { |
70 |
// horizontales SplitPane initialisieren |
// horizontales SplitPane initialisieren |
71 |
|
// SK 19.6.09: Removed because we are not using it. Probably a test. |
72 |
// Status-Zeile |
// // Status-Zeile |
73 |
statusBar = new MapPaneStatusBar(getGeoMapPane() |
// statusBar = new MapPaneStatusBar(getGeoMapPane() |
74 |
.getMapPane()); |
// .getMapPane()); |
75 |
statusBar.setBorder(BorderFactory.createCompoundBorder(BorderFactory |
// statusBar.setBorder(BorderFactory.createCompoundBorder(BorderFactory |
76 |
.createLoweredBevelBorder(), BorderFactory.createEmptyBorder(2, |
// .createLoweredBevelBorder(), BorderFactory.createEmptyBorder(2, |
77 |
5, 2, 5))); |
// 5, 2, 5))); |
78 |
this.add(statusBar, BorderLayout.SOUTH); |
// this.add(statusBar, BorderLayout.SOUTH); |
79 |
|
|
80 |
splitPane.setDividerLocation(-1); |
splitPane.setDividerLocation(-1); |
81 |
splitPane.setDividerSize(5); |
splitPane.setDividerSize(5); |
82 |
|
|
83 |
splitPane.setResizeWeight(0.0); |
splitPane.setResizeWeight(0.0); |
|
|
|
84 |
splitPane.add(getSidePane()); |
splitPane.add(getSidePane()); |
85 |
|
|
86 |
/*********************************************************************** |
/*********************************************************************** |
91 |
newRight.add(getToolBar(), BorderLayout.NORTH); |
newRight.add(getToolBar(), BorderLayout.NORTH); |
92 |
newRight.add(getGeoMapPane(), BorderLayout.CENTER); |
newRight.add(getGeoMapPane(), BorderLayout.CENTER); |
93 |
splitPane.add(newRight); |
splitPane.add(newRight); |
|
|
|
|
|
|
94 |
|
|
95 |
this.add(splitPane, BorderLayout.CENTER); |
this.add(splitPane, BorderLayout.CENTER); |
96 |
} |
} |