Class QlDcsProposalProvider

  • All Implemented Interfaces:
    org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalFactory, org.eclipse.xtext.ui.editor.contentassist.IContentProposalProvider

    public class QlDcsProposalProvider
    extends AbstractQlDcsProposalProvider
    This class defines proposals for Ql.Dcs language see http://www.eclipse.org/Xtext/documentation.html#contentAssist on how to customize content assistant
    • Constructor Detail

      • QlDcsProposalProvider

        @Inject
        public QlDcsProposalProvider​(QlDcsGrammarAccess grammarAccess)
    • Method Detail

      • completeQuerySchema_Queries

        public void completeQuerySchema_Queries​(org.eclipse.emf.ecore.EObject model,
                                                org.eclipse.xtext.Assignment assignment,
                                                org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context,
                                                org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor)
        Create proposal for start query
        Overrides:
        completeQuerySchema_Queries in class QlProposalProvider
      • completeQuerySchemaSelectQuery_Extensions

        public void completeQuerySchemaSelectQuery_Extensions​(org.eclipse.emf.ecore.EObject model,
                                                              org.eclipse.xtext.Assignment assignment,
                                                              org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context,
                                                              org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor)
        Create proposals for 'CHARACTERISTIC'
        Overrides:
        completeQuerySchemaSelectQuery_Extensions in class AbstractQlDcsProposalProvider
      • completeQuerySchemaSource_Source

        public void completeQuerySchemaSource_Source​(org.eclipse.emf.ecore.EObject model,
                                                     org.eclipse.xtext.Assignment assignment,
                                                     org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context,
                                                     org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor)
        Create proposals for 'FROM'
        Overrides:
        completeQuerySchemaSource_Source in class QlProposalProvider
      • completeQuerySchemaSelectQueryBody_Operators

        public void completeQuerySchemaSelectQueryBody_Operators​(org.eclipse.emf.ecore.EObject model,
                                                                 org.eclipse.xtext.Assignment assignment,
                                                                 org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context,
                                                                 org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor)
        Create proposals for operator part of query
        Overrides:
        completeQuerySchemaSelectQueryBody_Operators in class AbstractQlProposalProvider
      • completeQuerySchemaSelectQueryBody_AutoOrder

        public void completeQuerySchemaSelectQueryBody_AutoOrder​(org.eclipse.emf.ecore.EObject model,
                                                                 org.eclipse.xtext.Assignment assignment,
                                                                 org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context,
                                                                 org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor)
        Create proposals for part of query after keyword 'AUTOORDER'
        Overrides:
        completeQuerySchemaSelectQueryBody_AutoOrder in class AbstractQlProposalProvider
      • completeReadCharacteristic_CharacteristicTypes

        public void completeReadCharacteristic_CharacteristicTypes​(org.eclipse.emf.ecore.EObject model,
                                                                   org.eclipse.xtext.Assignment assignment,
                                                                   org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context,
                                                                   org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor)
        Create proposals for characteristic types
        Overrides:
        completeReadCharacteristic_CharacteristicTypes in class AbstractQlDcsProposalProvider
      • completeReadCharacteristic_CharacteristicValues

        public void completeReadCharacteristic_CharacteristicValues​(org.eclipse.emf.ecore.EObject model,
                                                                    org.eclipse.xtext.Assignment assignment,
                                                                    org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context,
                                                                    org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor)
        Create proposals for characteristic values
        Overrides:
        completeReadCharacteristic_CharacteristicValues in class AbstractQlDcsProposalProvider
      • completeReadCharacteristic_KeyField

        public void completeReadCharacteristic_KeyField​(org.eclipse.emf.ecore.EObject model,
                                                        org.eclipse.xtext.Assignment assignment,
                                                        org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context,
                                                        org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor)
        Create proposals for characteristic key field
        Overrides:
        completeReadCharacteristic_KeyField in class AbstractQlDcsProposalProvider
      • completeReadCharacteristic_NameField

        public void completeReadCharacteristic_NameField​(org.eclipse.emf.ecore.EObject model,
                                                         org.eclipse.xtext.Assignment assignment,
                                                         org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context,
                                                         org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor)
        Create proposals for characteristic name field
        Overrides:
        completeReadCharacteristic_NameField in class AbstractQlDcsProposalProvider
      • completeReadCharacteristic_ValueTypeField

        public void completeReadCharacteristic_ValueTypeField​(org.eclipse.emf.ecore.EObject model,
                                                              org.eclipse.xtext.Assignment assignment,
                                                              org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context,
                                                              org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor)
        Create proposals for characteristic value type field
        Overrides:
        completeReadCharacteristic_ValueTypeField in class AbstractQlDcsProposalProvider
      • completeReadCharacteristic_ObjectField

        public void completeReadCharacteristic_ObjectField​(org.eclipse.emf.ecore.EObject model,
                                                           org.eclipse.xtext.Assignment assignment,
                                                           org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context,
                                                           org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor)
        Create proposals for characteristic object field
        Overrides:
        completeReadCharacteristic_ObjectField in class AbstractQlDcsProposalProvider
      • completeReadCharacteristic_TypeField

        public void completeReadCharacteristic_TypeField​(org.eclipse.emf.ecore.EObject model,
                                                         org.eclipse.xtext.Assignment assignment,
                                                         org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context,
                                                         org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor)
        Create proposals for characteristic type field
        Overrides:
        completeReadCharacteristic_TypeField in class AbstractQlDcsProposalProvider
      • completeReadCharacteristic_ValueField

        public void completeReadCharacteristic_ValueField​(org.eclipse.emf.ecore.EObject model,
                                                          org.eclipse.xtext.Assignment assignment,
                                                          org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context,
                                                          org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor)
        Create proposals for characteristic value field
        Overrides:
        completeReadCharacteristic_ValueField in class AbstractQlDcsProposalProvider
      • completeSelectFieldsCompositionData_Expressions

        public void completeSelectFieldsCompositionData_Expressions​(org.eclipse.emf.ecore.EObject model,
                                                                    org.eclipse.xtext.Assignment assignment,
                                                                    org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context,
                                                                    org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor)
        Create proposals for expression in '{SELECt}' section
        Overrides:
        completeSelectFieldsCompositionData_Expressions in class AbstractQlDcsProposalProvider
      • completeKeyword

        public void completeKeyword​(org.eclipse.xtext.Keyword keyword,
                                    org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext contentAssistContext,
                                    org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor)
        Filtering keyword proposals
        Overrides:
        completeKeyword in class QlProposalProvider
      • completeReadCharacteristic_Types

        public void completeReadCharacteristic_Types​(org.eclipse.emf.ecore.EObject model,
                                                     org.eclipse.xtext.Assignment assignment,
                                                     org.eclipse.xtext.ui.editor.contentassist.ContentAssistContext context,
                                                     org.eclipse.xtext.ui.editor.contentassist.ICompletionProposalAcceptor acceptor)
        Create proposals for types in '{CHARACTERISTIC}' section
        Overrides:
        completeReadCharacteristic_Types in class AbstractQlDcsProposalProvider