|
|
@ -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.item.ItemEventType; |
|
|
|
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane; |
|
|
|
import com.fr.design.mainframe.chart.gui.type.AbstractChartTypePane; |
|
|
|
import com.fr.design.mainframe.chart.mode.ChartEditContext; |
|
|
|
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.design.module.DesignModuleFactory; |
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.general.ComparatorUtils; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
|
import com.fr.log.FineLoggerFactory; |
|
|
@ -27,11 +26,6 @@ import com.fr.stable.AssistUtils; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.JPanel; |
|
|
|
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.BorderLayout; |
|
|
|
import java.awt.CardLayout; |
|
|
|
import java.awt.CardLayout; |
|
|
|
import java.awt.event.ActionEvent; |
|
|
|
import java.awt.event.ActionEvent; |
|
|
@ -40,6 +34,11 @@ import java.awt.event.ItemEvent; |
|
|
|
import java.awt.event.ItemListener; |
|
|
|
import java.awt.event.ItemListener; |
|
|
|
import java.awt.event.MouseAdapter; |
|
|
|
import java.awt.event.MouseAdapter; |
|
|
|
import java.awt.event.MouseEvent; |
|
|
|
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 ActionListener autoButtonListener; |
|
|
|
private boolean inForm; |
|
|
|
private boolean inForm; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
protected JPanel createContentPane() { |
|
|
|
protected JPanel createContentPane() { |
|
|
|
initButtonListener(); |
|
|
|
initButtonListener(); |
|
|
@ -291,11 +291,18 @@ public class ChartTypePane extends AbstractChartAttrPane { |
|
|
|
String plotID = entry.getKey(); |
|
|
|
String plotID = entry.getKey(); |
|
|
|
if (ignore || ChartTypeManager.enabledChart(plotID)) { |
|
|
|
if (ignore || ChartTypeManager.enabledChart(plotID)) { |
|
|
|
if (ChartTypeManager.getInstance().isShowInDesigner(plotID)) { |
|
|
|
if (ChartTypeManager.getInstance().isShowInDesigner(plotID)) { |
|
|
|
|
|
|
|
if (notGeoLandInDuchampCPT(plotID)) { |
|
|
|
cards.add(entry.getValue()); |
|
|
|
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) { |
|
|
|
private void addOnePlotIDCards(int priority, String plotID) { |
|
|
|