You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
971 B
40 lines
971 B
2 months ago
|
package com.fr.design.mainframe.guide;
|
||
|
|
||
|
import com.fr.config.ConfigContext;
|
||
|
import com.fr.config.DefaultConfiguration;
|
||
|
import com.fr.config.Identifier;
|
||
|
import com.fr.config.holder.Conf;
|
||
|
import com.fr.config.holder.factory.Holders;
|
||
|
|
||
|
/**
|
||
|
* FvsGuide 全局配置
|
||
|
*
|
||
|
* @author Zhanying
|
||
|
* @since 11.0
|
||
|
* Created on 2025/4/7
|
||
|
*/
|
||
|
public class FvsGuideConfig extends DefaultConfiguration {
|
||
|
private static FvsGuideConfig config = null;
|
||
|
|
||
|
public static FvsGuideConfig getInstance() {
|
||
|
if (config == null) {
|
||
|
config = ConfigContext.getConfigInstance(FvsGuideConfig.class);
|
||
|
}
|
||
|
return config;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* 是否显示超链跳转
|
||
|
*/
|
||
|
@Identifier("showGuideLink")
|
||
|
private Conf<Boolean> showGuideLink = Holders.simple(true);
|
||
|
|
||
|
public boolean isShowGuideLink() {
|
||
|
return showGuideLink.get();
|
||
|
}
|
||
|
|
||
|
public void setShowGuideLink(boolean showGuideLink) {
|
||
|
this.showGuideLink.set(showGuideLink);
|
||
|
}
|
||
|
}
|