Browse Source

rt

research/10.0
XiaXiang 7 years ago
parent
commit
3871b1d103
  1. 3
      designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/manager/impl/FileSearchManager.java

3
designer-realize/src/main/java/com/fr/design/mainframe/alphafine/search/manager/impl/FileSearchManager.java

@ -33,6 +33,7 @@ public class FileSearchManager implements AlphaFineSearchProvider {
private SearchResult moreModelList;
private String searchText;
private FileNode[] fileNodes = null;
//停止搜索
//隐藏的搜索功能,可根据特殊的字符标记判断搜索分类
private boolean isContainCpt = true;
@ -69,7 +70,7 @@ public class FileSearchManager implements AlphaFineSearchProvider {
this.moreModelList = new SearchResult();
this.searchText = dealWithSearchText(searchText);
if (StringUtils.isBlank(this.searchText) || ComparatorUtils.equals(this.searchText, DS_NAME)) {
lessModelList.add(new MoreModel(Inter.getLocText("FR-Designer_Templates")));
lessModelList.add(new MoreModel(InterProviderFactory.getProvider().getLocText("FR-Designer_Templates")));
return lessModelList;
}
AlphaFineHelper.checkCancel();

Loading…
Cancel
Save