com.aptana.ide.core
Class BaseFileEditorInput
java.lang.Object
com.aptana.ide.core.BaseFileEditorInput
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.editors.text.ILocationProvider, org.eclipse.ui.IEditorInput, org.eclipse.ui.IPathEditorInput, org.eclipse.ui.IStorageEditorInput
public class BaseFileEditorInput
- extends java.lang.Object
- implements org.eclipse.ui.IPathEditorInput, org.eclipse.ui.IStorageEditorInput, org.eclipse.ui.editors.text.ILocationProvider
Previous org.eclipse.ui.internal.editors.text.JavaFileEditorInput, removed in 3.3
- Since:
- 3.0
|
Constructor Summary |
BaseFileEditorInput(org.eclipse.core.filesystem.IFileStore fileStore)
Creates a new input |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
BaseFileEditorInput
public BaseFileEditorInput(org.eclipse.core.filesystem.IFileStore fileStore)
- Creates a new input
- Parameters:
fileStore -
exists
public boolean exists()
- Specified by:
exists in interface org.eclipse.ui.IEditorInput
- See Also:
IEditorInput.exists()
getImageDescriptor
public org.eclipse.jface.resource.ImageDescriptor getImageDescriptor()
- Specified by:
getImageDescriptor in interface org.eclipse.ui.IEditorInput
- See Also:
IEditorInput.getImageDescriptor()
getName
public java.lang.String getName()
- Specified by:
getName in interface org.eclipse.ui.IEditorInput
- See Also:
IEditorInput.getName()
getPersistable
public org.eclipse.ui.IPersistableElement getPersistable()
- Specified by:
getPersistable in interface org.eclipse.ui.IEditorInput
- See Also:
IEditorInput.getPersistable()
getToolTipText
public java.lang.String getToolTipText()
- Specified by:
getToolTipText in interface org.eclipse.ui.IEditorInput
- See Also:
IEditorInput.getToolTipText()
getAdapter
public java.lang.Object getAdapter(java.lang.Class adapter)
- Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable
- See Also:
IAdaptable.getAdapter(java.lang.Class)
getPath
public org.eclipse.core.runtime.IPath getPath(java.lang.Object element)
- Specified by:
getPath in interface org.eclipse.ui.editors.text.ILocationProvider
- See Also:
ILocationProvider.getPath(java.lang.Object)
getPath
public org.eclipse.core.runtime.IPath getPath()
- Specified by:
getPath in interface org.eclipse.ui.IPathEditorInput
- Since:
- 3.1
- See Also:
IPathEditorInput.getPath()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
- See Also:
Object.equals(java.lang.Object)
hashCode
public int hashCode()
- Overrides:
hashCode in class java.lang.Object
- See Also:
Object.hashCode()
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- Since:
- 3.2
- See Also:
IStorageEditorInput.getStorage()