Class MoxelTypeProvider

    • Constructor Detail

      • MoxelTypeProvider

        public MoxelTypeProvider()
    • Method Detail

      • getTypeDescriptionInfo

        public TypeDescriptionInfoWithCategories getTypeDescriptionInfo​(org.eclipse.emf.ecore.EObject context,
                                                                        org.eclipse.emf.ecore.EReference reference,
                                                                        org.eclipse.xtext.scoping.IScope cachedScope)
        Description copied from interface: ITypeProvider
        Method returns actual TypeDescriptionInfoWithCategories to pair eObject-context and reference from registered type providers
        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
        rules in TypeDescriptionInfo, cannot be null
      • getContextProject

        public org.eclipse.core.resources.IProject getContextProject​(org.eclipse.emf.ecore.EObject context)
        Description copied from class: AbstractTypeProvider
        Gets actual object by context EObject
        Specified by:
        getContextProject in class AbstractTypeProvider
        context - context EObject, cannot be null
        context IProject or null if there is no IProject