209 |
new ImageIcon(MapView.class.getResource("resource/icons/info.png")) |
new ImageIcon(MapView.class.getResource("resource/icons/info.png")) |
210 |
), false ); |
), false ); |
211 |
|
|
212 |
// Set Selection |
// // Set Selection |
213 |
addTool( new MapPaneToolBarAction( |
// addTool( new MapPaneToolBarAction( |
214 |
TOOL_SELECTION_SET, |
// TOOL_SELECTION_SET, |
215 |
this, |
// this, |
216 |
"", |
// "", |
217 |
new ImageIcon(MapView.class.getResource("resource/icons/selection_set.png")) |
// new ImageIcon(MapView.class.getResource("resource/icons/selection_set.png")) |
218 |
), false ); |
// ), false ); |
219 |
|
// |
220 |
// Add Selection |
// // Add Selection |
221 |
addTool( new MapPaneToolBarAction( |
// addTool( new MapPaneToolBarAction( |
222 |
TOOL_SELECTION_ADD, |
// TOOL_SELECTION_ADD, |
223 |
this, |
// this, |
224 |
"", |
// "", |
225 |
new ImageIcon(MapView.class.getResource("resource/icons/selection_add.png")) |
// new ImageIcon(MapView.class.getResource("resource/icons/selection_add.png")) |
226 |
), false ); |
// ), false ); |
227 |
|
// |
228 |
// Remove Selection |
// // Remove Selection |
229 |
addTool( new MapPaneToolBarAction( |
// addTool( new MapPaneToolBarAction( |
230 |
TOOL_SELECTION_REMOVE, |
// TOOL_SELECTION_REMOVE, |
231 |
this, |
// this, |
232 |
"", |
// "", |
233 |
new ImageIcon(MapView.class.getResource("resource/icons/selection_remove.png")) |
// new ImageIcon(MapView.class.getResource("resource/icons/selection_remove.png")) |
234 |
), false ); |
// ), false ); |
235 |
|
// |
236 |
// ResetSelection |
// // ResetSelection |
237 |
addAction( new MapPaneToolBarAction( |
// addAction( new MapPaneToolBarAction( |
238 |
TOOL_SELECTION_CLEAR, |
// TOOL_SELECTION_CLEAR, |
239 |
this, |
// this, |
240 |
"", |
// "", |
241 |
new ImageIcon(MapView.class.getResource("resource/icons/selection_clear.png")) |
// new ImageIcon(MapView.class.getResource("resource/icons/selection_clear.png")) |
242 |
), false ); |
// ), false ); |
243 |
|
|
244 |
// Zoom in |
// Zoom in |
245 |
addTool( new MapPaneToolBarAction( |
addTool( new MapPaneToolBarAction( |
401 |
mapPane.refresh(); |
mapPane.refresh(); |
402 |
} |
} |
403 |
} |
} |
404 |
|
|
405 |
|
/** |
406 |
|
* Clear the selection by calling the selection model |
407 |
|
*/ |
408 |
|
if (action == TOOL_SELECTION_CLEAR) { |
409 |
|
// TODO |
410 |
|
} |
411 |
} |
} |
412 |
|
|
413 |
|
|