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

    • Method Detail

      • getModel

        M getModel()
        Returns:
        target model.
      • setModel

        void setModel​(M model)
        Sets target model.
        Parameters:
        model - model to set.
      • getFeature

        org.eclipse.emf.ecore.EStructuralFeature getFeature()
        Returns:
        target feature.
      • setFeature

        void setFeature​(org.eclipse.emf.ecore.EStructuralFeature feature)
        Sets target feature.
        Parameters:
        feature - feature to set.
      • getSelection

        ISelection getSelection()
        Returns:
        target selection.
      • setSelection

        void setSelection​(ISelection selection)
        Sets target selection.
        Parameters:
        selection - selection to set.
      • toNavigatorSelection

        IStructuredSelection toNavigatorSelection()
        Converts this editor input to Navigator selection.
        Returns:
        obtained selection or null if no appropriate selection exists.
      • getActivationContextIds

        Set<String> getActivationContextIds()
        Returns set of context indexes to be activated for an editor working with this editor input.
        Returns:
        set of context indexes or empty set, never null