Revision 11093

View differences:

branches/v10/extensions/extGraph_predes/config/text.properties
146 146
use_symbol=
147 147
width=ancho
148 148
yards=
149
piloto_de_redes=Piloto de redes
branches/v10/extensions/extGraph_predes/config/about.htm
1
<html>
2
  <head>
3
    <title>Extesi&oacute;n del piloto de redes.</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">&copy; Copyright
15
      Generalitat Valenciana, IVER T.I. 2007.</font></td>
16
  </tr>
17
</table>
18
  <h3>Piloto gandador del concurso de Redes.</h3>
19
  <p><br><br><b> Build Number: #build.number#</b></p>
20
  </body>
21
</html>
0 22

  
branches/v10/extensions/extGraph_predes/config/text_en.properties
122 122
use_symbol=Use symbol
123 123
width=Width
124 124
yards=Yards
125
piloto_de_redes=
branches/v10/extensions/extGraph_predes/config/text_ca.properties
62 62
use_line_length=
63 63
use_symbol=
64 64
yards=
65
piloto_de_redes=
branches/v10/extensions/extGraph_predes/config/config.xml
121 121
			description="Extensiones de geoprocesamiento"
122 122
			active="true" />
123 123

  
124
		<extension class-name="com.iver.cit.gvsig.AboutGraphExtension"
125
			description="Extension to add about panel."
126
			active="true"/>
124 127
	</extensions>
125 128
</plugin-config>
branches/v10/extensions/extGraph_predes/src/com/iver/cit/gvsig/AboutGraphExtension.java
1
package com.iver.cit.gvsig;
2

  
3
import com.iver.andami.PluginServices;
4
import com.iver.andami.plugins.Extension;
5
import com.iver.cit.gvsig.About;
6
import com.iver.cit.gvsig.gui.panels.FPanelAbout;
7

  
8
/**
9
 * About extension.
10
 *
11
 * Add the about coments to the gvSIG About panel
12
 */
13

  
14
public class AboutGraphExtension extends Extension {
15

  
16
	public void initialize() {
17
		// TODO Auto-generated method stub
18

  
19
	}
20

  
21
	public void postInitialize() {
22
		About about=(About)PluginServices.getExtension(About.class);
23
		FPanelAbout panelAbout=about.getAboutPanel();
24
		java.net.URL aboutURL = this.getClass().getResource(
25
	        "/about.htm");
26
	        panelAbout.addAboutUrl(PluginServices.getText(this,"piloto_de_redes"),aboutURL);
27
	}
28

  
29
	public void execute(String actionCommand) {
30

  
31
	}
32

  
33
	public boolean isEnabled() {
34
		return false;
35
	}
36

  
37
	public boolean isVisible() {
38
		return false;
39
	}
40

  
41
}
0 42

  

Also available in: Unified diff