org.eclipse.cdt.internal.ui.text.template
Class TemplateEngine.CTemplateProposal

java.lang.Object
  extended by org.eclipse.jface.text.templates.TemplateProposal
      extended by org.eclipse.cdt.internal.ui.text.template.TemplateEngine.CTemplateProposal
All Implemented Interfaces:
ICCompletionProposal, org.eclipse.jface.text.contentassist.ICompletionProposal, org.eclipse.jface.text.contentassist.ICompletionProposalExtension, org.eclipse.jface.text.contentassist.ICompletionProposalExtension2, org.eclipse.jface.text.contentassist.ICompletionProposalExtension3
Enclosing class:
TemplateEngine

public class TemplateEngine.CTemplateProposal
extends org.eclipse.jface.text.templates.TemplateProposal
implements ICCompletionProposal


Constructor Summary
TemplateEngine.CTemplateProposal(org.eclipse.jface.text.templates.Template template, org.eclipse.jface.text.templates.TemplateContext context, org.eclipse.jface.text.IRegion region, org.eclipse.swt.graphics.Image image)
           
 
Method Summary
 java.lang.String getIdString()
          Returns an id string that uniquely identifies this proposal.
 org.eclipse.jface.text.IInformationControlCreator getInformationControlCreator()
           
 
Methods inherited from class org.eclipse.jface.text.templates.TemplateProposal
apply, apply, apply, getAdditionalProposalInfo, getContextInformation, getContextInformationPosition, getDisplayString, getImage, getPrefixCompletionStart, getPrefixCompletionText, getRelevance, getSelection, getTriggerCharacters, isValidFor, selected, setInformationControlCreator, unselected, validate
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.cdt.ui.text.ICCompletionProposal
getRelevance
 
Methods inherited from interface org.eclipse.jface.text.contentassist.ICompletionProposal
apply, getAdditionalProposalInfo, getContextInformation, getDisplayString, getImage, getSelection
 

Constructor Detail

TemplateEngine.CTemplateProposal

public TemplateEngine.CTemplateProposal(org.eclipse.jface.text.templates.Template template,
                                        org.eclipse.jface.text.templates.TemplateContext context,
                                        org.eclipse.jface.text.IRegion region,
                                        org.eclipse.swt.graphics.Image image)
Parameters:
template -
context -
region -
image -
Method Detail

getInformationControlCreator

public org.eclipse.jface.text.IInformationControlCreator getInformationControlCreator()
Specified by:
getInformationControlCreator in interface org.eclipse.jface.text.contentassist.ICompletionProposalExtension3
Overrides:
getInformationControlCreator in class org.eclipse.jface.text.templates.TemplateProposal

getIdString

public java.lang.String getIdString()
Description copied from interface: ICCompletionProposal
Returns an id string that uniquely identifies this proposal. For most things this is the same as the display name. For functions, this strips off the parameter names and the return type.

Specified by:
getIdString in interface ICCompletionProposal
Returns:
the string that uniquely identifies this proposal