|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.jface.text.templates.TemplateProposal
org.eclipse.xtext.ui.editor.templates.XtextTemplateProposal
public class XtextTemplateProposal
| Constructor Summary | |
|---|---|
XtextTemplateProposal(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)
|
|
XtextTemplateProposal(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)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
int |
hashCode()
|
boolean |
isAutoInsertable()
Returns true if the proposal may be automatically
inserted, false otherwise. |
| Methods inherited from class org.eclipse.jface.text.templates.TemplateProposal |
|---|
apply, apply, apply, getAdditionalProposalInfo, getContext, getContextInformation, getContextInformationPosition, getDisplayString, getImage, getInformationControlCreator, getPrefixCompletionStart, getPrefixCompletionText, getRelevance, getReplaceEndOffset, getReplaceOffset, getSelection, getTemplate, getTriggerCharacters, isValidFor, selected, setInformationControlCreator, unselected, validate |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public XtextTemplateProposal(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)
public XtextTemplateProposal(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)
| Method Detail |
|---|
public boolean isAutoInsertable()
org.eclipse.jface.text.contentassist.ICompletionProposalExtension4true if the proposal may be automatically
inserted, false otherwise. Automatic insertion can
happen if the proposal is the only one being proposed, in which
case the content assistant may decide to not prompt the user with
a list of proposals, but simply insert the single proposal. A
proposal may veto this behavior by returning false
to a call to this method.
isAutoInsertable in interface org.eclipse.jface.text.contentassist.ICompletionProposalExtension4true if the proposal may be inserted
automatically, false if notpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||