|
|
@ -144,8 +144,6 @@ public class ConnectionComboBoxPanel extends ItemEditableComboBoxPanel { |
|
|
|
connectionListDialog.setDoOKSucceed(false); |
|
|
|
connectionListDialog.setDoOKSucceed(false); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
// 关闭定义数据连接页面,为其解锁
|
|
|
|
|
|
|
|
EditLockUtils.unlock(LockItem.CONNECTION); |
|
|
|
|
|
|
|
Configurations.modify(new WorkerFacade(ConnectionConfig.class) { |
|
|
|
Configurations.modify(new WorkerFacade(ConnectionConfig.class) { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void run() { |
|
|
|
public void run() { |
|
|
@ -161,6 +159,8 @@ public class ConnectionComboBoxPanel extends ItemEditableComboBoxPanel { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void afterCommit() { |
|
|
|
public void afterCommit() { |
|
|
|
DesignerContext.getDesignerBean("databasename").refreshBeanElement(); |
|
|
|
DesignerContext.getDesignerBean("databasename").refreshBeanElement(); |
|
|
|
|
|
|
|
// 关闭定义数据连接页面,为其解锁
|
|
|
|
|
|
|
|
EditLockUtils.unlock(LockItem.CONNECTION); |
|
|
|
} |
|
|
|
} |
|
|
|
})); |
|
|
|
})); |
|
|
|
|
|
|
|
|
|
|
|