Revision 38415 branches/v2_0_0_prep/extensions/org.gvsig.app.document.table.app/org.gvsig.app.document.table.app.mainplugin/src/main/java/org/gvsig/app/project/documents/table/TableManager.java
TableManager.java | ||
---|---|---|
55 | 55 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
56 | 56 |
import org.gvsig.fmap.dal.serverexplorer.filesystem.swing.FilesystemExplorerWizardPanel; |
57 | 57 |
import org.gvsig.fmap.mapcontext.layers.vectorial.FLyrVect; |
58 |
import org.gvsig.fmap.mapcontext.layers.vectorial.VectorLayer; |
|
58 | 59 |
import org.gvsig.tools.ToolsLocator; |
59 | 60 |
import org.gvsig.tools.dynobject.DynObjectManager; |
60 | 61 |
import org.gvsig.tools.dynobject.DynStruct; |
... | ... | |
289 | 290 |
return object instanceof TableDocument; |
290 | 291 |
} |
291 | 292 |
|
292 |
public TableDocument getTableDocument(FLyrVect layer) {
|
|
293 |
public TableDocument getTableDocument(VectorLayer layer) {
|
|
293 | 294 |
if (layer == null) { |
294 | 295 |
return null; |
295 | 296 |
} |
... | ... | |
303 | 304 |
return null; |
304 | 305 |
} |
305 | 306 |
|
306 |
public void removeTableDocument(FLyrVect layer) {
|
|
307 |
public void removeTableDocument(VectorLayer layer) {
|
|
307 | 308 |
TableDocument doc = getTableDocument(layer); |
308 | 309 |
// Only remove it if it exists |
309 | 310 |
if (doc != null) { |
Also available in: Unified diff