Class DtEditorInput<M extends org.eclipse.emf.ecore.EObject>

    • Constructor Detail

      • DtEditorInput

        public DtEditorInput()
    • Method Detail

      • getModel

        public M getModel()
        Specified by:
        getModel in interface IDtEditorInput<M extends org.eclipse.emf.ecore.EObject>
        Returns:
        target model.
      • setModel

        public void setModel​(M model)
        Description copied from interface: IDtEditorInput
        Sets target model.
        Specified by:
        setModel in interface IDtEditorInput<M extends org.eclipse.emf.ecore.EObject>
        Parameters:
        model - model to set.
      • getFeature

        public org.eclipse.emf.ecore.EStructuralFeature getFeature()
        Specified by:
        getFeature in interface IDtEditorInput<M extends org.eclipse.emf.ecore.EObject>
        Returns:
        target feature.
      • setFeature

        public void setFeature​(org.eclipse.emf.ecore.EStructuralFeature feature)
        Description copied from interface: IDtEditorInput
        Sets target feature.
        Specified by:
        setFeature in interface IDtEditorInput<M extends org.eclipse.emf.ecore.EObject>
        Parameters:
        feature - feature to set.
      • setSelection

        public void setSelection​(ISelection selection)
        Description copied from interface: IDtEditorInput
        Sets target selection.
        Specified by:
        setSelection in interface IDtEditorInput<M extends org.eclipse.emf.ecore.EObject>
        Parameters:
        selection - selection to set.
      • toNavigatorSelection

        public IStructuredSelection toNavigatorSelection()
        Description copied from interface: IDtEditorInput
        Converts this editor input to Navigator selection.
        Specified by:
        toNavigatorSelection in interface IDtEditorInput<M extends org.eclipse.emf.ecore.EObject>
        Returns:
        obtained selection or null if no appropriate selection exists.
      • exists

        public boolean exists()
        Specified by:
        exists in interface org.eclipse.ui.IEditorInput
      • getImageDescriptor

        public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
        Specified by:
        getImageDescriptor in interface org.eclipse.ui.IEditorInput
      • getName

        public String getName()
        Specified by:
        getName in interface org.eclipse.ui.IEditorInput
      • getToolTipText

        public String getToolTipText()
        Specified by:
        getToolTipText in interface org.eclipse.ui.IEditorInput
      • getPersistable

        public org.eclipse.ui.IPersistableElement getPersistable()
        Specified by:
        getPersistable in interface org.eclipse.ui.IEditorInput
      • getAdapter

        public <T> T getAdapter​(Class<T> adapter)
        Specified by:
        getAdapter in interface org.eclipse.core.runtime.IAdaptable
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getActivationContextIds

        public Set<String> getActivationContextIds()
        Description copied from interface: IDtEditorInput
        Returns set of context indexes to be activated for an editor working with this editor input.
        Specified by:
        getActivationContextIds in interface IDtEditorInput<M extends org.eclipse.emf.ecore.EObject>
        Returns:
        set of context indexes or empty set, never null