Revision 147
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.app/org.gvsig.educa.batovi.app.skin/src/main/java/org/gvsig/educa/batovi/app/skin/BatoviSkinExtension.java | ||
---|---|---|
21 | 21 |
*/ |
22 | 22 |
package org.gvsig.educa.batovi.app.skin; |
23 | 23 |
|
24 |
import org.gvsig.about.AboutManager; |
|
25 |
import org.gvsig.about.AboutParticipant; |
|
24 | 26 |
import org.gvsig.andami.plugins.Extension; |
27 |
import org.gvsig.app.ApplicationLocator; |
|
28 |
import org.gvsig.app.ApplicationManager; |
|
25 | 29 |
|
26 | 30 |
/** |
27 | 31 |
* Dummy extension required for the plugin config.xml file. |
... | ... | |
47 | 51 |
// |
48 | 52 |
// UIManager.put("InternalFrame.titlePaneHeight", 1); |
49 | 53 |
super.postInitialize(); |
54 |
|
|
55 |
registerAbout(); |
|
50 | 56 |
} |
51 | 57 |
|
52 | 58 |
public boolean isEnabled() { |
... | ... | |
62 | 68 |
return false; |
63 | 69 |
} |
64 | 70 |
|
71 |
/** |
|
72 |
* |
|
73 |
*/ |
|
74 |
private void registerAbout() { |
|
75 |
// Register the about panel |
|
76 |
ApplicationManager application = ApplicationLocator.getManager(); |
|
77 |
|
|
78 |
AboutManager about = application.getAbout(); |
|
79 |
|
|
80 |
about.addDeveloper("DISID", this.getClass().getClassLoader() |
|
81 |
.getResource("about/disid.html"), 1); |
|
82 |
|
|
83 |
AboutParticipant participant = about.getDeveloper("DISID"); |
|
84 |
participant.addContribution("BatoviSkinExtension", |
|
85 |
"Skin to be used in the gvSIG OLPC Activity", 2011, 11, 1, 2012, 2, |
|
86 |
29); |
|
87 |
|
|
88 |
// TODO add more developers and participant |
|
89 |
} |
|
65 | 90 |
} |
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.app/org.gvsig.educa.batovi.app.skin/src/main/resources/about/disid.html | ||
---|---|---|
1 |
<html> |
|
2 |
<body> |
|
3 |
|
|
4 |
<img src="disid-logo.jpeg"><br> |
|
5 |
|
|
6 |
<h2>DiSiD Technologies</h2> |
|
7 |
<br> |
|
8 |
|
|
9 |
<p>EN CONSTRUCCION</p> |
|
10 |
|
|
11 |
</body> |
|
12 |
</html> |
org.gvsig.educa.batovi/trunk/org.gvsig.educa.batovi.app/org.gvsig.educa.batovi.app.skin/src/main/resources/config.xml | ||
---|---|---|
1 | 1 |
<?xml version="1.0" encoding="ISO-8859-1"?> |
2 | 2 |
<plugin-config> |
3 | 3 |
<depends plugin-name="org.gvsig.coreplugin" /> |
4 |
<depends plugin-name="org.gvsig.app" /> |
|
4 | 5 |
<libraries library-dir="lib" /> |
5 | 6 |
<extensions> |
6 | 7 |
<extension class-name="org.gvsig.educa.batovi.app.skin.BatoviSkinExtension" |
Also available in: Unified diff