|
|
|
@ -70,6 +70,10 @@ public class DesignerLoginConfigManager implements XMLReadable, XMLWriter {
|
|
|
|
|
* 插件管理第一次启动时的提醒 |
|
|
|
|
*/ |
|
|
|
|
private boolean pluginRemindOnFirstLaunch = true; |
|
|
|
|
/** |
|
|
|
|
* 使用旧版登录 |
|
|
|
|
*/ |
|
|
|
|
private boolean useOldVersionLogin = false; |
|
|
|
|
|
|
|
|
|
private DesignerLoginConfigManager() { |
|
|
|
|
|
|
|
|
@ -98,6 +102,7 @@ public class DesignerLoginConfigManager implements XMLReadable, XMLWriter {
|
|
|
|
|
this.setLastLoginAccount(reader.getAttrAsString("lastLoginAccount", StringUtils.EMPTY)); |
|
|
|
|
this.setLoginRemindBeforeJumpBBS(reader.getAttrAsBoolean("loginRemindBeforeJumpBBS", true)); |
|
|
|
|
this.setPluginRemindOnFirstLaunch(reader.getAttrAsBoolean("pluginRemindOnFirstLaunch", true)); |
|
|
|
|
this.setUseOldVersionLogin(reader.getAttrAsBoolean("useOldVersionLogin", false)); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -117,6 +122,7 @@ public class DesignerLoginConfigManager implements XMLReadable, XMLWriter {
|
|
|
|
|
writer.attr("lastLoginAccount", lastLoginAccount); |
|
|
|
|
writer.attr("loginRemindBeforeJumpBBS", loginRemindBeforeJumpBBS); |
|
|
|
|
writer.attr("pluginRemindOnFirstLaunch", pluginRemindOnFirstLaunch); |
|
|
|
|
writer.attr("useOldVersionLogin", useOldVersionLogin); |
|
|
|
|
writer.end(); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -223,4 +229,12 @@ public class DesignerLoginConfigManager implements XMLReadable, XMLWriter {
|
|
|
|
|
public void setPluginRemindOnFirstLaunch(boolean pluginRemindOnFirstLaunch) { |
|
|
|
|
this.pluginRemindOnFirstLaunch = pluginRemindOnFirstLaunch; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public boolean isUseOldVersionLogin() { |
|
|
|
|
return useOldVersionLogin; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
public void setUseOldVersionLogin(boolean useOldVersionLogin) { |
|
|
|
|
this.useOldVersionLogin = useOldVersionLogin; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|