@ -12,7 +12,6 @@ import com.fr.design.mainframe.toolbar.UpdateActionModel;
import com.fr.general.ComparatorUtils;
import com.fr.general.Inter;
import com.fr.stable.StringUtils;
import com.fr.third.com.lowagie.text.pdf.PRAcroForm;
import java.util.List;
@ -81,7 +81,10 @@ public class DocumentSearchManager implements AlphaFineSearchProcessor {
return lessModelList;
}
/**
* 无连接
* @return
*/
private SearchResult getNoConnectList() {
SearchResult result = new SearchResult();
result.add(0, TITLE_MODEL);
@ -4,7 +4,6 @@ import com.fr.base.FRContext;
import com.fr.base.Utils;
import com.fr.design.mainframe.alphafine.AlphaFineConstants;
import com.fr.design.mainframe.alphafine.AlphaFineHelper;
import com.fr.design.mainframe.alphafine.CellType;
import com.fr.design.mainframe.alphafine.cell.CellModelHelper;
import com.fr.design.mainframe.alphafine.cell.model.AlphaCellModel;
import com.fr.design.mainframe.alphafine.cell.model.MoreModel;
@ -18,6 +18,10 @@ public class AlphaFineContext {
* 触发开启或关闭AlphaFine功能
* @param isEnable
public static void fireAlphaFineEnable(boolean isEnable) {
for (AlphaFineListener l : fireAlphaFineListener) {
l.setEnable(isEnable);
@ -25,9 +29,9 @@ public class AlphaFineContext {
* 添加一个弹出AlphaFine的监听事件
* 添加一个AlphaFine的监听事件
*
* @param l AlphaFine框弹出监听事件
* @param l AlphaFine监听事件
public static void addAlphaFineListener(AlphaFineListener l) {
fireAlphaFineListener.add(l);
@ -2,8 +2,17 @@ package com.fr.design.actions.help.alphafine;
* Created by XiaXiang on 2017/5/27.
* AlphaFine监听器
public interface AlphaFineListener {
* 显示dialog
void showDialog();
* 设置可用性
void setEnable(boolean isEnable);
@ -8,6 +8,7 @@ import java.awt.*;
* Created by XiaXiang on 2017/5/26.
* 提示弹窗
public class RemindDialog extends UIDialog {
private RemindPane remindPane;