public abstract class AbstractJavaBasedContentProposalProvider extends AbstractContentProposalProvider
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractJavaBasedContentProposalProvider.DefaultProposalCreator |
static class |
AbstractJavaBasedContentProposalProvider.ReferenceProposalCreator |
AbstractContentProposalProvider.DefaultContentAssistProcessorSwitch, AbstractContentProposalProvider.NullSafeCompletionProposalAcceptor
Modifier | Constructor and Description |
---|---|
protected |
AbstractJavaBasedContentProposalProvider() |
Modifier and Type | Method and Description |
---|---|
protected boolean |
announceProcessing(java.util.List<?> key) |
void |
completeAssignment(Assignment assignment,
ContentAssistContext contentAssistContext,
ICompletionProposalAcceptor acceptor) |
void |
completeKeyword(Keyword keyword,
ContentAssistContext contentAssistContext,
ICompletionProposalAcceptor acceptor) |
void |
completeRuleCall(RuleCall ruleCall,
ContentAssistContext contentAssistContext,
ICompletionProposalAcceptor acceptor) |
void |
createProposals(ContentAssistContext context,
ICompletionProposalAcceptor acceptor) |
AbstractJavaBasedContentProposalProvider.ReferenceProposalCreator |
getCrossReferenceProposalCreator() |
IEObjectHover |
getHover() |
protected com.google.common.base.Function<IEObjectDescription,org.eclipse.jface.text.contentassist.ICompletionProposal> |
getProposalFactory(java.lang.String ruleName,
ContentAssistContext contentAssistContext) |
IScopeProvider |
getScopeProvider() |
protected void |
invokeMethod(java.lang.String methodName,
ICompletionProposalAcceptor acceptor,
java.lang.Object... params) |
protected void |
lookupCrossReference(CrossReference crossReference,
ContentAssistContext contentAssistContext,
ICompletionProposalAcceptor acceptor) |
protected void |
lookupCrossReference(CrossReference crossReference,
ContentAssistContext contentAssistContext,
ICompletionProposalAcceptor acceptor,
com.google.common.base.Function<IEObjectDescription,org.eclipse.jface.text.contentassist.ICompletionProposal> proposalFactory) |
protected void |
lookupCrossReference(CrossReference crossReference,
ContentAssistContext contentAssistContext,
ICompletionProposalAcceptor acceptor,
com.google.common.base.Predicate<IEObjectDescription> filter) |
protected void |
lookupCrossReference(CrossReference crossReference,
ContentAssistContext contentAssistContext,
ICompletionProposalAcceptor acceptor,
com.google.common.base.Predicate<IEObjectDescription> filter,
com.google.common.base.Function<IEObjectDescription,org.eclipse.jface.text.contentassist.ICompletionProposal> proposalFactory) |
protected void |
lookupCrossReference(CrossReference crossReference,
org.eclipse.emf.ecore.EReference reference,
ContentAssistContext contentAssistContext,
ICompletionProposalAcceptor acceptor,
com.google.common.base.Predicate<IEObjectDescription> filter) |
protected void |
lookupCrossReference(org.eclipse.emf.ecore.EObject model,
org.eclipse.emf.ecore.EReference reference,
ICompletionProposalAcceptor acceptor,
com.google.common.base.Predicate<IEObjectDescription> filter,
com.google.common.base.Function<IEObjectDescription,org.eclipse.jface.text.contentassist.ICompletionProposal> proposalFactory) |
void |
setCrossReferenceProposalCreator(AbstractJavaBasedContentProposalProvider.ReferenceProposalCreator crossReferenceProposalCreator) |
void |
setScopeProvider(IScopeProvider scopeProvider) |
createCompletionProposal, createCompletionProposal, createCompletionProposal, createCompletionProposal, createSelector, doCreateProposal, doCreateProposal, getConflictHelper, getDisplayString, getImage, getKeywordDisplayString, getLabelProvider, getPriorityHelper, getQualifiedNameConverter, getStyledDisplayString, getStyledDisplayString, getValueConverter, isValidProposal, setConflictHelper, setLabelProvider, setPriorityHelper, setValueConverter
protected AbstractJavaBasedContentProposalProvider()
public void completeKeyword(Keyword keyword, ContentAssistContext contentAssistContext, ICompletionProposalAcceptor acceptor)
completeKeyword
in class AbstractContentProposalProvider
public void completeRuleCall(RuleCall ruleCall, ContentAssistContext contentAssistContext, ICompletionProposalAcceptor acceptor)
completeRuleCall
in class AbstractContentProposalProvider
public void completeAssignment(Assignment assignment, ContentAssistContext contentAssistContext, ICompletionProposalAcceptor acceptor)
completeAssignment
in class AbstractContentProposalProvider
protected void lookupCrossReference(CrossReference crossReference, ContentAssistContext contentAssistContext, ICompletionProposalAcceptor acceptor)
protected void lookupCrossReference(CrossReference crossReference, ContentAssistContext contentAssistContext, ICompletionProposalAcceptor acceptor, com.google.common.base.Function<IEObjectDescription,org.eclipse.jface.text.contentassist.ICompletionProposal> proposalFactory)
protected void lookupCrossReference(CrossReference crossReference, ContentAssistContext contentAssistContext, ICompletionProposalAcceptor acceptor, com.google.common.base.Predicate<IEObjectDescription> filter)
protected void lookupCrossReference(CrossReference crossReference, ContentAssistContext contentAssistContext, ICompletionProposalAcceptor acceptor, com.google.common.base.Predicate<IEObjectDescription> filter, com.google.common.base.Function<IEObjectDescription,org.eclipse.jface.text.contentassist.ICompletionProposal> proposalFactory)
protected void lookupCrossReference(CrossReference crossReference, org.eclipse.emf.ecore.EReference reference, ContentAssistContext contentAssistContext, ICompletionProposalAcceptor acceptor, com.google.common.base.Predicate<IEObjectDescription> filter)
protected void lookupCrossReference(org.eclipse.emf.ecore.EObject model, org.eclipse.emf.ecore.EReference reference, ICompletionProposalAcceptor acceptor, com.google.common.base.Predicate<IEObjectDescription> filter, com.google.common.base.Function<IEObjectDescription,org.eclipse.jface.text.contentassist.ICompletionProposal> proposalFactory)
protected com.google.common.base.Function<IEObjectDescription,org.eclipse.jface.text.contentassist.ICompletionProposal> getProposalFactory(java.lang.String ruleName, ContentAssistContext contentAssistContext)
public void createProposals(ContentAssistContext context, ICompletionProposalAcceptor acceptor)
createProposals
in interface IContentProposalProvider
createProposals
in class AbstractContentProposalProvider
protected void invokeMethod(java.lang.String methodName, ICompletionProposalAcceptor acceptor, java.lang.Object... params)
protected boolean announceProcessing(java.util.List<?> key)
public void setScopeProvider(IScopeProvider scopeProvider)
public IScopeProvider getScopeProvider()
public void setCrossReferenceProposalCreator(AbstractJavaBasedContentProposalProvider.ReferenceProposalCreator crossReferenceProposalCreator)
public AbstractJavaBasedContentProposalProvider.ReferenceProposalCreator getCrossReferenceProposalCreator()
public IEObjectHover getHover()