Revision 37536 branches/v2_0_0_prep/extensions/org.gvsig.geometrymeasurement.app/org.gvsig.geometrymeasurement.app.extension/src/main/java/org/gvsig/geometrymeasurement/app/extension/AreaMeasurementExtension.java
AreaMeasurementExtension.java | ||
---|---|---|
21 | 21 |
*/ |
22 | 22 |
package org.gvsig.geometrymeasurement.app.extension; |
23 | 23 |
|
24 |
import org.gvsig.andami.PluginServices; |
|
24 | 25 |
import org.gvsig.app.project.documents.table.TableDocument; |
25 | 26 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
26 | 27 |
import org.gvsig.fmap.geom.Geometry; |
... | ... | |
36 | 37 |
AbstractGeometryMeasurementExtension { |
37 | 38 |
|
38 | 39 |
public void initialize() { |
39 |
// Do nothing |
|
40 |
super.initialize(); |
|
41 |
|
|
42 |
//Register the icon |
|
43 |
PluginServices.getIconTheme().registerDefault( |
|
44 |
"add-area", |
|
45 |
this.getClass().getClassLoader().getResource( |
|
46 |
"org/gvsig/geometrymeasurement/app/extension/images/area.png") |
|
47 |
); |
|
40 | 48 |
} |
41 | 49 |
|
42 | 50 |
@Override |
Also available in: Unified diff