queryListener = createQueryListener();
NewSearchUI.addQueryListener(queryListener);
}
protected OpenAndLinkWithEditorHelper createOpenAndLinkWithEditorHandler() {
return new OpenAndLinkWithEditorHelper(viewer) {
@Override
protected void activate(ISelection selection) {
final int currentMode = OpenStrategy.getOpenMethod();
try {
OpenStrategy.setOpenMethod(OpenStrategy.DOUBLE_CLICK);