Revision 6877 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/PrintTable.java
PrintTable.java | ||
---|---|---|
54 | 54 |
|
55 | 55 |
import com.iver.andami.PluginServices; |
56 | 56 |
import com.iver.andami.plugins.Extension; |
57 |
import com.iver.andami.ui.mdiManager.View;
|
|
57 |
import com.iver.andami.ui.mdiManager.IWindow;
|
|
58 | 58 |
import com.iver.cit.gvsig.gui.Table; |
59 | 59 |
|
60 | 60 |
|
... | ... | |
80 | 80 |
*/ |
81 | 81 |
public void execute(String s) { |
82 | 82 |
if (s.compareTo("PRINTTABLE") == 0){ |
83 |
View f = PluginServices.getMDIManager().getActiveView();
|
|
83 |
IWindow f = PluginServices.getMDIManager().getActiveView();
|
|
84 | 84 |
table=((Table)f).getTable(); |
85 | 85 |
PluginServices.backgroundExecution(new Runnable() { |
86 | 86 |
public void run() { |
... | ... | |
111 | 111 |
* @return DOCUMENT ME! |
112 | 112 |
*/ |
113 | 113 |
public boolean isVisible() { |
114 |
View f = PluginServices.getMDIManager().getActiveView();
|
|
114 |
IWindow f = PluginServices.getMDIManager().getActiveView();
|
|
115 | 115 |
if (f == null) { |
116 | 116 |
return false; |
117 | 117 |
} |
Also available in: Unified diff