org.eclipse.xtext.common.types.xtext.ui
Class TypeAwareReferenceProposalCreator
java.lang.Object
org.eclipse.xtext.ui.editor.contentassist.AbstractJavaBasedContentProposalProvider.ReferenceProposalCreator
org.eclipse.xtext.common.types.xtext.ui.TypeAwareReferenceProposalCreator
- Direct Known Subclasses:
- XbaseReferenceProposalCreator
public class TypeAwareReferenceProposalCreator
- extends AbstractJavaBasedContentProposalProvider.ReferenceProposalCreator
- Author:
- Sebastian Zarnekow - Initial contribution and API
Method Summary |
protected org.eclipse.swt.graphics.Image |
computeImage(boolean isInnerType,
int modifiers)
|
protected org.eclipse.emf.ecore.EClass |
getEReferenceType(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference)
|
protected com.google.common.base.Function<IEObjectDescription,org.eclipse.jface.text.contentassist.ICompletionProposal> |
getWrappedFactory(org.eclipse.emf.ecore.EObject model,
org.eclipse.emf.ecore.EReference reference,
com.google.common.base.Function<IEObjectDescription,org.eclipse.jface.text.contentassist.ICompletionProposal> proposalFactory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeAwareReferenceProposalCreator
public TypeAwareReferenceProposalCreator()
getWrappedFactory
protected com.google.common.base.Function<IEObjectDescription,org.eclipse.jface.text.contentassist.ICompletionProposal> getWrappedFactory(org.eclipse.emf.ecore.EObject model,
org.eclipse.emf.ecore.EReference reference,
com.google.common.base.Function<IEObjectDescription,org.eclipse.jface.text.contentassist.ICompletionProposal> proposalFactory)
- Overrides:
getWrappedFactory
in class AbstractJavaBasedContentProposalProvider.ReferenceProposalCreator
computeImage
protected org.eclipse.swt.graphics.Image computeImage(boolean isInnerType,
int modifiers)
getEReferenceType
protected org.eclipse.emf.ecore.EClass getEReferenceType(org.eclipse.emf.ecore.EObject context,
org.eclipse.emf.ecore.EReference reference)