38 |
import javax.swing.JSplitPane; |
import javax.swing.JSplitPane; |
39 |
|
|
40 |
import org.apache.log4j.Logger; |
import org.apache.log4j.Logger; |
|
import org.geotools.renderer.lite.StreamingRenderer; |
|
|
import org.geotools.renderer.shape.TransitionShapefileRenderer; |
|
41 |
|
|
42 |
import schmitzm.geotools.gui.GeoMapPane; |
import schmitzm.geotools.gui.GeoMapPane; |
43 |
import schmitzm.geotools.gui.JMapPane; |
import schmitzm.geotools.gui.JMapPane; |
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 |
|
|