Community
Participate
Working Groups
In the WTP we need to create a tect editor field in a wizard that can provide java code type completion (i.e user enters a type for an attribute). An exmaple is provided below. The classes JavaTypeCompletionProcessor, and ControlContentAssistHelper are internal in jdt.ui. if (sources != null && sources.length >= 1) { JavaTypeCompletionProcessor fFieldTypeCompletionProcessor = new JavaTypeCompletionProcessor(false, false); fFieldTypeCompletionProcessor.setPackageFragment(getPackageFragment()); ControlContentAssistHelper.createTextContentAssistant(((Text) typeEdit.getControl()), fFieldTypeCompletionProcessor); }
added david to CC
see bug 156173
Changed to enhancement
Sorry - too fast - those are indeed JDT UI classes
API should also be added for the corresponding JavaPackageCompletionProcessor.