|
|
@ -1,11 +1,9 @@ |
|
|
|
package com.fr.design.data.datapane; |
|
|
|
package com.fr.design.data.datapane; |
|
|
|
|
|
|
|
|
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
import com.fr.base.BaseUtils; |
|
|
|
import com.fr.data.TableDataSource; |
|
|
|
|
|
|
|
import com.fr.data.impl.DBTableData; |
|
|
|
import com.fr.data.impl.DBTableData; |
|
|
|
import com.fr.design.actions.tabledata.TableDataAction; |
|
|
|
import com.fr.design.actions.tabledata.TableDataAction; |
|
|
|
import com.fr.design.beans.BasicBeanPane; |
|
|
|
import com.fr.design.beans.BasicBeanPane; |
|
|
|
import com.fr.design.data.DesignTableDataManager; |
|
|
|
|
|
|
|
import com.fr.design.gui.controlpane.NameObjectCreator; |
|
|
|
import com.fr.design.gui.controlpane.NameObjectCreator; |
|
|
|
import com.fr.design.gui.controlpane.UnrepeatedNameHelper; |
|
|
|
import com.fr.design.gui.controlpane.UnrepeatedNameHelper; |
|
|
|
import com.fr.design.icon.WarningIcon; |
|
|
|
import com.fr.design.icon.WarningIcon; |
|
|
@ -16,8 +14,8 @@ import com.fr.stable.ArrayUtils; |
|
|
|
import com.fr.stable.Nameable; |
|
|
|
import com.fr.stable.Nameable; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
import com.fr.stable.StringUtils; |
|
|
|
|
|
|
|
|
|
|
|
import javax.swing.Icon; |
|
|
|
import javax.swing.*; |
|
|
|
import java.awt.Image; |
|
|
|
import java.awt.*; |
|
|
|
import java.text.Collator; |
|
|
|
import java.text.Collator; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.ArrayList; |
|
|
|
import java.util.Arrays; |
|
|
|
import java.util.Arrays; |
|
|
@ -37,7 +35,6 @@ public class TableDataNameObjectCreator extends NameObjectCreator { |
|
|
|
private boolean isNeedInsertSeparator = false; |
|
|
|
private boolean isNeedInsertSeparator = false; |
|
|
|
private String prefix = ""; |
|
|
|
private String prefix = ""; |
|
|
|
private java.util.List<String> names = new ArrayList<String>(); |
|
|
|
private java.util.List<String> names = new ArrayList<String>(); |
|
|
|
private String[] allDSNames; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public TableDataNameObjectCreator(TableDataAction action) { |
|
|
|
public TableDataNameObjectCreator(TableDataAction action) { |
|
|
|
super(action.getDisplayName(), action.getIconPath(), action.getTableDataClass(), action.getUpdateTableDataPaneClass()); |
|
|
|
super(action.getDisplayName(), action.getIconPath(), action.getTableDataClass(), action.getUpdateTableDataPaneClass()); |
|
|
|