Browse Source

REPORT-94530 【二开接口】转换用户名接口--格式调整

feature/x
John.Ying-应志浩 2 years ago
parent
commit
0bd571b17f
  1. 4
      designer-base/src/main/java/com/fr/design/env/RemoteDesignerWorkspaceInfo.java
  2. 2
      designer-base/src/main/java/com/fr/env/RemoteEnvPane.java

4
designer-base/src/main/java/com/fr/design/env/RemoteDesignerWorkspaceInfo.java vendored

@ -197,7 +197,7 @@ public class RemoteDesignerWorkspaceInfo implements DesignerWorkspaceInfo {
*
* @author John.Ying
* @since 11.0
* Created by John.Ying on 2023/5/17
* Created on 2023/5/17
*/
public interface RemoteDesignerWorkspaceInfoProcessor extends Immutable {
@ -206,7 +206,7 @@ public class RemoteDesignerWorkspaceInfo implements DesignerWorkspaceInfo {
int CURRENT_LEVEL = 1;
/**
* 返回一个新的自定义连接信息
* 根据链接信息自定义用户名
*/
WorkspaceConnectionInfo customUserName(WorkspaceConnectionInfo workspaceInfo);

2
designer-base/src/main/java/com/fr/env/RemoteEnvPane.java vendored

@ -585,7 +585,7 @@ public class RemoteEnvPane extends BasicBeanPane<RemoteDesignerWorkspaceInfo> {
if (processor != null) {
connection = processor.customUserName(originalConnection);
} else {
connection = remoteEnv.getConnection();
connection = originalConnection;
}
final SwingWorker<Boolean, Void> worker = new SwingWorker<Boolean, Void>() {

Loading…
Cancel
Save