コード例 #1
0
 private ICompletionProposal[] prepare(
     String code, String path, String wikiContents, int cursorPosition) {
   create(code, path);
   editor = createWikiDocumentAndOpen(wikiContents).getEditor();
   return new WikiCompletionProcessor(editor)
       .computeCompletionProposals(editor.getTextViewerForTest(), cursorPosition);
 }
コード例 #2
0
 @Override
 protected void performAction(WikiEditor editor) {
   editor.openPreview();
 }