Class SortColumnsTypeComputer

    • Field Detail

      • DYNAMIC_INVOCATION

        public static final Set<org.eclipse.xtext.util.Pair<String,​Integer>> DYNAMIC_INVOCATION
    • Constructor Detail

      • SortColumnsTypeComputer

        public SortColumnsTypeComputer()
    • Method Detail

      • validate

        public org.eclipse.core.runtime.IStatus validate​(StringLiteral literal,
                                                         List<String> content,
                                                         org.eclipse.xtext.util.CancelIndicator monitor)
        Description copied from interface: TypeValidator
        Checks that content of string literal is valid for the declared content type.
        Specified by:
        validate in interface TypeValidator
        Parameters:
        literal - the string literal, cannot be null.
        content - the content of lines of the string literal, cannot be null.
        monitor - the monitor to check cancel status, cannot be null.
        Returns:
        the status of validation, cannot return null.
      • getDynamicInvocationParams

        protected Set<org.eclipse.xtext.util.Pair<String,​Integer>> getDynamicInvocationParams​(DynamicFeatureAccess featureAccess)
        Description copied from class: AbstractInvocationTypeComputer
        Gets the dynamic invocation parameters. Should return both English and Russian variants of method name. Clients should override this method to implement type computer on dynamic invocation context.
        Overrides:
        getDynamicInvocationParams in class AbstractInvocationTypeComputer
        Parameters:
        featureAccess - the dynamic feature access, if need dependably compute the collection of methods.
        Returns:
        the dynamic invocation parameters, collection of type context method name and position of string literal in the invocation parameters.