|
|
@ -49,6 +49,10 @@ public class AlphaFineList extends JList<AlphaCellModel> { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void keyPressed(KeyEvent e) { |
|
|
|
public void keyPressed(KeyEvent e) { |
|
|
|
if (e.getKeyCode() == KeyEvent.VK_ENTER) { |
|
|
|
if (e.getKeyCode() == KeyEvent.VK_ENTER) { |
|
|
|
|
|
|
|
AlphaCellModel selectedValue = getSelectedValue(); |
|
|
|
|
|
|
|
if (selectedValue.hasAction() && !(selectedValue instanceof DocumentModel)) { |
|
|
|
|
|
|
|
AlphaFineHelper.getAlphaFineDialog().toBack(); |
|
|
|
|
|
|
|
} |
|
|
|
dealWithSearchResult(); |
|
|
|
dealWithSearchResult(); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|