15 |
import javax.swing.JComponent; |
import javax.swing.JComponent; |
16 |
import javax.swing.JToggleButton; |
import javax.swing.JToggleButton; |
17 |
import javax.swing.JToolBar; |
import javax.swing.JToolBar; |
|
import javax.swing.JToolBar.Separator; |
|
|
|
|
|
import jj2000.j2k.NotImplementedError; |
|
18 |
|
|
19 |
import org.apache.log4j.Logger; |
import org.apache.log4j.Logger; |
20 |
|
|
398 |
mapPane.refresh(); |
mapPane.refresh(); |
399 |
} |
} |
400 |
} |
} |
401 |
|
|
402 |
|
/** |
403 |
|
* Clear the selection by calling the selection model |
404 |
|
*/ |
405 |
|
if (action == TOOL_SELECTION_CLEAR) { |
406 |
|
// TODO |
407 |
|
} |
408 |
} |
} |
409 |
|
|
410 |
|
|
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. |