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)
|
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 replaceddisplayText
- The text to be displayed in the assist windowadditionalText
- The text to be displayed in the "addition info"
or nulldisplayImage
- The image to be displayed or nullsourceObject
- The original source object. Implementors should
make no assumptions (i.e. always test instanceof before casting)
- Returns:
- a configured completion proposal for the parameters