Interface ITypeProvider

    • Method Detail

      • getTypeDescriptionInfo

        TypeDescriptionInfoWithCategories getTypeDescriptionInfo​(org.eclipse.emf.ecore.EObject context,
                                                                 org.eclipse.emf.ecore.EReference reference,
                                                                 org.eclipse.xtext.scoping.IScope cachedScope)
        Method returns actual TypeDescriptionInfoWithCategories to pair eObject-context and reference from registered type providers
        Parameters:
        context - eObject context, cannot be null
        reference - the type feature, cannot be null
        cachedScope - the cached scope, can be null if cache is not used
        Returns:
        rules in TypeDescriptionInfo, cannot be null
      • getTypeDescriptionInfoWithTypeInfo

        TypeDescriptionInfoWithTypeInfo getTypeDescriptionInfoWithTypeInfo​(org.eclipse.emf.ecore.EObject context,
                                                                           org.eclipse.emf.ecore.EReference reference,
                                                                           org.eclipse.xtext.scoping.IScope cachedScope)
        Method returns actual TypeDescriptionInfoWithTypeInfo to pair eObject-context and reference from registered type providers
        Parameters:
        context - eObject context, cannot be null
        reference - the type feature, cannot be null
        cachedScope - the cached scope, can be null if cache is not used
        Returns:
        rules in TypeDescriptionInfo, cannot be null
      • getTypeDescriptionInfoWithTypeInfo

        TypeDescriptionInfoWithTypeInfo getTypeDescriptionInfoWithTypeInfo​(org.eclipse.emf.ecore.EObject context,
                                                                           org.eclipse.emf.ecore.EObject parentObject,
                                                                           org.eclipse.emf.ecore.EReference reference,
                                                                           org.eclipse.xtext.scoping.IScope cachedScope)
        Method returns actual TypeDescriptionInfoWithTypeInfo to pair eObject-context and reference from registered type providers
        Parameters:
        context - eObject context, cannot be null
        parentContext - parent context object for computing TypeDescriptionInfo, can be null
        reference - the type feature, cannot be null
        cachedScope - the cached scope, can be null if cache is not used
        Returns:
        rules in TypeDescriptionInfo, cannot be null