Class FormTypeProvider

    • Constructor Detail

      • FormTypeProvider

        public FormTypeProvider()
    • 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
        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
      • 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
        Parameters:
        context - context EObject, cannot be null
        Returns:
        context IProject or null if there is no IProject