Class PathXtextReadonlyEditorInput

  • All Implemented Interfaces:
    org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput, org.eclipse.ui.IPathEditorInput, org.eclipse.ui.IStorageEditorInput

    public class PathXtextReadonlyEditorInput
    extends org.eclipse.xtext.ui.editor.XtextReadonlyEditorInput
    implements org.eclipse.ui.IPathEditorInput
    The extension of XtextReadonlyEditorInput to get IPath from the IStorage to make Xtext editor work with base Eclipse input.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.eclipse.core.runtime.IPath getPath()  
      • Methods inherited from class org.eclipse.xtext.ui.editor.XtextReadonlyEditorInput

        equals, exists, getImageDescriptor, getName, getPersistable, getStorage, getToolTipText, hashCode
      • Methods inherited from class org.eclipse.core.runtime.PlatformObject

        getAdapter
      • Methods inherited from interface org.eclipse.core.runtime.IAdaptable

        getAdapter
      • Methods inherited from interface org.eclipse.ui.IEditorInput

        exists, getImageDescriptor, getName, getPersistable, getToolTipText
    • Constructor Detail

      • PathXtextReadonlyEditorInput

        public PathXtextReadonlyEditorInput​(org.eclipse.core.resources.IStorage storage)
    • Method Detail

      • getPath

        public org.eclipse.core.runtime.IPath getPath()
        Specified by:
        getPath in interface org.eclipse.ui.IPathEditorInput