/** * Creates and returns a context info popup for the given content assistant. * * @param contentAssistant the content assistant * @return the context info popup or <code>null</code> */ ContextInformationPopup createContextInfoPopup(ContentAssistant contentAssistant) { if (fContentAssistSubjectControl != null) return new ContextInformationPopup(contentAssistant, fContentAssistSubjectControl); return new ContextInformationPopup(contentAssistant, fViewer); }
/** * Creates and returns a context info popup for the given content assistant. * * @param contentAssistant the content assistant * @return the context info popup or <code>null</code> */ ContextInformationPopup createContextInfoPopup(ContentAssistant contentAssistant) { if (fContentAssistSubjectControl != null) return new ContextInformationPopup(contentAssistant, fContentAssistSubjectControl); return new ContextInformationPopup(contentAssistant, fViewer); }