gvsig-geoprocess / org.gvsig.sextante / trunk / org.gvsig.sextante.app / org.gvsig.sextante.app.extension / src / main / java / org / gvsig / geoprocess / extensions / HistoryExtension.java @ 172
History | View | Annotate | Download (590 Bytes)
1 |
package org.gvsig.geoprocess.extensions; |
---|---|
2 |
|
3 |
import es.unex.sextante.gui.core.SextanteGUI; |
4 |
import es.unex.sextante.gui.history.History; |
5 |
|
6 |
import org.gvsig.andami.plugins.Extension; |
7 |
|
8 |
|
9 |
public class HistoryExtension extends Extension { |
10 |
|
11 |
public void initialize() { |
12 |
|
13 |
History.startSession(); |
14 |
|
15 |
} |
16 |
|
17 |
public void execute(final String actionCommand) { |
18 |
|
19 |
SextanteGUI.getGUIFactory().showHistoryDialog(); |
20 |
|
21 |
} |
22 |
|
23 |
|
24 |
public boolean isEnabled() { |
25 |
|
26 |
return true; |
27 |
|
28 |
} |
29 |
|
30 |
|
31 |
public boolean isVisible() { |
32 |
|
33 |
return true; |
34 |
|
35 |
} |
36 |
|
37 |
|
38 |
} |