206 |
new ImageIcon(MapView.class.getResource("resource/icons/info.png")) |
new ImageIcon(MapView.class.getResource("resource/icons/info.png")) |
207 |
), false ); |
), false ); |
208 |
|
|
209 |
// // Set Selection |
// Set Selection |
210 |
// addTool( new MapPaneToolBarAction( |
addTool( new MapPaneToolBarAction( |
211 |
// TOOL_SELECTION_SET, |
TOOL_SELECTION_SET, |
212 |
// this, |
this, |
213 |
// "", |
"", |
214 |
// new ImageIcon(MapView.class.getResource("resource/icons/selection_set.png")) |
new ImageIcon(MapView.class.getResource("resource/icons/selection_set.png")) |
215 |
// ), false ); |
), false ); |
216 |
// |
|
217 |
// // Add Selection |
// Add Selection |
218 |
// addTool( new MapPaneToolBarAction( |
addTool( new MapPaneToolBarAction( |
219 |
// TOOL_SELECTION_ADD, |
TOOL_SELECTION_ADD, |
220 |
// this, |
this, |
221 |
// "", |
"", |
222 |
// new ImageIcon(MapView.class.getResource("resource/icons/selection_add.png")) |
new ImageIcon(MapView.class.getResource("resource/icons/selection_add.png")) |
223 |
// ), false ); |
), false ); |
224 |
// |
|
225 |
// // Remove Selection |
// Remove Selection |
226 |
// addTool( new MapPaneToolBarAction( |
addTool( new MapPaneToolBarAction( |
227 |
// TOOL_SELECTION_REMOVE, |
TOOL_SELECTION_REMOVE, |
228 |
// this, |
this, |
229 |
// "", |
"", |
230 |
// new ImageIcon(MapView.class.getResource("resource/icons/selection_remove.png")) |
new ImageIcon(MapView.class.getResource("resource/icons/selection_remove.png")) |
231 |
// ), false ); |
), false ); |
232 |
// |
|
233 |
// // ResetSelection |
// ResetSelection |
234 |
// addAction( new MapPaneToolBarAction( |
addAction( new MapPaneToolBarAction( |
235 |
// TOOL_SELECTION_CLEAR, |
TOOL_SELECTION_CLEAR, |
236 |
// this, |
this, |
237 |
// "", |
"", |
238 |
// new ImageIcon(MapView.class.getResource("resource/icons/selection_clear.png")) |
new ImageIcon(MapView.class.getResource("resource/icons/selection_clear.png")) |
239 |
// ), false ); |
), false ); |
240 |
|
|
241 |
// Zoom in |
// Zoom in |
242 |
addTool( new MapPaneToolBarAction( |
addTool( new MapPaneToolBarAction( |
631 |
public int getMinToolID() { |
public int getMinToolID() { |
632 |
return toolAndActionButtons.firstKey(); |
return toolAndActionButtons.firstKey(); |
633 |
} |
} |
634 |
// |
|
|
// /** |
|
|
// * Returns the maximum ID of actions. |
|
|
// */ |
|
|
// public int getMaxActionID() { |
|
|
// return actionButtons.lastKey(); |
|
|
// } |
|
|
// |
|
|
// /** |
|
|
// * Returns the minimum ID of actions. |
|
|
// */ |
|
|
// public int getMinActionID() { |
|
|
// return actionButtons.firstKey(); |
|
|
// } |
|
|
|
|
635 |
/** |
/** |
636 |
* Extends the {@link AbstractAction} with maintaining an ID and |
* Extends the {@link AbstractAction} with maintaining an ID and |
637 |
* the {@link MapPaneToolBar} the actions controls. |
* the {@link MapPaneToolBar} the actions controls. |