Browse Source

REPORT-100958 【版本管理三期】还原或者预览版本,弹窗应该关闭 修改方法名

release/11.0
Destiny.Lin 1 year ago
parent
commit
fbe7375e68
  1. 2
      designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/RecyclePane.java
  2. 2
      designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/VcsCenterPane.java
  3. 4
      designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/VcsNewPane.java

2
designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/RecyclePane.java

@ -247,7 +247,7 @@ public class RecyclePane extends AbstractSupportSelectTablePane<VcsTableEntity>
* 关闭弹窗,如果有父弹窗,则一起关闭,如果有属性配置的弹窗面板要保存再关闭
*
*/
public void SaveSettingAndCloseDialog() {
public void saveSettingAndCloseDialog() {
if (dialog != null) {
dialog.doOK();
dialog.dispose();

2
designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/VcsCenterPane.java

@ -140,7 +140,7 @@ public class VcsCenterPane extends VcsNewPane {
Object o = table.getValueAt(table.getEditingRow(), table.getEditingColumn());
if (o instanceof VcsTableEntity) {
VcsEntity entity = ((VcsTableEntity) o).getEntity();
SaveSettingAndCloseDialog();
saveSettingAndCloseDialog();
DesignerContext.getDesignerFrame().openTemplate(new FileNodeFILE(new FileNode(getTemplateTruePath(entity.getFilename()), false)));
}
}

4
designer-base/src/main/java/com/fr/design/mainframe/vcs/ui/VcsNewPane.java

@ -160,7 +160,7 @@ public class VcsNewPane extends RecyclePane {
JOptionPane.QUESTION_MESSAGE);
if (selVal == JOptionPane.YES_OPTION) {
restoreEntity(entity);
VcsNewPane.this.SaveSettingAndCloseDialog();
VcsNewPane.this.saveSettingAndCloseDialog();
}
}
}
@ -230,7 +230,7 @@ public class VcsNewPane extends RecyclePane {
if (o instanceof VcsTableEntity) {
VcsEntity entity = ((VcsTableEntity) o).getEntity();
previewEntity(entity);
VcsNewPane.this.SaveSettingAndCloseDialog();
VcsNewPane.this.saveSettingAndCloseDialog();
}
}
});

Loading…
Cancel
Save