|
|
|
@ -18,11 +18,11 @@ import com.fr.plugin.chart.vanchart.VanChart;
|
|
|
|
|
import javax.swing.JFrame; |
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
import javax.swing.tree.DefaultMutableTreeNode; |
|
|
|
|
import java.util.Set; |
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
import java.awt.Dimension; |
|
|
|
|
import java.awt.event.ActionEvent; |
|
|
|
|
import java.awt.event.ActionListener; |
|
|
|
|
import java.util.Set; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @author Bjorn |
|
|
|
@ -64,7 +64,7 @@ public abstract class MapDataSetFieldsPane<T extends ColumnFieldCollectionWithSe
|
|
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
|
VanChartMapPlot plot = chart.getPlot(); |
|
|
|
|
if (treeNodeAndItems == null) { |
|
|
|
|
treeNodeAndItems = ChartGEOJSONHelper.getTreeNodeAndItems(plot.getGeoUrl(), level, plot.getMapType()); |
|
|
|
|
treeNodeAndItems = ChartGEOJSONHelper.getTreeNodeAndItems(plot.getGeoUrl(), level, plot.getMapType(), true); |
|
|
|
|
} |
|
|
|
|
final MapAreaMatchPane pane = new MapAreaMatchPane(treeNodeAndItems); |
|
|
|
|
|
|
|
|
|