|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.aptana.ide.editor.js.contentassist.JSContentAssistProcessor
public class JSContentAssistProcessor
| Constructor Summary | |
|---|---|
JSContentAssistProcessor(EditorFileContext context)
Provides code assist information for javascript. |
|
| Method Summary | |
|---|---|
org.eclipse.jface.text.contentassist.ICompletionProposal[] |
computeCompletionProposals(org.eclipse.jface.text.ITextViewer viewer,
int offset)
|
org.eclipse.jface.text.contentassist.ICompletionProposal[] |
computeCompletionProposals(org.eclipse.jface.text.ITextViewer viewer,
int offset,
char activationChar)
|
org.eclipse.jface.text.contentassist.IContextInformation[] |
computeContextInformation(org.eclipse.jface.text.ITextViewer viewer,
int offset)
Determines what 'tooltip' style highlighting to show. |
static java.lang.String[] |
getAllPropertyNamesInScope(IObject object,
boolean includeHiddenProps)
getAllPropertyNamesInScope |
char[] |
getCompletionProposalAllActivationCharacters()
The characters that triggers competion proposals (a combination of all activation chars) |
char[] |
getCompletionProposalAutoActivationCharacters()
The characters that triggers competion proposals (dot for completion, and space for "new XX" in our case) |
int[] |
getCompletionProposalIdleActivationTokens()
The token types that triggers competion proposals on idle |
char[] |
getContextInformationAutoActivationCharacters()
Characters that trigger tooltip popup help |
org.eclipse.jface.text.contentassist.IContextInformationValidator |
getContextInformationValidator()
|
java.lang.String |
getErrorMessage()
|
JSOffsetMapper |
getJSOffsetMapper()
getJSOffsetMapper |
IOffsetMapper |
getOffsetMapper()
getOffsetMapper |
boolean |
isNextIdleActivated()
isNextIdleActivated |
boolean |
isValidIdleActivationLocation(org.eclipse.jface.text.ITextViewer viewer,
int offset)
Is this a valid location for auto-assisting (based on lexeme, usually) |
void |
setHotkeyActivated(boolean value)
setHotkeyActivated |
void |
setNextIdleActivated(boolean value)
setNextIdleActivated |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSContentAssistProcessor(EditorFileContext context)
context - | Method Detail |
|---|
public org.eclipse.jface.text.contentassist.ICompletionProposal[] computeCompletionProposals(org.eclipse.jface.text.ITextViewer viewer,
int offset)
computeCompletionProposals in interface org.eclipse.jface.text.contentassist.IContentAssistProcessorviewer - offset -
IContentAssistProcessor.computeCompletionProposals(org.eclipse.jface.text.ITextViewer,
int)
public org.eclipse.jface.text.contentassist.ICompletionProposal[] computeCompletionProposals(org.eclipse.jface.text.ITextViewer viewer,
int offset,
char activationChar)
computeCompletionProposals in interface IUnifiedContentAssistProcessorIUnifiedContentAssistProcessor.computeCompletionProposals(org.eclipse.jface.text.ITextViewer,
int, char)
public org.eclipse.jface.text.contentassist.IContextInformation[] computeContextInformation(org.eclipse.jface.text.ITextViewer viewer,
int offset)
computeContextInformation in interface org.eclipse.jface.text.contentassist.IContentAssistProcessorviewer - offset -
public char[] getCompletionProposalAllActivationCharacters()
public char[] getCompletionProposalAutoActivationCharacters()
getCompletionProposalAutoActivationCharacters in interface org.eclipse.jface.text.contentassist.IContentAssistProcessorpublic org.eclipse.jface.text.contentassist.IContextInformationValidator getContextInformationValidator()
getContextInformationValidator in interface org.eclipse.jface.text.contentassist.IContentAssistProcessorIContentAssistProcessor.getContextInformationValidator()public char[] getContextInformationAutoActivationCharacters()
getContextInformationAutoActivationCharacters in interface org.eclipse.jface.text.contentassist.IContentAssistProcessorpublic int[] getCompletionProposalIdleActivationTokens()
IUnifiedContentAssistProcessor
getCompletionProposalIdleActivationTokens in interface IUnifiedContentAssistProcessorIUnifiedContentAssistProcessor.getCompletionProposalIdleActivationTokens()public java.lang.String getErrorMessage()
getErrorMessage in interface org.eclipse.jface.text.contentassist.IContentAssistProcessorIContentAssistProcessor.getErrorMessage()
public static java.lang.String[] getAllPropertyNamesInScope(IObject object,
boolean includeHiddenProps)
object - includeHiddenProps -
public IOffsetMapper getOffsetMapper()
getOffsetMapper in interface IUnifiedContentAssistProcessorpublic JSOffsetMapper getJSOffsetMapper()
public void setHotkeyActivated(boolean value)
value - public void setNextIdleActivated(boolean value)
value - public boolean isNextIdleActivated()
public boolean isValidIdleActivationLocation(org.eclipse.jface.text.ITextViewer viewer,
int offset)
IUnifiedContentAssistProcessor
isValidIdleActivationLocation in interface IUnifiedContentAssistProcessorIUnifiedContentAssistProcessor.isValidIdleActivationLocation(org.eclipse.jface.text.ITextViewer,
int)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||