svn-gvsig-desktop / branches / v2_0_0_prep / extensions / extExpressionField / src / org / gvsig / expressionfield / AboutExpressionFieldExtension.java @ 34007
History | View | Annotate | Download (1.13 KB)
1 |
package org.gvsig.expressionfield; |
---|---|
2 |
|
3 |
import org.gvsig.about.AboutManager; |
4 |
import org.gvsig.about.AboutParticipant; |
5 |
import org.gvsig.andami.plugins.Extension; |
6 |
import org.gvsig.app.ApplicationLocator; |
7 |
import org.gvsig.app.ApplicationManager; |
8 |
|
9 |
|
10 |
/**
|
11 |
* About extension.
|
12 |
*
|
13 |
* Add the about coments to the gvSIG About panel
|
14 |
*/
|
15 |
|
16 |
public class AboutExpressionFieldExtension extends Extension { |
17 |
|
18 |
public void initialize() { |
19 |
// TODO Auto-generated method stub
|
20 |
|
21 |
} |
22 |
|
23 |
public void postInitialize() { |
24 |
ApplicationManager application = ApplicationLocator.getManager(); |
25 |
|
26 |
AboutManager about = application.getAbout(); |
27 |
|
28 |
about.addDeveloper( |
29 |
"IVER",
|
30 |
this.getClass().getClassLoader().getResource("iver.html"), |
31 |
1
|
32 |
); |
33 |
|
34 |
AboutParticipant participant = about.getDeveloper("IVER");
|
35 |
participant.addContribution( |
36 |
"Expression field",
|
37 |
"Extesi?n para el c?lculo de una expresi?n sobre una columna de la tabla.",
|
38 |
2007,1,1, |
39 |
2007,12,31 |
40 |
); |
41 |
} |
42 |
|
43 |
public void execute(String actionCommand) { |
44 |
|
45 |
} |
46 |
|
47 |
public boolean isEnabled() { |
48 |
return false; |
49 |
} |
50 |
|
51 |
public boolean isVisible() { |
52 |
return false; |
53 |
} |
54 |
|
55 |
} |