|
|
|
@ -82,6 +82,8 @@ public class VcsMovePanel extends BasicPane {
|
|
|
|
|
public static final String FAILED = "FAILED"; |
|
|
|
|
|
|
|
|
|
public static boolean moving = false; |
|
|
|
|
|
|
|
|
|
private BasicDialog parentDialog; |
|
|
|
|
private UILabel vcsUpdateExistLabel = new UILabel(); |
|
|
|
|
|
|
|
|
|
private UILabel vcsUpdateFireLabel = new UILabel(); |
|
|
|
@ -119,11 +121,12 @@ public class VcsMovePanel extends BasicPane {
|
|
|
|
|
private boolean visible = false; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public VcsMovePanel(CardLayout cardLayout, JPanel parentPane, MoveCallBack callBack) { |
|
|
|
|
public VcsMovePanel(CardLayout cardLayout, JPanel parentPane, MoveCallBack callBack, BasicDialog parentDialog) { |
|
|
|
|
this.parentCard = cardLayout; |
|
|
|
|
this.parentPane = parentPane; |
|
|
|
|
this.callBack = callBack; |
|
|
|
|
this.setLayout(new BorderLayout()); |
|
|
|
|
this.parentDialog = parentDialog; |
|
|
|
|
updatePane = FRGUIPaneFactory.createBoxFlowInnerContainer_S_Pane(); |
|
|
|
|
updatePane.setBorder(BorderFactory.createEmptyBorder(10, 10, 0, 0)); |
|
|
|
|
//初始化顶部的面板
|
|
|
|
@ -268,7 +271,7 @@ public class VcsMovePanel extends BasicPane {
|
|
|
|
|
@Override |
|
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
|
VcsCenterPane vcsCenterPane = new VcsCenterPane(); |
|
|
|
|
vcsCenterPane.showDialog(); |
|
|
|
|
vcsCenterPane.showDialog(parentDialog); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
@ -362,6 +365,13 @@ public class VcsMovePanel extends BasicPane {
|
|
|
|
|
parentCard.show(parentPane, SETTING); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public BasicDialog getParentDialog() { |
|
|
|
|
return parentDialog; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setParentDialog(BasicDialog parentDialog) { |
|
|
|
|
this.parentDialog = parentDialog; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
protected String title4PopupWindow() { |
|
|
|
|