|
|
|
@ -19,7 +19,6 @@ import com.fr.design.mainframe.chart.gui.item.FlexibleComboBox;
|
|
|
|
|
import com.fr.design.mainframe.chart.gui.item.ItemEventType; |
|
|
|
|
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane; |
|
|
|
|
import com.fr.design.mainframe.chart.mode.ChartEditContext; |
|
|
|
|
import com.fr.design.mainframe.chart.mode.ChartEditMode; |
|
|
|
|
import com.fr.design.module.DesignModuleFactory; |
|
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
@ -27,11 +26,6 @@ import com.fr.stable.AssistUtils;
|
|
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
|
|
|
|
|
import javax.swing.JPanel; |
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.Iterator; |
|
|
|
|
import java.util.LinkedHashMap; |
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.Map; |
|
|
|
|
import java.awt.BorderLayout; |
|
|
|
|
import java.awt.CardLayout; |
|
|
|
|
import java.awt.event.ActionEvent; |
|
|
|
@ -40,6 +34,11 @@ import java.awt.event.ItemEvent;
|
|
|
|
|
import java.awt.event.ItemListener; |
|
|
|
|
import java.awt.event.MouseAdapter; |
|
|
|
|
import java.awt.event.MouseEvent; |
|
|
|
|
import java.util.ArrayList; |
|
|
|
|
import java.util.Iterator; |
|
|
|
|
import java.util.LinkedHashMap; |
|
|
|
|
import java.util.List; |
|
|
|
|
import java.util.Map; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 图表 属性表, 类型选择 界面. |
|
|
|
@ -55,6 +54,7 @@ public class ChartTypePane extends AbstractChartAttrPane {
|
|
|
|
|
private ActionListener autoButtonListener; |
|
|
|
|
private boolean inForm; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
protected JPanel createContentPane() { |
|
|
|
|
initButtonListener(); |
|
|
|
@ -291,13 +291,20 @@ public class ChartTypePane extends AbstractChartAttrPane {
|
|
|
|
|
String plotID = entry.getKey(); |
|
|
|
|
if (ignore || ChartTypeManager.enabledChart(plotID)) { |
|
|
|
|
if (ChartTypeManager.getInstance().isShowInDesigner(plotID)) { |
|
|
|
|
cards.add(entry.getValue()); |
|
|
|
|
if (notGeoLandInDuchampCPT(plotID)) { |
|
|
|
|
cards.add(entry.getValue()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public boolean notGeoLandInDuchampCPT(String plotID) { |
|
|
|
|
return !(DesignModeContext.isDuchampMode() |
|
|
|
|
&& ChartTypeInterfaceManager.GEO_LAND_CHART_ID.equals(plotID)); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private void addOnePlotIDCards(int priority, String plotID) { |
|
|
|
|
cards.add(allChartTypePane.get(priority).get(plotID)); |
|
|
|
|
} |
|
|
|
|