Revision 42227
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/extension/ViewSelectionByTheme.java | ||
---|---|---|
22 | 22 |
*/ |
23 | 23 |
package org.gvsig.app.extension; |
24 | 24 |
|
25 |
import org.gvsig.andami.IconThemeHelper; |
|
25 | 26 |
import org.gvsig.andami.plugins.Extension; |
26 | 27 |
import org.gvsig.app.ApplicationLocator; |
27 | 28 |
import org.gvsig.app.ApplicationManager; |
... | ... | |
30 | 31 |
import org.gvsig.app.gui.selectionByTheme.SelectionByTheme; |
31 | 32 |
import org.gvsig.app.project.documents.view.ViewDocument; |
32 | 33 |
import org.gvsig.app.project.documents.view.gui.IView; |
34 |
|
|
33 | 35 |
import org.slf4j.Logger; |
34 | 36 |
import org.slf4j.LoggerFactory; |
35 | 37 |
|
... | ... | |
44 | 46 |
.getLogger(ViewSelectionByTheme.class); |
45 | 47 |
|
46 | 48 |
public void initialize() { |
49 |
registerIcons(); |
|
50 |
} |
|
47 | 51 |
|
52 |
private void registerIcons() { |
|
53 |
IconThemeHelper.registerIcon("action", "selection-select-by-layer", this); |
|
48 | 54 |
} |
49 | 55 |
|
50 | 56 |
public void execute(String actionCommand) { |
trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/resources-plugin/config.xml | ||
---|---|---|
628 | 628 |
<action |
629 | 629 |
name="selection-select-by-layer" |
630 | 630 |
position="300070000" |
631 |
label="_Select_by_layer"
|
|
631 |
label="Select_by_layer" |
|
632 | 632 |
action-command="selection-select-by-layer" |
633 | 633 |
icon="selection-select-by-layer" |
634 |
tooltip="_Select_by_layer"
|
|
634 |
tooltip="Select_by_layer" |
|
635 | 635 |
accelerator="" |
636 | 636 |
/> |
637 | 637 |
|
... | ... | |
639 | 639 |
name="selection-select-by-layer" |
640 | 640 |
text="Selection/Select_by_layer" |
641 | 641 |
/> |
642 |
|
|
643 |
<tool-bar name="view_selection" position="6"> |
|
644 |
<action-tool name="selection-select-by-layer" /> |
|
645 |
</tool-bar> |
|
642 | 646 |
</extension> |
643 | 647 |
|
644 | 648 |
<extension class-name="org.gvsig.app.extension.ViewInvertSelection" |
Also available in: Unified diff