Revision 31496 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/extension/RemoveTableLink.java
RemoveTableLink.java | ||
---|---|---|
43 | 43 |
import org.gvsig.andami.PluginServices; |
44 | 44 |
import org.gvsig.andami.plugins.Extension; |
45 | 45 |
import org.gvsig.andami.ui.mdiManager.IWindow; |
46 |
import org.gvsig.app.project.documents.table.FeatureTableDocument;
|
|
46 |
import org.gvsig.app.project.documents.table.TableDocument; |
|
47 | 47 |
import org.gvsig.app.project.documents.table.gui.FeatureTableDocumentPanel; |
48 | 48 |
|
49 | 49 |
|
... | ... | |
66 | 66 |
*/ |
67 | 67 |
public void execute(String actionCommand) { |
68 | 68 |
FeatureTableDocumentPanel t = (FeatureTableDocumentPanel) PluginServices.getMDIManager().getActiveWindow(); |
69 |
FeatureTableDocument pt = t.getModel();
|
|
69 |
TableDocument pt = t.getModel(); |
|
70 | 70 |
pt.removeLinkTable();//restoreDataSource(); |
71 | 71 |
t.getModel().setModified(true); |
72 | 72 |
} |
Also available in: Unified diff