svn-gvsig-desktop / tags / PilotoRedes_Build_4 / extensions / extGraph_predes / src / com / iver / cit / gvsig / AboutGraphExtension.java @ 12191
History | View | Annotate | Download (868 Bytes)
1 | 11093 | jmvivo | 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 | } |