root / branches / v2_0_0_prep / extensions / extExpressionField / src / org / gvsig / expressionfield / AboutExpressionFieldExtension.java @ 29628
History | View | Annotate | Download (935 Bytes)
1 |
package org.gvsig.expressionfield; |
---|---|
2 |
|
3 |
import org.gvsig.andami.PluginServices; |
4 |
import org.gvsig.andami.plugins.Extension; |
5 |
import org.gvsig.app.extension.About; |
6 |
import org.gvsig.app.gui.panels.FPanelAbout; |
7 |
|
8 |
|
9 |
/**
|
10 |
* About extension.
|
11 |
*
|
12 |
* Add the about coments to the gvSIG About panel
|
13 |
*/
|
14 |
|
15 |
public class AboutExpressionFieldExtension extends Extension { |
16 |
|
17 |
public void initialize() { |
18 |
// TODO Auto-generated method stub
|
19 |
|
20 |
} |
21 |
|
22 |
public void postInitialize() { |
23 |
About about=(About)PluginServices.getExtension(About.class); |
24 |
FPanelAbout panelAbout=about.getAboutPanel(); |
25 |
java.net.URL aboutURL = this.getClass().getResource(
|
26 |
"/about.htm");
|
27 |
panelAbout.addAboutUrl(PluginServices.getText(this,"calculate_expression"),aboutURL); |
28 |
} |
29 |
|
30 |
public void execute(String actionCommand) { |
31 |
|
32 |
} |
33 |
|
34 |
public boolean isEnabled() { |
35 |
return false; |
36 |
} |
37 |
|
38 |
public boolean isVisible() { |
39 |
return false; |
40 |
} |
41 |
|
42 |
} |