278279280281282283284285286287288
requirePerlErrorDisplayed = true; showErrorDialog(ERROR_TITLE, ERROR_MSG, e.getStatus()); } requirePerlCheckPassed = false; } finally { executor.dispose(); } } private void showErrorDialog( final String title, final String msg,
615616617618619620621622623624625
.getUniqueIdentifier(), IStatus.OK, "extractTempFile failed on " + scriptName, e)); } finally { executor.dispose(); } } private static class DisplayErrorThread implements Runnable {
5455565758596061626364
return makeAbsIncPath( (String[]) lines.toArray(new String[lines.size()])); } finally { executor.dispose(); } } /** * @return an unmodifiable list of regex Patterns representing paths to be
276277278279280281282283284285286
e.printStackTrace(); return ""; } } } finally { executor.dispose(); } } public void setFocus() { }
8788899091929394959697
List names = executor.execute(textEditor, null, perlCode).getStdoutLines(); moduleNames = (String[]) names.toArray(new String[names.size()]); } finally { executor.dispose(); initializing = false; } } public ICompletionProposal[] getProposals(
371372373374375376377378379380381
PerlEditorPlugin.getDefault().getLog().log(e.getStatus()); return new ArrayList(); } finally { executor.dispose(); } } /** * Orders the given proposals.