Class Mwe2QuickfixProvider

java.lang.Object
org.eclipse.xtext.ui.editor.quickfix.AbstractDeclarativeQuickfixProvider
org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider
org.eclipse.emf.mwe2.language.ui.quickfix.Mwe2QuickfixProvider
All Implemented Interfaces:
org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider

public class Mwe2QuickfixProvider extends org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static class 
     

    Nested classes/interfaces inherited from class org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider

    org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider.CancelableResolutionAcceptor, org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider.CrossRefResolutionConverter

    Nested classes/interfaces inherited from interface org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider

    org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider.NullImpl
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    assignValidType(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
     
    chooseType(org.eclipse.jdt.core.IJavaProject project, org.eclipse.xtext.common.types.JvmType actualType)
     
    org.eclipse.jdt.core.IJavaProject
    findEnclosingProject(org.eclipse.emf.ecore.resource.Resource resource)
     
    static org.eclipse.xtext.common.types.JvmType
    findJvmType(org.eclipse.emf.ecore.EObject context, String type)
     
    void
    fixUnusedVariable(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
     

    Methods inherited from class org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider

    createLinkingIssueResolutions, fixCrossReferenceImage, fixCrossReferenceLabel, getCancelableAcceptor, getCancelManager, getModificationContextFactory, getQualifiedNameConverter, getResolutions, getResolutionsForLinkingIssue, getScopeProvider, getSimilarityMatcher, getUnresolvedEReference, hasResolutionFor, queryScope

    Methods inherited from class org.eclipse.xtext.ui.editor.quickfix.AbstractDeclarativeQuickfixProvider

    collectMethods, getFixMethodPredicate, getFixMethods, getIssueResolutionAcceptorProvider, getResolutions, setIssueResolutionAcceptorProvider

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • Mwe2QuickfixProvider

      public Mwe2QuickfixProvider()
  • Method Details

    • assignValidType

      public void assignValidType(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
    • fixUnusedVariable

      public void fixUnusedVariable(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
    • findJvmType

      public static org.eclipse.xtext.common.types.JvmType findJvmType(org.eclipse.emf.ecore.EObject context, String type)
    • findEnclosingProject

      public org.eclipse.jdt.core.IJavaProject findEnclosingProject(org.eclipse.emf.ecore.resource.Resource resource)
    • chooseType

      public String chooseType(org.eclipse.jdt.core.IJavaProject project, org.eclipse.xtext.common.types.JvmType actualType)