Class AtlInstalledTemplateProposal
java.lang.Object
org.eclipse.jface.text.templates.TemplateProposal
org.eclipse.m2m.atl.adt.ui.text.atl.AtlTemplateProposal
org.eclipse.m2m.atl.adt.ui.text.atl.AtlInstalledTemplateProposal
- All Implemented Interfaces:
Comparable<AtlTemplateProposal>, org.eclipse.jface.text.contentassist.ICompletionProposal, org.eclipse.jface.text.contentassist.ICompletionProposalExtension, org.eclipse.jface.text.contentassist.ICompletionProposalExtension2, org.eclipse.jface.text.contentassist.ICompletionProposalExtension3
This class allows us to split an installed template description so that it fits in
the completion panel.
-
Constructor Summary
ConstructorsConstructorDescriptionAtlInstalledTemplateProposal(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, int relevance, String information) -
Method Summary
Methods inherited from class AtlTemplateProposal
compareTo, getAdditionalProposalInfoMethods inherited from class org.eclipse.jface.text.templates.TemplateProposal
apply, apply, apply, getContext, getContextInformation, getContextInformationPosition, getImage, getInformationControlCreator, getPrefixCompletionStart, getPrefixCompletionText, getRelevance, getReplaceEndOffset, getReplaceOffset, getSelection, getTemplate, getTriggerCharacters, isValidFor, selected, setInformationControlCreator, unselected, validate
-
Constructor Details
-
AtlInstalledTemplateProposal
public AtlInstalledTemplateProposal(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, int relevance, String information)
-
-
Method Details
-
getDisplayString
- Specified by:
getDisplayStringin interfaceorg.eclipse.jface.text.contentassist.ICompletionProposal- Overrides:
getDisplayStringin classorg.eclipse.jface.text.templates.TemplateProposal- See Also:
-