public void run(IAction action) { if (fWindow == null || fWindow.getActivePage() == null) { return; } NewSearchUI.openSearchDialog(fWindow, SearchPage.ID); }
public void run(IAction action) { NewSearchUI.openSearchDialog(window, MERCURIAL_ECLIPSE_SEARCH_PAGE); }
public Object execute(ExecutionEvent event) throws ExecutionException { NewSearchUI.openSearchDialog( HandlerUtil.getActiveWorkbenchWindow(event), MERCURIAL_ECLIPSE_SEARCH_PAGE); return null; }