/** * Creates a new content assistant. The content assistant is not automatically activated, * overlays the completion proposals with context information list if necessary, and * shows the context information above the location at which it was activated. If auto * activation will be enabled, without further configuration steps, this content assistant * is activated after a 500 ms delay. It uses the default partitioning. */ public ContentAssistant2() { setContextInformationPopupOrientation(CONTEXT_INFO_ABOVE); setInformationControlCreator(getInformationControlCreator()); // JavaTextTools textTools= JavaPlugin.getDefault().getJavaTextTools(); // IColorManager manager= textTools.getColorManager(); // // IPreferenceStore store= JavaPlugin.getDefault().getPreferenceStore(); // // Color c= getColor(store, PreferenceConstants.CODEASSIST_PROPOSALS_FOREGROUND, manager); // setProposalSelectorForeground(c); // // c= getColor(store, PreferenceConstants.CODEASSIST_PROPOSALS_BACKGROUND, manager); // setProposalSelectorBackground(c); }
/** * Creates a new content assistant. The content assistant is not automatically activated, * overlays the completion proposals with context information list if necessary, and * shows the context information above the location at which it was activated. If auto * activation will be enabled, without further configuration steps, this content assistant * is activated after a 500 ms delay. It uses the default partitioning. */ public ContentAssistant2() { setContextInformationPopupOrientation(CONTEXT_INFO_ABOVE); setInformationControlCreator(getInformationControlCreator()); // JavaTextTools textTools= JavaPlugin.getDefault().getJavaTextTools(); // IColorManager manager= textTools.getColorManager(); // // IPreferenceStore store= JavaPlugin.getDefault().getPreferenceStore(); // // Color c= getColor(store, PreferenceConstants.CODEASSIST_PROPOSALS_FOREGROUND, manager); // setProposalSelectorForeground(c); // // c= getColor(store, PreferenceConstants.CODEASSIST_PROPOSALS_BACKGROUND, manager); // setProposalSelectorBackground(c); }