Revision 8713 org.gvsig.vcsgis/trunk/org.gvsig.vcsgis/org.gvsig.vcsgis.app/org.gvsig.vcsgis.app.mainplugin/src/main/java/org/gvsig/vcsgis/app/VCSGisExtension.java
VCSGisExtension.java | ||
---|---|---|
31 | 31 |
import java.util.Map; |
32 | 32 |
import java.util.Objects; |
33 | 33 |
import javax.swing.JOptionPane; |
34 |
import org.gvsig.andami.IconThemeHelper; |
|
35 | 34 |
import org.gvsig.andami.PluginsLocator; |
36 | 35 |
import org.gvsig.andami.plugins.Extension; |
37 | 36 |
import org.gvsig.andami.preferences.IPreference; |
... | ... | |
91 | 90 |
|
92 | 91 |
@Override |
93 | 92 |
public void initialize() { |
94 |
IconThemeHelper.registerIcon("action", "tools-vcsgis-init-server", this); |
|
95 |
IconThemeHelper.registerIcon("action", "tools-vcsgis-init-workspace", this); |
|
96 |
IconThemeHelper.registerIcon("action", "tools-vcsgis-add-to-workspace", this); |
|
97 |
IconThemeHelper.registerIcon("action", "tools-vcsgis-export", this); |
|
98 |
IconThemeHelper.registerIcon("action", "tools-vcsgis-checkout", this); |
|
99 |
IconThemeHelper.registerIcon("action", "tools-vcsgis-showchanges", this); |
|
100 |
IconThemeHelper.registerIcon("action", "tools-vcsgis-register-workspace", this); |
|
101 |
IconThemeHelper.registerIcon("action", "tools-vcsgis-show-revisions", this); |
|
102 |
IconThemeHelper.registerIcon("action", "tools-vcsgis-checkout-datamodel", this); |
|
103 |
IconThemeHelper.registerIcon("action", "tools-vcsgis-download-workingcopy", this); |
|
93 |
ToolsSwingUtils.registerIcons( |
|
94 |
this.getClass(), |
|
95 |
"/images/action", |
|
96 |
"vcsgis", |
|
97 |
new String[] { "action", "tools-vcsgis-init-server","vcsgis" }, |
|
98 |
new String[] { "action", "tools-vcsgis-init-workspace","vcsgis" }, |
|
99 |
new String[] { "action", "tools-vcsgis-add-to-workspace","vcsgis" }, |
|
100 |
new String[] { "action", "tools-vcsgis-export","vcsgis" }, |
|
101 |
new String[] { "action", "tools-vcsgis-checkout","vcsgis" }, |
|
102 |
new String[] { "action", "tools-vcsgis-showchanges","vcsgis" }, |
|
103 |
new String[] { "action", "tools-vcsgis-register-workspace","vcsgis" }, |
|
104 |
new String[] { "action", "tools-vcsgis-show-revisions","vcsgis" }, |
|
105 |
new String[] { "action", "tools-vcsgis-checkout-datamodel","vcsgis" }, |
|
106 |
new String[] { "action", "tools-vcsgis-download-workingcopy","vcsgis" } |
|
107 |
); |
|
108 |
ToolsSwingUtils.registerSubgroupIconDescription("action", "vcsgis", "Acciones asociadas a VCSGis.\nSe encuentran en el menu 'Heramientas/VCSGis'"); |
|
104 | 109 |
|
110 |
|
|
105 | 111 |
this.dialogsHelper = new VCSGisDialogsHelper(); |
106 | 112 |
// ToolsLocator.getDisposableManager().setStackLimit(200); |
107 | 113 |
} |
... | ... | |
110 | 116 |
public void postInitialize() { |
111 | 117 |
super.postInitialize(); |
112 | 118 |
|
113 |
IconThemeHelper.registerIcon("preferences", "vcsgis-preferences", this); |
|
119 |
ToolsSwingUtils.registerIcons( |
|
120 |
this.getClass(), |
|
121 |
"/images/preferences", |
|
122 |
"vcsgis", |
|
123 |
new String[] { "preferences", "vcsgis-preferences","vcsgis" } |
|
124 |
); |
|
114 | 125 |
|
115 | 126 |
ApplicationManager application = ApplicationLocator.getApplicationManager(); |
116 | 127 |
VCSGisManager manager = VCSGisLocator.getVCSGisManager(); |
Also available in: Unified diff