public static class DelegatingContentAssistContextFactory.StatefulFactory
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
DelegatingContentAssistContextFactory.StatefulFactory.SelectionBasedRegion |
Modifier and Type | Field and Description |
---|---|
protected com.google.inject.Provider<ContentAssistContext.Builder> |
contentAssistContextProvider |
protected PrefixMatcher |
matcher |
protected XtextResource |
resource |
protected org.eclipse.jface.text.ITextSelection |
selection |
protected org.eclipse.jface.text.ITextViewer |
viewer |
Constructor and Description |
---|
DelegatingContentAssistContextFactory.StatefulFactory() |
Modifier and Type | Method and Description |
---|---|
protected ContentAssistContext.Builder |
convert(ContentAssistContext delegateContext) |
ContentAssistContext[] |
create(org.eclipse.jface.text.ITextViewer viewer,
int offset,
XtextResource resource) |
protected ContentAssistContext[] |
doCreateContexts(int offset) |
ContentAssistContextFactory |
getDelegate() |
void |
setPool(java.util.concurrent.ExecutorService pool) |
@Inject protected com.google.inject.Provider<ContentAssistContext.Builder> contentAssistContextProvider
@Inject protected PrefixMatcher matcher
protected org.eclipse.jface.text.ITextViewer viewer
protected org.eclipse.jface.text.ITextSelection selection
protected XtextResource resource
public DelegatingContentAssistContextFactory.StatefulFactory()
public ContentAssistContext[] create(org.eclipse.jface.text.ITextViewer viewer, int offset, XtextResource resource)
public void setPool(java.util.concurrent.ExecutorService pool)
public ContentAssistContextFactory getDelegate()
protected ContentAssistContext[] doCreateContexts(int offset)
protected ContentAssistContext.Builder convert(ContentAssistContext delegateContext)