org.eclipse.jst.jsf.context.symbol.provider
Interface IContentProposalProvider.IProposalCreationFactory

All Known Implementing Classes:
ProposalCreationFactoryAdapter
Enclosing interface:
IContentProposalProvider

public static interface IContentProposalProvider.IProposalCreationFactory

Implementors of the class can configure certain aspects of the returned proposals


Method Summary
 ICompletionProposal createProposal(java.lang.String replacementText, java.lang.String displayText, java.lang.String additionalText, Image displayImage, java.lang.Object sourceObject)
           
 

Method Detail

createProposal

ICompletionProposal createProposal(java.lang.String replacementText,
                                   java.lang.String displayText,
                                   java.lang.String additionalText,
                                   Image displayImage,
                                   java.lang.Object sourceObject)
Parameters:
replacementText - The text to be replaced
displayText - The text to be displayed in the assist window
additionalText - The text to be displayed in the "addition info" or null
displayImage - The image to be displayed or null
sourceObject - The original source object. Implementors should make no assumptions (i.e. always test instanceof before casting)
Returns:
a configured completion proposal for the parameters