Revision 1484
org.gvsig.raster.georeferencing/trunk/org.gvsig.raster.georeferencing/org.gvsig.raster.georeferencing.app/org.gvsig.raster.georeferencing.app.georeferencingclient/distribution/distribution.xml | ||
---|---|---|
27 | 27 |
<include>org.gvsig:org.gvsig.raster.georeferencing.lib.impl:jar</include> |
28 | 28 |
<include>org.gvsig:org.gvsig.raster.georeferencing.swing.api:jar</include> |
29 | 29 |
<include>org.gvsig:org.gvsig.raster.georeferencing.swing.impl:jar</include> |
30 |
<include>org.gvsig:org.gvsig.raster.georeferencing.framework.api:jar</include> |
|
31 |
<include>org.gvsig:org.gvsig.raster.georeferencing.framework.andami:jar</include> |
|
30 | 32 |
</includes> |
31 | 33 |
</dependencySet> |
32 | 34 |
</dependencySets> |
org.gvsig.raster.georeferencing/trunk/org.gvsig.raster.georeferencing/org.gvsig.raster.georeferencing.app/org.gvsig.raster.georeferencing.app.georeferencingclient/src/main/java/org/gvsig/raster/georeferencing/app/georeferencingclient/GeoreferencingExtension.java | ||
---|---|---|
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana |
|
1 |
/* gvSIG. Sistema de Informaci?n Geogr?fica de la Generalitat Valenciana
|
|
2 | 2 |
* |
3 | 3 |
* Copyright (C) 2007 IVER T.I. and Generalitat Valenciana. |
4 | 4 |
* |
... | ... | |
48 | 48 |
ExtensionPointManager extensionPoints = ToolsLocator.getExtensionPointManager(); |
49 | 49 |
ExtensionPoint point = extensionPoints.add("GenericToolBarMenu"); |
50 | 50 |
point.append("Georreferencing", "", GeoreferencingTocMenuEntry.getSingleton()); |
51 |
GeoreferencingTocMenuEntry.setExtension(this); |
|
51 | 52 |
|
52 | 53 |
//Actions |
53 | 54 |
IconThemeHelper.registerIcon("action", "menu-layer-georeferencing", this); |
... | ... | |
90 | 91 |
} |
91 | 92 |
|
92 | 93 |
public Icon getIcon() { |
93 |
return IconThemeHelper.getImageIcon("georeferencing-icon");
|
|
94 |
return IconThemeHelper.getImageIcon("menu-layer-georeferencing");
|
|
94 | 95 |
} |
95 | 96 |
|
96 | 97 |
public int getOrder() { |
org.gvsig.raster.georeferencing/trunk/org.gvsig.raster.georeferencing/org.gvsig.raster.georeferencing.app/org.gvsig.raster.georeferencing.app.georeferencingclient/src/main/java/org/gvsig/raster/georeferencing/app/georeferencingclient/GeoreferencingTocMenuEntry.java | ||
---|---|---|
35 | 35 |
*/ |
36 | 36 |
public class GeoreferencingTocMenuEntry extends AbstractTocContextMenuAction implements IGenericToolBarMenuItem { |
37 | 37 |
private static GeoreferencingTocMenuEntry singleton = null; |
38 |
private Extension extension = null;
|
|
38 |
private static Extension extension = null;
|
|
39 | 39 |
|
40 |
private GeoreferencingTocMenuEntry() { |
|
41 |
extension = new GeoreferencingExtension(); |
|
42 |
extension.initialize(); |
|
43 |
} |
|
44 | 40 |
|
45 | 41 |
/** |
46 | 42 |
* Assigns the extension to be executed |
47 | 43 |
* @param ext |
48 | 44 |
*/ |
49 |
public void setExtension(Extension ext) { |
|
50 |
this.extension = ext;
|
|
45 |
public static void setExtension(Extension ext) {
|
|
46 |
extension = ext; |
|
51 | 47 |
} |
52 | 48 |
|
53 | 49 |
/** |
org.gvsig.raster.georeferencing/trunk/org.gvsig.raster.georeferencing/org.gvsig.raster.georeferencing.app/org.gvsig.raster.georeferencing.app.georeferencingclient/src/main/resources/config.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
2 | 2 |
<plugin-config> |
3 |
<depends plugin-name="com.iver.cit.gvsig"/>
|
|
4 |
<libraries library-dir="."/>
|
|
3 |
<depends plugin-name="org.gvsig.raster.tools.app.basic" />
|
|
4 |
<libraries library-dir="lib"/>
|
|
5 | 5 |
<resourceBundle name="text"/> |
6 | 6 |
<extensions> |
7 | 7 |
<extension class-name="org.gvsig.raster.georeferencing.app.georeferencingclient.GeoreferencingExtension" |
org.gvsig.raster.georeferencing/trunk/org.gvsig.raster.georeferencing/org.gvsig.raster.georeferencing.swing/org.gvsig.raster.georeferencing.swing.api/src/main/java/org/gvsig/raster/georeferencing/swing/GeoreferencingSwingLocator.java | ||
---|---|---|
37 | 37 |
* Validation swing manager name. |
38 | 38 |
*/ |
39 | 39 |
public static final String SWING_MANAGER_NAME = |
40 |
"Raster.swing.manager";
|
|
40 |
"Georeferencing.swing.manager";
|
|
41 | 41 |
|
42 | 42 |
/** |
43 | 43 |
* Validation swing manager description. |
44 | 44 |
*/ |
45 | 45 |
public static final String SWING_MANAGER_DESCRIPTION = |
46 |
"Raster UIManager";
|
|
46 |
"Georeferencing UIManager";
|
|
47 | 47 |
|
48 |
private static final String LOCATOR_NAME = "Raster.swing.locator";
|
|
48 |
private static final String LOCATOR_NAME = "Georeferencing.swing.locator";
|
|
49 | 49 |
|
50 | 50 |
/** |
51 | 51 |
* Unique instance. |
org.gvsig.raster.georeferencing/trunk/org.gvsig.raster.georeferencing/org.gvsig.raster.georeferencing.swing/org.gvsig.raster.georeferencing.swing.api/src/main/resources/META-INF/services/org.gvsig.tools.library.Library | ||
---|---|---|
1 |
org.gvsig.raster.georeferencing.swing.GeoreferencingSwingLibrary |
org.gvsig.raster.georeferencing/trunk/org.gvsig.raster.georeferencing/org.gvsig.raster.georeferencing.swing/org.gvsig.raster.georeferencing.swing.impl/src/main/resources/META-INF/services/org.gvsig.tools.library.Library | ||
---|---|---|
1 |
org.gvsig.raster.georeferencing.swing.impl.GeoreferencingSwingImplLibrary |
Also available in: Unified diff