Revision 1219 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/About.java
About.java | ||
---|---|---|
48 | 48 |
|
49 | 49 |
import com.iver.andami.PluginServices; |
50 | 50 |
import com.iver.andami.plugins.Extension; |
51 |
|
|
51 | 52 |
import com.iver.cit.gvsig.gui.Panels.FPanelAbout; |
52 | 53 |
|
54 |
|
|
53 | 55 |
/** |
54 |
* DOCUMENT ME! |
|
56 |
* Extensi?n que abre una nueva ventana mostrando la informaci?n sobre el |
|
57 |
* gvSIG. |
|
55 | 58 |
* |
56 | 59 |
* @author Francisco Jos? Pe?arrubia |
57 | 60 |
*/ |
58 |
public class About implements Extension{ |
|
59 |
|
|
61 |
public class About implements Extension { |
|
60 | 62 |
/** |
61 |
* DOCUMENT ME! |
|
62 |
* |
|
63 |
* @return DOCUMENT ME! |
|
63 |
* @see com.iver.andami.plugins.Extension#isEnabled() |
|
64 | 64 |
*/ |
65 | 65 |
public boolean isEnabled() { |
66 |
|
|
67 | 66 |
return true; |
68 | 67 |
} |
69 | 68 |
|
70 | 69 |
/** |
71 |
* DOCUMENT ME! |
|
72 |
* |
|
73 |
* @return DOCUMENT ME! |
|
70 |
* @see com.iver.mdiApp.plugins.Extension#isVisible() |
|
74 | 71 |
*/ |
75 | 72 |
public boolean isVisible() { |
76 | 73 |
return true; |
... | ... | |
86 | 83 |
* @see com.iver.andami.plugins.Extension#execute(java.lang.String) |
87 | 84 |
*/ |
88 | 85 |
public void execute(String actionCommand) { |
89 |
FPanelAbout panelAbout = new FPanelAbout();
|
|
90 |
// panelAbout.setPreferredSize(panelAbout.getSize()); |
|
91 |
|
|
86 |
FPanelAbout panelAbout = new FPanelAbout();
|
|
87 |
|
|
88 |
// panelAbout.setPreferredSize(panelAbout.getSize()); |
|
92 | 89 |
PluginServices.getMDIManager().addView(panelAbout); |
93 | 90 |
} |
94 |
} |
|
91 |
} |
Also available in: Unified diff