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