gvsig-geoprocess / org.gvsig.sextante / trunk / org.gvsig.sextante.app / org.gvsig.sextante.app.extension / src / main / java / org / gvsig / sextante / app / extension / SextanteAdditionalResultsExtension.java @ 30
History | View | Annotate | Download (1.47 KB)
1 |
/*******************************************************************************
|
---|---|
2 |
SextanteAdditionalResultsExtension.java
|
3 |
Copyright (C) Victor Olaya
|
4 |
|
5 |
This program is free software; you can redistribute it and/or modify
|
6 |
it under the terms of the GNU General Public License as published by
|
7 |
the Free Software Foundation; either version 2 of the License, or
|
8 |
(at your option) any later version.
|
9 |
|
10 |
This program is distributed in the hope that it will be useful,
|
11 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
13 |
GNU General Public License for more details.
|
14 |
|
15 |
You should have received a copy of the GNU General Public License
|
16 |
along with this program; if not, write to the Free Software
|
17 |
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
18 |
*******************************************************************************/
|
19 |
package org.gvsig.sextante.app.extension; |
20 |
|
21 |
import org.gvsig.andami.plugins.Extension; |
22 |
|
23 |
import es.unex.sextante.gui.additionalResults.AdditionalResults; |
24 |
import es.unex.sextante.gui.core.SextanteGUI; |
25 |
|
26 |
public class SextanteAdditionalResultsExtension extends Extension { |
27 |
|
28 |
|
29 |
public void initialize(){} |
30 |
|
31 |
|
32 |
public void execute(String actionCommand) { |
33 |
|
34 |
SextanteGUI.getGUIFactory().showAdditionalResultsDialog(AdditionalResults.getComponents()); |
35 |
|
36 |
} |
37 |
|
38 |
public boolean isEnabled() { |
39 |
|
40 |
return true; |
41 |
|
42 |
} |
43 |
|
44 |
public boolean isVisible() { |
45 |
|
46 |
return true; |
47 |
|
48 |
} |
49 |
|
50 |
} |