svn-gvsig-desktop / trunk / extensions / extAnnotations / src / com / iver / cit / gvsig / Annotation_AboutExtension.java @ 28605
History | View | Annotate | Download (738 Bytes)
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.gui.panels.FPanelAbout; |
6 |
|
7 |
public class Annotation_AboutExtension extends Extension { |
8 |
|
9 |
public void execute(String actionCommand) { |
10 |
|
11 |
} |
12 |
|
13 |
public void initialize() { |
14 |
|
15 |
} |
16 |
|
17 |
public boolean isEnabled() { |
18 |
return false; |
19 |
} |
20 |
|
21 |
public boolean isVisible() { |
22 |
return false; |
23 |
} |
24 |
|
25 |
public void postInitialize() { |
26 |
super.postInitialize();
|
27 |
About about = (About) PluginServices.getExtension(About.class); |
28 |
FPanelAbout panelAbout = about.getAboutPanel(); |
29 |
java.net.URL aboutURL = this.getClass().getResource("/about.htm"); |
30 |
panelAbout.addAboutUrl(PluginServices.getText(this, "annotations"), |
31 |
aboutURL); |
32 |
|
33 |
} |
34 |
} |