Revision 7379 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/TableOperations.java
TableOperations.java | ||
---|---|---|
61 | 61 |
import com.iver.cit.gvsig.project.documents.table.FieldSelectionModel; |
62 | 62 |
import com.iver.cit.gvsig.project.documents.table.ObjectSelectionStep; |
63 | 63 |
import com.iver.cit.gvsig.project.documents.table.ProjectTable; |
64 |
import com.iver.cit.gvsig.project.documents.table.ProjectTableFactory; |
|
64 | 65 |
import com.iver.cit.gvsig.project.documents.table.TableSelectionModel; |
65 | 66 |
import com.iver.cit.gvsig.project.documents.table.gui.AndamiWizard; |
66 | 67 |
import com.iver.cit.gvsig.project.documents.table.gui.Table; |
... | ... | |
85 | 86 |
public void execute(String actionCommand) { |
86 | 87 |
if ("JOIN".equals(actionCommand)) { |
87 | 88 |
ProjectExtension pe = (ProjectExtension) PluginServices.getExtension(ProjectExtension.class); |
88 |
ProjectTable[] pts = (ProjectTable[]) pe.getProject().getDocumentsByType("ProjectTable")
|
|
89 |
ProjectTable[] pts = (ProjectTable[]) pe.getProject().getDocumentsByType(ProjectTableFactory.registerName)
|
|
89 | 90 |
.toArray(new ProjectTable[0]); |
90 | 91 |
|
91 | 92 |
try { |
... | ... | |
230 | 231 |
} |
231 | 232 |
}else if ("LINK".equals(actionCommand)) { |
232 | 233 |
ProjectExtension pe = (ProjectExtension) PluginServices.getExtension(ProjectExtension.class); |
233 |
ProjectTable[] pts = (ProjectTable[]) pe.getProject().getDocumentsByType("ProjectTable")
|
|
234 |
ProjectTable[] pts = (ProjectTable[]) pe.getProject().getDocumentsByType(ProjectTableFactory.registerName)
|
|
234 | 235 |
.toArray(new ProjectTable[0]); |
235 | 236 |
|
236 | 237 |
try { |
Also available in: Unified diff