Class DtEditorContextProviderService

    • Constructor Detail

      • DtEditorContextProviderService

        public DtEditorContextProviderService()
    • Method Detail

      • hasEditingContextProcessor

        public static boolean hasEditingContextProcessor​(org.eclipse.emf.ecore.EClass eclass)
        Checks that eclass has corresponding implementation of IDtEditorContextProvider
        Parameters:
        eclass - checking EClass, can't be null
        Returns:
        true if eclass has corresponding implementation of IDtEditorContextProvider, false otherwise
      • getEditingContext

        public static org.eclipse.xtext.util.Pair<org.eclipse.emf.ecore.EObject,​org.eclipse.emf.ecore.EStructuralFeature> getEditingContext​(org.eclipse.emf.ecore.EObject object)
        Gets parent object with granular editor for object
        Parameters:
        object - object for which is searched parent object with granular editor, can't be null
        Returns:
        pair:
        • parent object with granular editor for object
        • actual EStructuralFeature of parent corresponding to object
        , never null