Revision 46737 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/extension/copytable/CopyTable2Panel.java
CopyTable2Panel.java | ||
---|---|---|
40 | 40 |
import org.gvsig.fmap.dal.swing.DALSwingLocator; |
41 | 41 |
import org.gvsig.fmap.dal.swing.DataSwingManager; |
42 | 42 |
import org.gvsig.fmap.dal.swing.featuretype.AttributeDescriptorPickerController; |
43 |
import org.gvsig.fmap.dal.swing.storesrepository.StoresRepositoryController; |
|
43 | 44 |
import org.gvsig.tools.ToolsLocator; |
44 | 45 |
import org.gvsig.tools.bookmarksandhistory.Bookmarks; |
45 | 46 |
import org.gvsig.tools.bookmarksandhistory.History; |
... | ... | |
386 | 387 |
this.historyController.addActionListener(bookmarksAndHistoryListener); |
387 | 388 |
this.bookmarksController.addActionListener(bookmarksAndHistoryListener); |
388 | 389 |
|
389 |
this.treeSourceTableController = new StoresRepositoryController(this.treeSourceTable);
|
|
390 |
this.treeSourceTableController.addTreeSelectionListener((TreeSelectionEvent e) -> {
|
|
390 |
this.treeSourceTableController = dataSwingManager.createStoresRepositoryController(this.treeSourceTable);
|
|
391 |
this.treeSourceTable.addTreeSelectionListener((TreeSelectionEvent e) -> { |
|
391 | 392 |
doChangeSource(); |
392 | 393 |
doUpdateComponents(); |
393 | 394 |
}); |
... | ... | |
397 | 398 |
doUpdateComponents(); |
398 | 399 |
}); |
399 | 400 |
|
400 |
this.treeTargetTableController = new StoresRepositoryController(this.treeTargetTable);
|
|
401 |
this.treeTargetTableController.addTreeSelectionListener((TreeSelectionEvent e) -> {
|
|
401 |
this.treeTargetTableController = dataSwingManager.createStoresRepositoryController(this.treeTargetTable);
|
|
402 |
this.treeTargetTable.addTreeSelectionListener((TreeSelectionEvent e) -> { |
|
402 | 403 |
doChangeTarget(); |
403 | 404 |
doUpdateComponents(); |
404 | 405 |
}); |
Also available in: Unified diff