Revision 14
trunk/appGazetteer/src/org/gvsig/gazetteer/GazetteerLibrary.java | ||
---|---|---|
27 | 27 |
|
28 | 28 |
package org.gvsig.gazetteer; |
29 | 29 |
|
30 |
import org.gvsig.andami.IconThemeHelper; |
|
30 | 31 |
import org.gvsig.tools.library.AbstractLibrary; |
31 | 32 |
import org.gvsig.tools.library.LibraryException; |
32 | 33 |
import org.gvsig.tools.locator.ReferenceNotRegisteredException; |
... | ... | |
43 | 44 |
|
44 | 45 |
@Override |
45 | 46 |
protected void doInitialize() throws LibraryException { |
47 |
IconThemeHelper.registerIcon("gazetteer", "gazetteer-up", this); |
|
48 |
IconThemeHelper.registerIcon("gazetteer", "gazetteer-down", this); |
|
46 | 49 |
} |
47 | 50 |
|
48 | 51 |
@Override |
trunk/appGazetteer/src/org/gvsig/gazetteer/ui/search/SearchDialogPanel.java | ||
---|---|---|
52 | 52 |
import javax.swing.JOptionPane; |
53 | 53 |
import javax.swing.JPanel; |
54 | 54 |
|
55 |
import org.gvsig.andami.IconThemeHelper; |
|
55 | 56 |
import org.gvsig.catalog.ui.search.SearchButtonPanel; |
56 | 57 |
import org.gvsig.catalog.utils.CatalogConstants; |
57 | 58 |
import org.gvsig.gazetteer.GazetteerClient; |
... | ... | |
210 | 211 |
|
211 | 212 |
|
212 | 213 |
protected Icon getUpIcon(){ |
213 |
return new ImageIcon("./gvSIG/extensiones/org.gvsig.catalog/images/up.png");
|
|
214 |
return IconThemeHelper.getImageIcon("gazetteer-up");
|
|
214 | 215 |
} |
215 | 216 |
|
216 | 217 |
protected Icon getDownIcon(){ |
217 |
return new ImageIcon("./gvSIG/extensiones/org.gvsig.catalog/images/down.png");
|
|
218 |
return IconThemeHelper.getImageIcon("gazetteer-down");
|
|
218 | 219 |
} |
219 | 220 |
|
220 | 221 |
|
trunk/appGazetteer/pom.xml | ||
---|---|---|
108 | 108 |
<artifactId>commons-httpclient</artifactId> |
109 | 109 |
<scope>compile</scope> |
110 | 110 |
</dependency> |
111 |
<dependency> |
|
112 |
<groupId>org.gvsig</groupId> |
|
113 |
<artifactId>org.gvsig.andami</artifactId> |
|
114 |
<scope>compile</scope> |
|
115 |
</dependency> |
|
116 |
|
|
111 | 117 |
</dependencies> |
112 | 118 |
<properties> |
113 | 119 |
<build-dir>${basedir}/../build</build-dir> |
trunk/extGazetteer/src/org/gvsig/gazetteer/gui/SearchDialog.java | ||
---|---|---|
139 | 139 |
* @see org.gvsig.gazetteer.ui.search.SearchDialogPanel#getUpIcon() |
140 | 140 |
*/ |
141 | 141 |
protected Icon getUpIcon(){ |
142 |
return PluginServices.getIconTheme().get("catalog-up");
|
|
142 |
return PluginServices.getIconTheme().get("gazetteer-up");
|
|
143 | 143 |
} |
144 | 144 |
|
145 | 145 |
/* |
... | ... | |
147 | 147 |
* @see org.gvsig.gazetteer.ui.search.SearchDialogPanel#getDownIcon() |
148 | 148 |
*/ |
149 | 149 |
protected Icon getDownIcon(){ |
150 |
return PluginServices.getIconTheme().get("catalog-down");
|
|
150 |
return PluginServices.getIconTheme().get("gazetteer-down");
|
|
151 | 151 |
} |
152 | 152 |
|
153 | 153 |
/** |
Also available in: Unified diff