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