|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.m2m.atl.adt.ui.text.atl.AtlCompletionProcessor
public class AtlCompletionProcessor
The completion processor, provides content assist.
| Constructor Summary | |
|---|---|
AtlCompletionProcessor(org.eclipse.ui.IEditorPart editor)
Constructor. |
|
| Method Summary | |
|---|---|
org.eclipse.jface.text.contentassist.ICompletionProposal[] |
computeCompletionProposals(org.eclipse.jface.text.ITextViewer refViewer,
int documentOffset)
|
org.eclipse.jface.text.contentassist.IContextInformation[] |
computeContextInformation(org.eclipse.jface.text.ITextViewer viewer,
int offset)
|
AtlCompletionDataSource |
getCompletionDatasource()
|
char[] |
getCompletionProposalAutoActivationCharacters()
|
char[] |
getContextInformationAutoActivationCharacters()
|
org.eclipse.jface.text.contentassist.IContextInformationValidator |
getContextInformationValidator()
|
java.lang.String |
getErrorMessage()
|
void |
orderProposalsAlphabetically(boolean order)
Reorder proposals. |
void |
restrictProposalsToMatchingCases(boolean restrict)
Tells this processor to restrict is proposals to those starting with matching cases. |
void |
restrictProposalsToVisibility(boolean restrict)
Tells this processor to restrict its proposal to those element visible in the actual invocation context. |
void |
setCompletionProposalAutoActivationCharacters(char[] activationSet)
Sets this processor's set of characters triggering the activation of the completion proposal computation. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AtlCompletionProcessor(org.eclipse.ui.IEditorPart editor)
editor - the editor part| Method Detail |
|---|
public org.eclipse.jface.text.contentassist.ICompletionProposal[] computeCompletionProposals(org.eclipse.jface.text.ITextViewer refViewer,
int documentOffset)
computeCompletionProposals in interface org.eclipse.jface.text.contentassist.IContentAssistProcessorIContentAssistProcessor.computeCompletionProposals(org.eclipse.jface.text.ITextViewer,
int)
public org.eclipse.jface.text.contentassist.IContextInformation[] computeContextInformation(org.eclipse.jface.text.ITextViewer viewer,
int offset)
computeContextInformation in interface org.eclipse.jface.text.contentassist.IContentAssistProcessorIContentAssistProcessor.computeContextInformation(org.eclipse.jface.text.ITextViewer,
int)public char[] getCompletionProposalAutoActivationCharacters()
getCompletionProposalAutoActivationCharacters in interface org.eclipse.jface.text.contentassist.IContentAssistProcessorIContentAssistProcessor.getCompletionProposalAutoActivationCharacters()public char[] getContextInformationAutoActivationCharacters()
getContextInformationAutoActivationCharacters in interface org.eclipse.jface.text.contentassist.IContentAssistProcessorIContentAssistProcessor.getContextInformationAutoActivationCharacters()public org.eclipse.jface.text.contentassist.IContextInformationValidator getContextInformationValidator()
getContextInformationValidator in interface org.eclipse.jface.text.contentassist.IContentAssistProcessorIContentAssistProcessor.getContextInformationValidator()public java.lang.String getErrorMessage()
getErrorMessage in interface org.eclipse.jface.text.contentassist.IContentAssistProcessorIContentAssistProcessor.getErrorMessage()public void orderProposalsAlphabetically(boolean order)
order - the order to set.public void restrictProposalsToMatchingCases(boolean restrict)
restrict - true if proposals should be restrictedpublic void restrictProposalsToVisibility(boolean restrict)
restrict - true if proposals should be restrictedpublic AtlCompletionDataSource getCompletionDatasource()
public void setCompletionProposalAutoActivationCharacters(char[] activationSet)
activationSet - the activation set
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||