|
|
|
@ -1,10 +1,12 @@
|
|
|
|
|
package com.fr.design.mainframe.vcs.ui; |
|
|
|
|
|
|
|
|
|
import com.fr.base.svg.IconUtils; |
|
|
|
|
import com.fr.design.dialog.BasicDialog; |
|
|
|
|
import com.fr.design.dialog.FineJOptionPane; |
|
|
|
|
import com.fr.design.gui.ilable.UILabel; |
|
|
|
|
import com.fr.design.gui.itextfield.UITextField; |
|
|
|
|
import com.fr.design.i18n.Toolkit; |
|
|
|
|
import com.fr.design.mainframe.DesignerContext; |
|
|
|
|
import com.fr.design.mainframe.vcs.VcsOperatorWorker; |
|
|
|
|
import com.fr.design.mainframe.vcs.TableEntity; |
|
|
|
|
import com.fr.design.mainframe.vcs.TableValueOperator; |
|
|
|
@ -47,7 +49,9 @@ public class RecyclePane extends AbstractSupportSelectTablePane<VcsTableEntity>
|
|
|
|
|
protected UILabel restoreLabel; |
|
|
|
|
|
|
|
|
|
private static final int COLUMNS_COUNT = 15; |
|
|
|
|
private BasicDialog dialog; |
|
|
|
|
|
|
|
|
|
private BasicDialog parent; |
|
|
|
|
private List<VcsTableEntity> tableEntities; |
|
|
|
|
|
|
|
|
|
public RecyclePane() { |
|
|
|
@ -196,6 +200,47 @@ public class RecyclePane extends AbstractSupportSelectTablePane<VcsTableEntity>
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 显示弹窗 |
|
|
|
|
* |
|
|
|
|
*/ |
|
|
|
|
public void showDialog() { |
|
|
|
|
dialog = this.showWindow(DesignerContext.getDesignerFrame(), false); |
|
|
|
|
dialog.setVisible(true); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 依据父弹窗显示弹窗 |
|
|
|
|
* |
|
|
|
|
* @param parent 父弹窗 |
|
|
|
|
*/ |
|
|
|
|
public void showDialog(BasicDialog parent) { |
|
|
|
|
this.parent = parent; |
|
|
|
|
dialog = this.showWindow(parent, false); |
|
|
|
|
dialog.setVisible(true); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 关闭弹窗,如果有父弹窗,则一起关闭 |
|
|
|
|
* |
|
|
|
|
*/ |
|
|
|
|
public void closeDialog() { |
|
|
|
|
if (dialog != null) { |
|
|
|
|
dialog.dispose(); |
|
|
|
|
} |
|
|
|
|
if (parent != null) { |
|
|
|
|
parent.dispose(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public BasicDialog getDialog() { |
|
|
|
|
return dialog; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setDialog(BasicDialog dialog) { |
|
|
|
|
this.dialog = dialog; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 删除范围 |
|
|
|
|
* |
|
|
|
|