Revision 34010
branches/v2_0_0_prep/extensions/org.gvsig.annotation.app/org.gvsig.annotation.app.extension/src/main/java/org/gvsig/annotation/app/extension/AnnotationAboutExtension.java | ||
---|---|---|
27 | 27 |
|
28 | 28 |
package org.gvsig.annotation.app.extension; |
29 | 29 |
|
30 |
import org.gvsig.andami.PluginServices; |
|
31 | 30 |
import org.gvsig.andami.plugins.Extension; |
32 |
import org.gvsig.app.extension.About; |
|
33 |
import org.gvsig.app.gui.panels.FPanelAbout; |
|
34 |
import org.gvsig.i18n.Messages; |
|
35 | 31 |
|
36 | 32 |
/** |
37 | 33 |
* @author <a href="mailto:jpiera@gvsig.org">Jorge Piera Llodrá</a> |
... | ... | |
39 | 35 |
public class AnnotationAboutExtension extends Extension { |
40 | 36 |
|
41 | 37 |
public void execute(String actionCommand) { |
42 |
|
|
38 |
// Nothing to do |
|
43 | 39 |
} |
44 | 40 |
|
45 | 41 |
public void initialize() { |
46 |
|
|
42 |
// Nothing to do |
|
47 | 43 |
} |
48 | 44 |
|
49 | 45 |
public boolean isEnabled() { |
... | ... | |
56 | 52 |
|
57 | 53 |
public void postInitialize() { |
58 | 54 |
super.postInitialize(); |
59 |
About about = (About) PluginServices.getExtension(About.class); |
|
60 |
FPanelAbout panelAbout = about.getAboutPanel(); |
|
61 |
java.net.URL aboutURL = this.getClass().getClassLoader().getResource("about.htm"); |
|
62 |
panelAbout.addAboutUrl(Messages.getText("annotations"), aboutURL); |
|
63 |
|
|
64 | 55 |
} |
65 | 56 |
} |
branches/v2_0_0_prep/extensions/org.gvsig.annotation.app/org.gvsig.annotation.app.extension/src/main/resources/about.htm | ||
---|---|---|
1 |
<html> |
|
2 |
<head> |
|
3 |
<title>Extesión de la Aplicación para el manejo de capas de anotaciones.</title> |
|
4 |
<meta content=""> |
|
5 |
<style></style> |
|
6 |
</head> |
|
7 |
<body> |
|
8 |
<table width="60%" border="0"> |
|
9 |
<tr> |
|
10 |
<td width="64%"><img src="images/logo_horiz_bicolor_gva.png" width="329" height="50"></td> |
|
11 |
<td width="36%"><div align="right"><img src="images/logoIver.png" width="87" height="50"></div></td> |
|
12 |
</tr> |
|
13 |
<tr> |
|
14 |
<td colspan="2"><font face="Arial, Helvetica, sans-serif">© Copyright |
|
15 |
Generalitat Valenciana, IVER T.I. 2007.</font></td> |
|
16 |
</tr> |
|
17 |
</table> |
|
18 |
<h3>Extensión de la Aplicación para el para el manejo de capas de anotaciones.</h3> |
|
19 |
<p><br><br><b> Build Number: #build.number#</b></p> |
|
20 |
</body> |
|
21 |
</html> |
Also available in: Unified diff