Revision 14821 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/InfoToolExtension.java
InfoToolExtension.java | ||
---|---|---|
105 | 105 |
* @see com.iver.andami.plugins.IExtension#initialize() |
106 | 106 |
*/ |
107 | 107 |
public void initialize() { |
108 |
registerIcons(); |
|
108 | 109 |
} |
109 | 110 |
|
111 |
private void registerIcons(){ |
|
112 |
PluginServices.getIconTheme().register( |
|
113 |
"view-query-information", |
|
114 |
InfoToolExtension.class.getClassLoader().getResource("images/Identify.png") |
|
115 |
); |
|
116 |
} |
|
117 |
|
|
110 | 118 |
/** |
111 | 119 |
* @see com.iver.andami.plugins.IExtension#isEnabled() |
112 | 120 |
*/ |
... | ... | |
116 | 124 |
if (f == null) { |
117 | 125 |
return false; |
118 | 126 |
} |
119 |
|
|
127 |
|
|
120 | 128 |
if (f instanceof BaseView) { |
121 | 129 |
BaseView vista = (BaseView) f; |
122 | 130 |
IProjectView model = vista.getModel(); |
Also available in: Unified diff