Class QlQuickfixProvider

  • All Implemented Interfaces:
    org.eclipse.xtext.ui.editor.quickfix.IssueResolutionProvider
    Direct Known Subclasses:
    QlDcsQuickfixProvider, RightQlQuickfixProvider

    public class QlQuickfixProvider
    extends org.eclipse.xtext.ui.editor.quickfix.DefaultQuickfixProvider
    Custom quickfixes for ql language see http://www.eclipse.org/Xtext/documentation.html#quickfixes
    • Nested Class Summary

      • 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addFieldToGroupBy​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      The field should be in the section 'GROUP BY'
      void addIndexFieldToSelect​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Indexed fields must be in the select list
      void addOrderFieldToSelect​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      If the request with union section (or Met offer - "DISTINCT"), then you sort of expression must be in the select fields
      void addTableToSource​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      You can not use external tables in the presence of sections FROM
      void aliasWithStarExpression​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      You can not use an alias for the expression of "*"
      void autoorderInTempTable​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      You can not use "AUTOORDER" query, create a temporary table
      void changeAlias​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Repeated alias
      void changeExpressionFromIndexSectionToAlias​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      In the section 'INDEX BY' is a complex expression, which is better to replace to alias
      void changeExpressionFromOrderedSectionToAlias​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      In the section 'ORDER BY' is a complex expression, which is better to replace to alias
      void changeNameTempTable​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Temporary table with the same name already exists
      void changeNumberFieldsInSelectNestedTable​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      You can not merge tables with different number of fields
      void changeNumberInOrderBy​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      In the expression 'ORDER BY' can be a constant value in the range [1, the number of columns to be selected]
      void changeNumberSelectFields​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Number of fields in a union query must be the same
      void changeToDateLiteralExpression​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Expected constant date
      void changeToNumberLiteralExpression​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Expected a numeric constant
      void changeToStringLiteralExpression​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Expected string literal
      void changeUnlimitedTypeWithGroupBy​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      You can not select the type of unlimited expression in section GROUP BY
      protected String copyFromDoc​(org.eclipse.xtext.ui.editor.model.IXtextDocument doc, int copyPosBegin, int copyPosEnd)  
      void correctDate​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Error setting date values (error in one of the parameters incorrectly dates)
      void dataBeginMoreDataEnd​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Start date is more than the end date (the control points of the request)
      protected void deleteAutoorderSection​(org.eclipse.emf.ecore.EObject element, org.eclipse.xtext.ui.editor.model.edit.IModificationContext context)  
      void deleteFractionalPartOfNumber​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Fractional number has no meaning in this expression
      protected void deleteFromDoc​(org.eclipse.xtext.ui.editor.model.IXtextDocument doc, int deletePosBegin, int deletePosEnd)  
      protected void deleteTotalSection​(org.eclipse.emf.ecore.EObject element, org.eclipse.xtext.ui.editor.model.edit.IModificationContext context)  
      void deleteWrongIntoLocation​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Section 'INTO' is not in the main part of the query
      void distinctInFunc​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      DISTINCT offer can not be used within all functions
      void distinctWithStarInFunc​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Can not use the expression DISTINCT with "star" inside functions
      void dropNotTempTable​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Only temp table allowed to drop
      void dropTempTable​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Drop table not found
      void fixDuplicateExpr​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      repeated expression
      void fixFieldNotFound​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Field not found
      void fixInForUpdateTable​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Table not found in section 'FROM'
      void fixNestedTableInForUpdateSection​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Nested table in 'FOR UPDATE' section
      void fixTableFromNesteQueryInForUpdateSection​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Table from nested query in 'FOR UPDATE' section
      void fixTableNotFound​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Table not found
      protected org.eclipse.jface.text.ITextViewer getTextViewer​(org.eclipse.xtext.ui.editor.model.edit.IModificationContext context)  
      void groupByNestedAndNonNestedField​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      You can not group by both nested and not nested tables
      void insertAlias​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Expect alias
      void nestedTableInTempTable​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      You can not use nested tables in a query, create a temporary table
      void nestedTableWithDistinct​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      You can not use nested tables with DISTINCT
      void onlyAliasInNestedTable​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      In the expression "EMPTYTABLE" in the fields can be transferred only aliases
      void orderByWithoutTopInNestedQuery​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      You can not use 'ORDER BY' in the nested query without 'TOP'
      void orderByWithoutTopInTempTable​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      You can not use 'ORDER BY' in the query, create a temporary table without specifying a 'TOP'
      void revealStarForNestedTable​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      You can not use "*" for the expression "EMPTYTABLE"
      protected void selectAndRevealForLinkedModeModel​(org.eclipse.jface.text.ITextViewer viewer, int posStart, int length)  
      void tempTableInNestedQuery​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      You can not use the "INTO" in nested query
      void theSameFieldDiffTypeSorting​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Any type of order for the same expression
      void totalsInNestedQuery​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      You can not use a nested query TOTALS
      void totalsInTempTable​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      You can not use the "TOTALS" in the query, create a temporary table
      void totalsWithHierarchySorting​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Can not be used together with a hierarchical sorting and TOTALS
      void unionSimpleFieldAndTableField​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Can not be combined with conventional composite field
      void unlimitedTypeWithDistinct​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      You can not use fields with unlimited types with DISTINCT
      protected int writeToDoc​(org.eclipse.xtext.ui.editor.model.IXtextDocument doc, int offset, String fixString)  
      void wrongTypeParam​(org.eclipse.xtext.validation.Issue issue, org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
      Wrong type parameter
      • 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
    • Constructor Detail

      • QlQuickfixProvider

        public QlQuickfixProvider()
    • Method Detail

      • insertAlias

        public void insertAlias​(org.eclipse.xtext.validation.Issue issue,
                                org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Expect alias
      • deleteFractionalPartOfNumber

        public void deleteFractionalPartOfNumber​(org.eclipse.xtext.validation.Issue issue,
                                                 org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Fractional number has no meaning in this expression
      • changeNumberInOrderBy

        public void changeNumberInOrderBy​(org.eclipse.xtext.validation.Issue issue,
                                          org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        In the expression 'ORDER BY' can be a constant value in the range [1, the number of columns to be selected]
      • deleteWrongIntoLocation

        public void deleteWrongIntoLocation​(org.eclipse.xtext.validation.Issue issue,
                                            org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Section 'INTO' is not in the main part of the query
      • changeToStringLiteralExpression

        public void changeToStringLiteralExpression​(org.eclipse.xtext.validation.Issue issue,
                                                    org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Expected string literal
      • changeToDateLiteralExpression

        public void changeToDateLiteralExpression​(org.eclipse.xtext.validation.Issue issue,
                                                  org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Expected constant date
      • changeToNumberLiteralExpression

        public void changeToNumberLiteralExpression​(org.eclipse.xtext.validation.Issue issue,
                                                    org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Expected a numeric constant
      • dataBeginMoreDataEnd

        public void dataBeginMoreDataEnd​(org.eclipse.xtext.validation.Issue issue,
                                         org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Start date is more than the end date (the control points of the request)
      • addOrderFieldToSelect

        public void addOrderFieldToSelect​(org.eclipse.xtext.validation.Issue issue,
                                          org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        If the request with union section (or Met offer - "DISTINCT"), then you sort of expression must be in the select fields
      • addIndexFieldToSelect

        public void addIndexFieldToSelect​(org.eclipse.xtext.validation.Issue issue,
                                          org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Indexed fields must be in the select list
      • changeExpressionFromOrderedSectionToAlias

        public void changeExpressionFromOrderedSectionToAlias​(org.eclipse.xtext.validation.Issue issue,
                                                              org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        In the section 'ORDER BY' is a complex expression, which is better to replace to alias
      • changeExpressionFromIndexSectionToAlias

        public void changeExpressionFromIndexSectionToAlias​(org.eclipse.xtext.validation.Issue issue,
                                                            org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        In the section 'INDEX BY' is a complex expression, which is better to replace to alias
      • changeAlias

        public void changeAlias​(org.eclipse.xtext.validation.Issue issue,
                                org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Repeated alias
      • addFieldToGroupBy

        public void addFieldToGroupBy​(org.eclipse.xtext.validation.Issue issue,
                                      org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        The field should be in the section 'GROUP BY'
      • changeNameTempTable

        public void changeNameTempTable​(org.eclipse.xtext.validation.Issue issue,
                                        org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Temporary table with the same name already exists
      • totalsInTempTable

        public void totalsInTempTable​(org.eclipse.xtext.validation.Issue issue,
                                      org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        You can not use the "TOTALS" in the query, create a temporary table
      • autoorderInTempTable

        public void autoorderInTempTable​(org.eclipse.xtext.validation.Issue issue,
                                         org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        You can not use "AUTOORDER" query, create a temporary table
      • orderByWithoutTopInTempTable

        public void orderByWithoutTopInTempTable​(org.eclipse.xtext.validation.Issue issue,
                                                 org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        You can not use 'ORDER BY' in the query, create a temporary table without specifying a 'TOP'
      • orderByWithoutTopInNestedQuery

        public void orderByWithoutTopInNestedQuery​(org.eclipse.xtext.validation.Issue issue,
                                                   org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        You can not use 'ORDER BY' in the nested query without 'TOP'
      • changeNumberSelectFields

        public void changeNumberSelectFields​(org.eclipse.xtext.validation.Issue issue,
                                             org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Number of fields in a union query must be the same
      • totalsInNestedQuery

        public void totalsInNestedQuery​(org.eclipse.xtext.validation.Issue issue,
                                        org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        You can not use a nested query TOTALS
      • totalsWithHierarchySorting

        public void totalsWithHierarchySorting​(org.eclipse.xtext.validation.Issue issue,
                                               org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Can not be used together with a hierarchical sorting and TOTALS
      • distinctWithStarInFunc

        public void distinctWithStarInFunc​(org.eclipse.xtext.validation.Issue issue,
                                           org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Can not use the expression DISTINCT with "star" inside functions
      • distinctInFunc

        public void distinctInFunc​(org.eclipse.xtext.validation.Issue issue,
                                   org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        DISTINCT offer can not be used within all functions
      • unionSimpleFieldAndTableField

        public void unionSimpleFieldAndTableField​(org.eclipse.xtext.validation.Issue issue,
                                                  org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Can not be combined with conventional composite field
      • nestedTableWithDistinct

        public void nestedTableWithDistinct​(org.eclipse.xtext.validation.Issue issue,
                                            org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        You can not use nested tables with DISTINCT
      • unlimitedTypeWithDistinct

        public void unlimitedTypeWithDistinct​(org.eclipse.xtext.validation.Issue issue,
                                              org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        You can not use fields with unlimited types with DISTINCT
      • nestedTableInTempTable

        public void nestedTableInTempTable​(org.eclipse.xtext.validation.Issue issue,
                                           org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        You can not use nested tables in a query, create a temporary table
      • correctDate

        public void correctDate​(org.eclipse.xtext.validation.Issue issue,
                                org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Error setting date values (error in one of the parameters incorrectly dates)
      • changeNumberFieldsInSelectNestedTable

        public void changeNumberFieldsInSelectNestedTable​(org.eclipse.xtext.validation.Issue issue,
                                                          org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        You can not merge tables with different number of fields
      • changeUnlimitedTypeWithGroupBy

        public void changeUnlimitedTypeWithGroupBy​(org.eclipse.xtext.validation.Issue issue,
                                                   org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        You can not select the type of unlimited expression in section GROUP BY
      • addTableToSource

        public void addTableToSource​(org.eclipse.xtext.validation.Issue issue,
                                     org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        You can not use external tables in the presence of sections FROM
      • fixDuplicateExpr

        public void fixDuplicateExpr​(org.eclipse.xtext.validation.Issue issue,
                                     org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        repeated expression
      • theSameFieldDiffTypeSorting

        public void theSameFieldDiffTypeSorting​(org.eclipse.xtext.validation.Issue issue,
                                                org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Any type of order for the same expression
      • onlyAliasInNestedTable

        public void onlyAliasInNestedTable​(org.eclipse.xtext.validation.Issue issue,
                                           org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        In the expression "EMPTYTABLE" in the fields can be transferred only aliases
      • revealStarForNestedTable

        public void revealStarForNestedTable​(org.eclipse.xtext.validation.Issue issue,
                                             org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        You can not use "*" for the expression "EMPTYTABLE"
      • aliasWithStarExpression

        public void aliasWithStarExpression​(org.eclipse.xtext.validation.Issue issue,
                                            org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        You can not use an alias for the expression of "*"
      • groupByNestedAndNonNestedField

        public void groupByNestedAndNonNestedField​(org.eclipse.xtext.validation.Issue issue,
                                                   org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        You can not group by both nested and not nested tables
      • dropTempTable

        public void dropTempTable​(org.eclipse.xtext.validation.Issue issue,
                                  org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Drop table not found
      • dropNotTempTable

        public void dropNotTempTable​(org.eclipse.xtext.validation.Issue issue,
                                     org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Only temp table allowed to drop
      • wrongTypeParam

        public void wrongTypeParam​(org.eclipse.xtext.validation.Issue issue,
                                   org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Wrong type parameter
      • fixInForUpdateTable

        public void fixInForUpdateTable​(org.eclipse.xtext.validation.Issue issue,
                                        org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Table not found in section 'FROM'
      • fixNestedTableInForUpdateSection

        public void fixNestedTableInForUpdateSection​(org.eclipse.xtext.validation.Issue issue,
                                                     org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Nested table in 'FOR UPDATE' section
      • fixTableFromNesteQueryInForUpdateSection

        public void fixTableFromNesteQueryInForUpdateSection​(org.eclipse.xtext.validation.Issue issue,
                                                             org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Table from nested query in 'FOR UPDATE' section
      • fixTableNotFound

        public void fixTableNotFound​(org.eclipse.xtext.validation.Issue issue,
                                     org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Table not found
      • fixFieldNotFound

        public void fixFieldNotFound​(org.eclipse.xtext.validation.Issue issue,
                                     org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        Field not found
      • tempTableInNestedQuery

        public void tempTableInNestedQuery​(org.eclipse.xtext.validation.Issue issue,
                                           org.eclipse.xtext.ui.editor.quickfix.IssueResolutionAcceptor acceptor)
        You can not use the "INTO" in nested query
      • writeToDoc

        protected int writeToDoc​(org.eclipse.xtext.ui.editor.model.IXtextDocument doc,
                                 int offset,
                                 String fixString)
      • deleteFromDoc

        protected void deleteFromDoc​(org.eclipse.xtext.ui.editor.model.IXtextDocument doc,
                                     int deletePosBegin,
                                     int deletePosEnd)
      • copyFromDoc

        protected String copyFromDoc​(org.eclipse.xtext.ui.editor.model.IXtextDocument doc,
                                     int copyPosBegin,
                                     int copyPosEnd)
      • selectAndRevealForLinkedModeModel

        protected void selectAndRevealForLinkedModeModel​(org.eclipse.jface.text.ITextViewer viewer,
                                                         int posStart,
                                                         int length)
      • deleteTotalSection

        protected void deleteTotalSection​(org.eclipse.emf.ecore.EObject element,
                                          org.eclipse.xtext.ui.editor.model.edit.IModificationContext context)
      • getTextViewer

        protected org.eclipse.jface.text.ITextViewer getTextViewer​(org.eclipse.xtext.ui.editor.model.edit.IModificationContext context)
      • deleteAutoorderSection

        protected void deleteAutoorderSection​(org.eclipse.emf.ecore.EObject element,
                                              org.eclipse.xtext.ui.editor.model.edit.IModificationContext context)