org.eclipse.cdt.ui.text.contentassist
Interface ICompletionContributor


Deprecated. Clients should extend the new extension point completionProprosalComputer and implement interface ICompletionProposalComputer

public interface ICompletionContributor

This interface must be implemented by clients extending the extension point org.eclipse.cdt.core.completionContributors.


Method Summary
 void contributeCompletionProposals(org.eclipse.jface.text.ITextViewer viewer, int offset, org.eclipse.cdt.core.model.IWorkingCopy workingCopy, org.eclipse.cdt.core.dom.ast.ASTCompletionNode completionNode, java.lang.String prefix, java.util.List proposals)
          Deprecated. This method allows the contributor to add to the list of proposals
 

Method Detail

contributeCompletionProposals

void contributeCompletionProposals(org.eclipse.jface.text.ITextViewer viewer,
                                   int offset,
                                   org.eclipse.cdt.core.model.IWorkingCopy workingCopy,
                                   org.eclipse.cdt.core.dom.ast.ASTCompletionNode completionNode,
                                   java.lang.String prefix,
                                   java.util.List proposals)
Deprecated. 
This method allows the contributor to add to the list of proposals

Parameters:
viewer - the text viewer where completion is occuring
offset - the offset into the text where the completion is occuring
completionNode - the completion node produced by the parser for the offset
proposals - the current list of proposals. This method should add any additional proposals to this list.