|
|
|
@ -3,6 +3,7 @@ package com.fr.design.mainframe.alphafine.component;
|
|
|
|
|
import com.fr.design.mainframe.alphafine.AlphaFineConstants; |
|
|
|
|
import com.fr.design.mainframe.alphafine.AlphaFineHelper; |
|
|
|
|
import com.fr.design.mainframe.alphafine.cell.model.AlphaCellModel; |
|
|
|
|
import com.fr.design.mainframe.alphafine.cell.model.DocumentModel; |
|
|
|
|
import com.fr.design.mainframe.alphafine.preview.ResultShowPane; |
|
|
|
|
import java.awt.event.KeyAdapter; |
|
|
|
|
import java.awt.event.KeyEvent; |
|
|
|
@ -26,7 +27,10 @@ public class AlphaFineList extends JList<AlphaCellModel> {
|
|
|
|
|
AlphaCellModel selectedValue = getSelectedValue(); |
|
|
|
|
if (e.getClickCount() == AlphaFineConstants.DEFAULT_CLICK_COUNT && selectedValue.hasAction()) { |
|
|
|
|
// 点击搜索结果 主页面移动到后面
|
|
|
|
|
AlphaFineHelper.getAlphaFineDialog().toBack(); |
|
|
|
|
if (!(selectedValue instanceof DocumentModel)) { |
|
|
|
|
// 帮助文档不跳转
|
|
|
|
|
AlphaFineHelper.getAlphaFineDialog().toBack(); |
|
|
|
|
} |
|
|
|
|
dealWithSearchResult(); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|