|
|
|
@ -529,17 +529,6 @@ public class PluginWebBridge {
|
|
|
|
|
return LoginWebBridge.getHelper().pluginManageLogin(username, password, uiLabel); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 插件管理部分的登陆的回调处理 |
|
|
|
|
* @param username |
|
|
|
|
* @param password |
|
|
|
|
* @param callback |
|
|
|
|
*/ |
|
|
|
|
public void defaultLogin(String username, String password, final JSObject callback) { |
|
|
|
|
Task<Void> task = new PluginTask<>(webEngine, callback, new PluginLoginExecutor(username, password, uiLabel)); |
|
|
|
|
new Thread(task).start(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* 弹出QQ授权页面 |
|
|
|
|
*/ |
|
|
|
@ -556,4 +545,4 @@ public class PluginWebBridge {
|
|
|
|
|
DesignerEnvManager.getEnvManager().setInShowBBsName(StringUtils.EMPTY); |
|
|
|
|
uiLabel.setText(Inter.getLocText("FR-Base_UnSignIn")); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|