org.eparapher.rcp.editors
Class FileEditorInput
java.lang.Object
org.eparapher.rcp.editors.FileEditorInput
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IEditorInput, org.eclipse.ui.IPathEditorInput
public class FileEditorInput
- extends Object
- implements org.eclipse.ui.IPathEditorInput
|
Constructor Summary |
FileEditorInput(org.eclipse.core.runtime.IPath path)
Creates an editor input based of the given file resource. |
FileEditorInput
public FileEditorInput(org.eclipse.core.runtime.IPath path)
- Creates an editor input based of the given file resource.
- Parameters:
path - the file
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
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 String getName()
- Specified by:
getName in interface org.eclipse.ui.IEditorInput
getToolTipText
public String getToolTipText()
- Specified by:
getToolTipText in interface org.eclipse.ui.IEditorInput
getPath
public org.eclipse.core.runtime.IPath getPath()
- Specified by:
getPath in interface org.eclipse.ui.IPathEditorInput
getPersistable
public org.eclipse.ui.IPersistableElement getPersistable()
- Specified by:
getPersistable in interface org.eclipse.ui.IEditorInput
getAdapter
public Object getAdapter(Class adapter)
- Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable
Copyright © 2009 eParapher Software Foundation. All Rights Reserved.