Browse Source
* commit '25d02cfc6975fba946b87a917428cac5cfd4cc53': REPORT-47101 海外设计器通行证相关链接替换 REPORT-47632 远程锁定-从远程切换到本地后,数据集窗口的锁定图标不消失 【问题原因】之前的逻辑不完善,如果处于远程状态下是锁定的,isLock变量为true,然后切回本地了,这个变量没有被置为false,会导致数据集窗口图标一直为锁定状态 【改动思路】加个判断,如果不是远程设计状态且isLock为true,将其置为false,再通知观察者们 REPORT-47606 聚合报表拖拽时停止编辑会回退到原位置feature/10.0
superman
4 years ago
11 changed files with 188 additions and 25 deletions
@ -0,0 +1,38 @@
|
||||
package com.fr.design.locale.impl; |
||||
|
||||
import com.fr.general.CloudCenter; |
||||
import com.fr.general.GeneralContext; |
||||
import com.fr.general.locale.LocaleMark; |
||||
|
||||
import java.util.HashMap; |
||||
import java.util.Locale; |
||||
import java.util.Map; |
||||
|
||||
/** |
||||
* @author hades |
||||
* @version 10.0 |
||||
* Created by hades on 2021/1/29 |
||||
*/ |
||||
public class BbsRegisterMark implements LocaleMark<String> { |
||||
|
||||
private final Map<Locale, String> map = new HashMap<>(); |
||||
private static final String BBS_REGISTER_CN = CloudCenter.getInstance().acquireUrlByKind("bbs.register"); |
||||
private static final String BBS_REGISTER_TW = CloudCenter.getInstance().acquireUrlByKind("bbs.register"); |
||||
private static final String BBS_REGISTER_EN = CloudCenter.getInstance().acquireUrlByKind("bbs.register.en_US"); |
||||
private static final String BBS_REGISTER_KR = CloudCenter.getInstance().acquireUrlByKind("bbs.register.en_US"); |
||||
private static final String BBS_REGISTER_JP = CloudCenter.getInstance().acquireUrlByKind("bbs.register.en_US"); |
||||
|
||||
public BbsRegisterMark() { |
||||
map.put(Locale.CHINA, BBS_REGISTER_CN); |
||||
map.put(Locale.KOREA, BBS_REGISTER_KR); |
||||
map.put(Locale.JAPAN, BBS_REGISTER_JP); |
||||
map.put(Locale.US, BBS_REGISTER_EN); |
||||
map.put(Locale.TAIWAN, BBS_REGISTER_TW); |
||||
} |
||||
|
||||
@Override |
||||
public String getValue() { |
||||
String result = map.get(GeneralContext.getLocale()); |
||||
return result == null ? BBS_REGISTER_EN : result; |
||||
} |
||||
} |
@ -0,0 +1,38 @@
|
||||
package com.fr.design.locale.impl; |
||||
|
||||
import com.fr.general.CloudCenter; |
||||
import com.fr.general.GeneralContext; |
||||
import com.fr.general.locale.LocaleMark; |
||||
|
||||
import java.util.HashMap; |
||||
import java.util.Locale; |
||||
import java.util.Map; |
||||
|
||||
/** |
||||
* @author hades |
||||
* @version 10.0 |
||||
* Created by hades on 2021/1/29 |
||||
*/ |
||||
public class BbsResetMark implements LocaleMark<String> { |
||||
|
||||
private final Map<Locale, String> map = new HashMap<>(); |
||||
private static final String BBS_RESET_CN = CloudCenter.getInstance().acquireUrlByKind("bbs.reset"); |
||||
private static final String BBS_RESET_TW = CloudCenter.getInstance().acquireUrlByKind("bbs.reset"); |
||||
private static final String BBS_RESET_EN = CloudCenter.getInstance().acquireUrlByKind("bbs.reset.en_US"); |
||||
private static final String BBS_RESET_KR = CloudCenter.getInstance().acquireUrlByKind("bbs.reset.en_US"); |
||||
private static final String BBS_RESET_JP = CloudCenter.getInstance().acquireUrlByKind("bbs.reset.en_US"); |
||||
|
||||
public BbsResetMark() { |
||||
map.put(Locale.CHINA, BBS_RESET_CN); |
||||
map.put(Locale.KOREA, BBS_RESET_KR); |
||||
map.put(Locale.JAPAN, BBS_RESET_JP); |
||||
map.put(Locale.US, BBS_RESET_EN); |
||||
map.put(Locale.TAIWAN, BBS_RESET_TW); |
||||
} |
||||
|
||||
@Override |
||||
public String getValue() { |
||||
String result = map.get(GeneralContext.getLocale()); |
||||
return result == null ? BBS_RESET_EN : result; |
||||
} |
||||
} |
@ -0,0 +1,39 @@
|
||||
package com.fr.design.locale.impl; |
||||
|
||||
import com.fr.general.CloudCenter; |
||||
import com.fr.general.GeneralContext; |
||||
import com.fr.general.locale.LocaleMark; |
||||
|
||||
import java.util.HashMap; |
||||
import java.util.Locale; |
||||
import java.util.Map; |
||||
|
||||
/** |
||||
* @author hades |
||||
* @version 10.0 |
||||
* Created by hades on 2021/1/29 |
||||
*/ |
||||
public class BbsSpaceMark implements LocaleMark<String> { |
||||
|
||||
private final Map<Locale, String> map = new HashMap<>(); |
||||
private static final String BBS_SPACE_CN = CloudCenter.getInstance().acquireUrlByKind("bbs.default"); |
||||
private static final String BBS_SPACE_TW = CloudCenter.getInstance().acquireUrlByKind("bbs.default"); |
||||
private static final String BBS_SPACE_EN = CloudCenter.getInstance().acquireUrlByKind("bbs.default.en_US"); |
||||
private static final String BBS_SPACE_KR = CloudCenter.getInstance().acquireUrlByKind("bbs.default.en_US"); |
||||
private static final String BBS_SPACE_JP = CloudCenter.getInstance().acquireUrlByKind("bbs.default.en_US"); |
||||
|
||||
public BbsSpaceMark() { |
||||
map.put(Locale.CHINA, BBS_SPACE_CN); |
||||
map.put(Locale.KOREA, BBS_SPACE_KR); |
||||
map.put(Locale.JAPAN, BBS_SPACE_JP); |
||||
map.put(Locale.US, BBS_SPACE_EN); |
||||
map.put(Locale.TAIWAN, BBS_SPACE_TW); |
||||
} |
||||
|
||||
@Override |
||||
public String getValue() { |
||||
String result = map.get(GeneralContext.getLocale()); |
||||
return result == null ? BBS_SPACE_EN : result; |
||||
} |
||||
|
||||
} |
Loading…
Reference in new issue