Class LocalFileEditorInput

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

    public class LocalFileEditorInput
    extends org.eclipse.core.runtime.PlatformObject
    implements org.eclipse.ui.IEditorInput, org.eclipse.ui.IURIEditorInput
    EditorInput for local file
    • Constructor Detail

      • LocalFileEditorInput

        public LocalFileEditorInput​(org.eclipse.core.resources.IStorage storage)
        Constructor for LocalFileEditorInput
        Parameters:
        storage - - file storage
    • Method Detail

      • 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
      • getPersistable

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

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

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

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

        public URI getURI()
        Specified by:
        getURI in interface org.eclipse.ui.IURIEditorInput