public class XtextReadonlyEditorInput
extends org.eclipse.core.runtime.PlatformObject
implements org.eclipse.ui.IStorageEditorInput
Constructor and Description |
---|
XtextReadonlyEditorInput(org.eclipse.core.resources.IStorage storage) |
Modifier and Type | Method and Description |
---|---|
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() |
public XtextReadonlyEditorInput(org.eclipse.core.resources.IStorage storage)
public org.eclipse.core.resources.IStorage getStorage() throws org.eclipse.core.runtime.CoreException
getStorage
in interface org.eclipse.ui.IStorageEditorInput
org.eclipse.core.runtime.CoreException
public boolean exists()
exists
in interface org.eclipse.ui.IEditorInput
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
getImageDescriptor
in interface org.eclipse.ui.IEditorInput
public java.lang.String getName()
getName
in interface org.eclipse.ui.IEditorInput
public org.eclipse.ui.IPersistableElement getPersistable()
getPersistable
in interface org.eclipse.ui.IEditorInput
public java.lang.String getToolTipText()
getToolTipText
in interface org.eclipse.ui.IEditorInput
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object