@Override public String showPossibleCompletions() { return fProposalPopup.showProposals(false); }
@Override public String showPossibleCompletions() { return fProposalPopup.showProposals(false); }
@Override public void run() { if (showStyle == SHOW_PROPOSALS) fProposalPopup.showProposals(true); else if (showStyle == SHOW_CONTEXT_INFO) fContextInfoPopup.showContextProposals(true); } });
protected void showAssist(final int showStyle) { Control control= fViewer.getTextWidget(); Display d= control.getDisplay(); if (d != null) { try { d.syncExec(() -> { if (showStyle == SHOW_PROPOSALS) fProposalPopup.showProposals(true); else if (showStyle == SHOW_CONTEXT_INFO) fContextInfoPopup.showContextProposals(true); }); } catch (SWTError e) { } } } }