Statistics
| Revision:

svn-gvsig-desktop / tags / v1_1_Build_1002 / extensions / extExpressionField / src / com / iver / cit / gvsig / AboutExpresionFieldExtension.java @ 12070

History | View | Annotate | Download (881 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.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 AboutExpresionFieldExtension 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,"calculate_expresion"),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
}