|
|
|
@ -2,7 +2,6 @@ package com.fr.design.os.impl;
|
|
|
|
|
|
|
|
|
|
import com.fr.base.FRContext; |
|
|
|
|
import com.fr.design.config.DesignerProperties; |
|
|
|
|
import com.fr.design.jdk.JdkVersion; |
|
|
|
|
import com.fr.general.CloudCenter; |
|
|
|
|
import com.fr.general.GeneralContext; |
|
|
|
|
import com.fr.json.JSON; |
|
|
|
@ -31,6 +30,7 @@ public enum SupportOSImpl implements SupportOS {
|
|
|
|
|
* 屏蔽登录入口 |
|
|
|
|
*/ |
|
|
|
|
BBS_USER_LOGIN_PANE { |
|
|
|
|
@Override |
|
|
|
|
public boolean support() { |
|
|
|
|
return DesignerProperties.getInstance().isSupportLoginEntry(); |
|
|
|
|
} |
|
|
|
@ -39,6 +39,7 @@ public enum SupportOSImpl implements SupportOS {
|
|
|
|
|
* Linux系统屏蔽透明度 |
|
|
|
|
*/ |
|
|
|
|
OPACITY { |
|
|
|
|
@Override |
|
|
|
|
public boolean support() { |
|
|
|
|
return !OperatingSystem.isLinux(); |
|
|
|
|
} |
|
|
|
@ -47,6 +48,7 @@ public enum SupportOSImpl implements SupportOS {
|
|
|
|
|
* Linux系统屏蔽FineUI选项 |
|
|
|
|
*/ |
|
|
|
|
FINEUI { |
|
|
|
|
@Override |
|
|
|
|
public boolean support() { |
|
|
|
|
return !OperatingSystem.isLinux(); |
|
|
|
|
} |
|
|
|
|