|
|
@ -17,7 +17,10 @@ import com.fr.design.mainframe.alphafine.cell.model.PluginModel; |
|
|
|
import com.fr.design.mainframe.alphafine.cell.render.ContentCellRender; |
|
|
|
import com.fr.design.mainframe.alphafine.cell.render.ContentCellRender; |
|
|
|
import com.fr.design.mainframe.alphafine.listener.DocumentAdapter; |
|
|
|
import com.fr.design.mainframe.alphafine.listener.DocumentAdapter; |
|
|
|
import com.fr.design.mainframe.alphafine.model.SearchResult; |
|
|
|
import com.fr.design.mainframe.alphafine.model.SearchResult; |
|
|
|
import com.fr.design.mainframe.alphafine.preview.*; |
|
|
|
import com.fr.design.mainframe.alphafine.preview.DocumentPreviewPane; |
|
|
|
|
|
|
|
import com.fr.design.mainframe.alphafine.preview.FilePreviewPane; |
|
|
|
|
|
|
|
import com.fr.design.mainframe.alphafine.preview.NoResultPane; |
|
|
|
|
|
|
|
import com.fr.design.mainframe.alphafine.preview.PluginPreviewPane; |
|
|
|
import com.fr.design.mainframe.alphafine.search.manager.*; |
|
|
|
import com.fr.design.mainframe.alphafine.search.manager.*; |
|
|
|
import com.fr.form.main.Form; |
|
|
|
import com.fr.form.main.Form; |
|
|
|
import com.fr.form.main.FormIO; |
|
|
|
import com.fr.form.main.FormIO; |
|
|
@ -356,7 +359,6 @@ public class AlphaFineDialog extends UIDialog { |
|
|
|
* 移除左侧列表面板 |
|
|
|
* 移除左侧列表面板 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private void replaceLeftPane() { |
|
|
|
private void replaceLeftPane() { |
|
|
|
if (searchResultPane != null) { |
|
|
|
|
|
|
|
if (searchListModel.isEmpty() && defaultPane == null) { |
|
|
|
if (searchListModel.isEmpty() && defaultPane == null) { |
|
|
|
defaultPane = new NoResultPane(Inter.getLocText("FR-Designer-AlphaFine_NO_Result"), IOUtils.readIcon("/com/fr/design/mainframe/alphafine/images/no_result.png")); |
|
|
|
defaultPane = new NoResultPane(Inter.getLocText("FR-Designer-AlphaFine_NO_Result"), IOUtils.readIcon("/com/fr/design/mainframe/alphafine/images/no_result.png")); |
|
|
|
searchResultPane.remove(leftSearchResultPane); |
|
|
|
searchResultPane.remove(leftSearchResultPane); |
|
|
@ -364,15 +366,16 @@ public class AlphaFineDialog extends UIDialog { |
|
|
|
refreshContainer(); |
|
|
|
refreshContainer(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 停止加载状态 |
|
|
|
* 停止加载状态 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
private void fireStopLoading() { |
|
|
|
private void fireStopLoading() { |
|
|
|
searchListModel.resetState(); |
|
|
|
searchListModel.resetState(); |
|
|
|
|
|
|
|
if (searchResultPane != null) { |
|
|
|
replaceLeftPane(); |
|
|
|
replaceLeftPane(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* 刷新容器 |
|
|
|
* 刷新容器 |
|
|
|