Interface IDtEditor<M extends org.eclipse.emf.ecore.EObject>

    • Method Detail

      • getEditorInput

        IDtEditorInput<M> getEditorInput()
        Specified by:
        getEditorInput in interface org.eclipse.ui.IEditorPart
      • showEditorInput

        void showEditorInput​(IDtEditorInput<M> editorInput)
        Shows the editor input.
        Parameters:
        editorInput - the editor input to show, cannot be null.
        See Also:
        IShowEditorInput.showEditorInput(org.eclipse.ui.IEditorInput)
      • init

        void init​(org.eclipse.ui.IEditorSite site,
                  IDtEditorInput<M> input)
           throws org.eclipse.ui.PartInitException
        Initializes the editor.
        Parameters:
        site - the editor site, cannot be null.
        input - the editor input, cannot be null.
        Throws:
        org.eclipse.ui.PartInitException - if this editor was not initialized successfully
        See Also:
        IEditorPart.init(IEditorSite, org.eclipse.ui.IEditorInput)
      • setActiveFeature

        void setActiveFeature​(org.eclipse.emf.ecore.EStructuralFeature feature)
        Sets the active feature of the editor.
        Parameters:
        feature - the feature active at this moment, or null if there is no active feature.
      • setActiveSelection

        void setActiveSelection​(ISelection selection,
                                DtEditorSelectionProcessingPolicy policy)
        Sets the active selection of the editor.
        Parameters:
        selection - selection active at this moment.
        policy - selection processing policy.
      • getApiEditingContext

        IEditingContext getApiEditingContext()
        Returns the IEditingContext instance associated with the editor.
        Returns:
        the IEditingContext instance associated with the editor, can be null if the editor is not initialized or it is already disposed.
      • getModel

        M getModel()
        Returns:
        the sessioned model being edited.