Class TextDocumentDtEditorContextProvider

    • Constructor Detail

      • TextDocumentDtEditorContextProvider

        public TextDocumentDtEditorContextProvider()
    • Method Detail

      • getEditingContext

        public org.eclipse.xtext.util.Pair<org.eclipse.emf.ecore.EObject,​org.eclipse.emf.ecore.EStructuralFeature> getEditingContext​(org.eclipse.emf.ecore.EObject object)
        Description copied from interface: IDtEditorContextProvider
        Gets parent object with granular editor for object
        Specified by:
        getEditingContext in interface IDtEditorContextProvider
        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