org.eclipse.xtext.ui.editor
Class XtextReadonlyEditorInput

java.lang.Object
  extended by org.eclipse.core.runtime.PlatformObject
      extended by org.eclipse.xtext.ui.editor.XtextReadonlyEditorInput
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput, org.eclipse.ui.IStorageEditorInput

public class XtextReadonlyEditorInput
extends org.eclipse.core.runtime.PlatformObject
implements org.eclipse.ui.IStorageEditorInput

Author:
Sebastian Zarnekow - Initial contribution and API

Constructor Summary
XtextReadonlyEditorInput(org.eclipse.core.resources.IStorage storage)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 boolean exists()
           
 org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
           
 java.lang.String getName()
           
 org.eclipse.ui.IPersistableElement getPersistable()
           
 org.eclipse.core.resources.IStorage getStorage()
           
 java.lang.String getToolTipText()
           
 int hashCode()
           
 
Methods inherited from class org.eclipse.core.runtime.PlatformObject
getAdapter
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Constructor Detail

XtextReadonlyEditorInput

public XtextReadonlyEditorInput(org.eclipse.core.resources.IStorage storage)
Method Detail

getStorage

public org.eclipse.core.resources.IStorage getStorage()
                                               throws org.eclipse.core.runtime.CoreException
Specified by:
getStorage in interface org.eclipse.ui.IStorageEditorInput
Throws:
org.eclipse.core.runtime.CoreException

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 java.lang.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 java.lang.String getToolTipText()
Specified by:
getToolTipText in interface org.eclipse.ui.IEditorInput

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object