Revision 34006
branches/v2_0_0_prep/extensions/org.gvsig.selectiontools.app/org.gvsig.selectiontools.app.extension/src/main/resources/jcyl.html | ||
---|---|---|
1 |
<html> |
|
2 |
<body> |
|
3 |
|
|
4 |
<img src="jcyl.png"><br> |
|
5 |
|
|
6 |
<h2>Junta de Castilla y Le?n</h2> |
|
7 |
<br> |
|
8 |
|
|
9 |
<p>EN CONSTRUCCION</p> |
|
10 |
|
|
11 |
</body> |
|
12 |
</html> |
branches/v2_0_0_prep/extensions/org.gvsig.selectiontools.app/org.gvsig.selectiontools.app.extension/src/main/resources/iver.html | ||
---|---|---|
1 |
<html> |
|
2 |
<body> |
|
3 |
|
|
4 |
<img src="iver-logo.png"><br> |
|
5 |
|
|
6 |
<h2>IVER</h2> |
|
7 |
<br> |
|
8 |
|
|
9 |
<p>EN CONSTRUCCION</p> |
|
10 |
|
|
11 |
</body> |
|
12 |
</html> |
branches/v2_0_0_prep/extensions/org.gvsig.selectiontools.app/org.gvsig.selectiontools.app.extension/src/main/java/org/gvsig/selectiontools/app/extension/AboutSelectionToolsExtension.java | ||
---|---|---|
1 | 1 |
package org.gvsig.selectiontools.app.extension; |
2 | 2 |
|
3 |
import org.gvsig.andami.PluginServices; |
|
3 |
import org.gvsig.about.AboutManager; |
|
4 |
import org.gvsig.about.AboutParticipant; |
|
4 | 5 |
import org.gvsig.andami.plugins.Extension; |
5 |
import org.gvsig.app.extension.About;
|
|
6 |
import org.gvsig.app.gui.panels.FPanelAbout;
|
|
6 |
import org.gvsig.app.ApplicationLocator;
|
|
7 |
import org.gvsig.app.ApplicationManager;
|
|
7 | 8 |
|
8 | 9 |
/* gvSIG. Geographic Information System of the Valencian Government |
9 | 10 |
* |
... | ... | |
50 | 51 |
public void initialize() { |
51 | 52 |
} |
52 | 53 |
|
53 |
/* |
|
54 |
* (non-Javadoc) |
|
55 |
* |
|
56 |
* @see com.iver.andami.plugins.Extension#postInitialize() |
|
57 |
*/ |
|
58 | 54 |
public void postInitialize() { |
59 |
About about = (About) PluginServices.getExtension(About.class); |
|
60 |
FPanelAbout panelAbout = about.getAboutPanel(); |
|
61 |
java.net.URL aboutURL = this.getClass().getResource("/about.htm"); |
|
62 |
panelAbout.addAboutUrl(PluginServices.getText(this, "extSelectionTools"), |
|
63 |
aboutURL); |
|
55 |
// Register the about panel |
|
56 |
ApplicationManager application = ApplicationLocator.getManager(); |
|
57 |
|
|
58 |
AboutManager about = application.getAbout(); |
|
59 |
|
|
60 |
about.addDeveloper("IVER", this.getClass().getClassLoader() |
|
61 |
.getResource("iver.html"), 1); |
|
62 |
|
|
63 |
AboutParticipant participant = about.getDeveloper("IVER"); |
|
64 |
participant.addContribution("SelectionToolsExtension", |
|
65 |
"Selection tools", 2009, 1, 1, 2009, 12, 31); |
|
66 |
|
|
67 |
about.addSponsor("Junta de Castilla y Le?n", // Junta de Castilla y Le?n |
|
68 |
getClass().getClassLoader().getResource("jcyl.html"), 2); |
|
64 | 69 |
} |
65 | 70 |
|
66 | 71 |
/* |
branches/v2_0_0_prep/extensions/org.gvsig.selectiontools.app/org.gvsig.selectiontools.app.extension/pom.xml | ||
---|---|---|
35 | 35 |
</exclusion> --> |
36 | 36 |
</exclusions> |
37 | 37 |
</dependency> |
38 |
<dependency> |
|
39 |
<groupId>org.gvsig</groupId> |
|
40 |
<artifactId>org.gvsig.about.api</artifactId> |
|
41 |
<version>1.0.0-SNAPSHOT</version> |
|
42 |
</dependency> |
|
38 | 43 |
</dependencies> |
39 | 44 |
<profiles> |
40 | 45 |
<profile> |
Also available in: Unified diff