|
|
|
@ -363,8 +363,8 @@ public class RemoteEnvPane extends BasicBeanPane<RemoteDesignerWorkspaceInfo> {
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
public RemoteDesignerWorkspaceInfo updateBean() { |
|
|
|
|
String url = this.remoteWorkspaceURL.getURL(); |
|
|
|
|
String username = this.usernameInput.getText(); |
|
|
|
|
String url = removeSpaces(this.remoteWorkspaceURL.getURL()); |
|
|
|
|
String username = removeSpaces(this.usernameInput.getText()); |
|
|
|
|
String password = new String(this.passwordInput.getPassword()); |
|
|
|
|
boolean rememberPwd = this.rememberPwdCheckbox.isSelected(); |
|
|
|
|
DesignerEnvProcessor envProcessor = ExtraDesignClassManager.getInstance().getSingle(DesignerEnvProcessor.XML_TAG); |
|
|
|
@ -384,6 +384,13 @@ public class RemoteEnvPane extends BasicBeanPane<RemoteDesignerWorkspaceInfo> {
|
|
|
|
|
return info; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
private String removeSpaces(String str) { |
|
|
|
|
if (StringUtils.isNotEmpty(str)) { |
|
|
|
|
return str.trim(); |
|
|
|
|
} |
|
|
|
|
return str; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
|
protected String title4PopupWindow() { |
|
|
|
|
return "Remote"; |
|
|
|
|