|
|
@ -564,8 +564,9 @@ public class VanChartMapSourceChoosePane extends JPanel implements UIObserver { |
|
|
|
|
|
|
|
|
|
|
|
mapDataTree.changeRootNode(this.getRootNode()); |
|
|
|
mapDataTree.changeRootNode(this.getRootNode()); |
|
|
|
if(samePlotChange) { |
|
|
|
if(samePlotChange) { |
|
|
|
mapPlot.setGeoUrl(GEOJSONHelper.getDefaultJSONURL()); |
|
|
|
String nodePath = GEOJSONHelper.getDefaultJSONURL(); |
|
|
|
mapDataTree.selectDefaultTreeNode(); |
|
|
|
mapPlot.setGeoUrl(nodePath); |
|
|
|
|
|
|
|
mapDataTree.setSelectNodePath(nodePath); |
|
|
|
selectTreePath = mapDataTree.getSelectionPath(); |
|
|
|
selectTreePath = mapDataTree.getSelectionPath(); |
|
|
|
sourceComboBox.setSelectedItem(selectTreePath); |
|
|
|
sourceComboBox.setSelectedItem(selectTreePath); |
|
|
|
} |
|
|
|
} |
|
|
|