Browse Source

Pull request #5858: 无JIRA任务,打包报错

Merge in DESIGN/design from ~BJORN/design:final/11.0 to final/11.0

* commit '6b5ffac3276c31a188625e9c783a0bec29416edf':
  无JIRA任务,打包报错
fix-lag
Bjorn 3 years ago
parent
commit
fab3241e07
  1. 11
      designer-chart/src/main/java/com/fr/design/module/ChartPreStyleListPane.java

11
designer-chart/src/main/java/com/fr/design/module/ChartPreStyleListPane.java

@ -9,19 +9,16 @@ import com.fr.design.gui.controlpane.JListControlPane;
import com.fr.design.gui.controlpane.NameObjectCreator;
import com.fr.design.gui.controlpane.NameableCreator;
import com.fr.design.gui.controlpane.ShortCut4JControlPane;
import com.fr.design.gui.ilist.JNameEdList;
import com.fr.design.gui.ilist.ModNameActionListener;
import com.fr.design.i18n.Toolkit;
import com.fr.design.menu.ShortCut;
import com.fr.general.ComparatorUtils;
import com.fr.general.NameObject;
import com.fr.stable.Nameable;
import com.fr.stable.StringUtils;
import javax.swing.JOptionPane;
import javax.swing.SwingUtilities;
import javax.swing.event.ListSelectionEvent;
import javax.swing.event.ListSelectionListener;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
@ -34,12 +31,8 @@ import java.util.List;
*/
public class ChartPreStyleListPane extends JListControlPane {
ChartPreStyleManagerPane chartPreStyleManagerPane;
public ChartPreStyleListPane(ChartPreStyleManagerPane chartPreStyleManagerPane) {
public ChartPreStyleListPane() {
super();
this.chartPreStyleManagerPane = chartPreStyleManagerPane;
initListener();
addModNameActionListener((int index, String oldName, String newName) -> {
if (ComparatorUtils.equals(oldName, newName)) {
return;

Loading…
Cancel
Save