org.eclipse.xtext.ui.editor.quickfix
Class DefaultQuickfixProvider
java.lang.Object
org.eclipse.xtext.ui.editor.quickfix.AbstractDeclarativeQuickfixProvider
org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider
- All Implemented Interfaces:
- IssueResolutionProvider
- Direct Known Subclasses:
- CodetemplatesQuickfixProvider, PureXbaseQuickfixProvider, TemplatesQuickfixProvider, XbaseWithAnnotationsQuickfixProvider, Xtend2QuickfixProvider, XtextGrammarQuickfixProvider
public class DefaultQuickfixProvider
- extends AbstractDeclarativeQuickfixProvider
- Author:
- Heiko Behrens - Initial contribution and API, Jan Koehnlein
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultQuickfixProvider
public DefaultQuickfixProvider()
getResolutionsForLinkingIssue
public java.util.List<IssueResolution> getResolutionsForLinkingIssue(Issue issue)
createLinkingIssueResolutions
public void createLinkingIssueResolutions(Issue issue,
IssueResolutionAcceptor issueResolutionAcceptor)
queryScope
protected java.lang.Iterable<IEObjectDescription> queryScope(IScope scope)
getUnresolvedEReference
protected org.eclipse.emf.ecore.EReference getUnresolvedEReference(Issue issue,
org.eclipse.emf.ecore.EObject target)
fixCrossReferenceLabel
protected java.lang.String fixCrossReferenceLabel(java.lang.String issueString,
java.lang.String replacement)
fixCrossReferenceImage
protected java.lang.String fixCrossReferenceImage(java.lang.String issueString,
java.lang.String replacement)
getResolutions
public java.util.List<IssueResolution> getResolutions(Issue issue)
- Specified by:
getResolutions
in interface IssueResolutionProvider
- Overrides:
getResolutions
in class AbstractDeclarativeQuickfixProvider
hasResolutionFor
public boolean hasResolutionFor(java.lang.String issueCode)
- Specified by:
hasResolutionFor
in interface IssueResolutionProvider
- Overrides:
hasResolutionFor
in class AbstractDeclarativeQuickfixProvider
getModificationContextFactory
protected IssueModificationContext.Factory getModificationContextFactory()
- Since:
- 2.0
getScopeProvider
protected IScopeProvider getScopeProvider()
- Since:
- 2.0
getQualifiedNameConverter
protected IQualifiedNameConverter getQualifiedNameConverter()
- Since:
- 2.0
getSimilarityMatcher
protected ISimilarityMatcher getSimilarityMatcher()
- Since:
- 2.0