de.cau.cs.kieler.krep.evalbench.application.editors
Class PathEditorInput
java.lang.Object
de.cau.cs.kieler.krep.evalbench.application.editors.PathEditorInput
- All Implemented Interfaces:
- IAdaptable, IEditorInput, IPathEditorInput
public class PathEditorInput
- extends Object
- implements IPathEditorInput
EditorInput that stores a path.
Copied from org.eclipse.ui.examples.rcp.texteditor.editors.PathEditorInput
- Rating

Constructor Summary |
PathEditorInput(IPath path)
Creates an editor input based of the given file resource. |
PathEditorInput
public PathEditorInput(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 IEditorInput
getImageDescriptor
public ImageDescriptor getImageDescriptor()
- Specified by:
getImageDescriptor
in interface IEditorInput
getName
public String getName()
- Specified by:
getName
in interface IEditorInput
getToolTipText
public String getToolTipText()
- Specified by:
getToolTipText
in interface IEditorInput
getPath
public IPath getPath()
- Specified by:
getPath
in interface IPathEditorInput
getAdapter
public Object getAdapter(Class adapter)
- Specified by:
getAdapter
in interface IAdaptable
getPersistable
public IPersistableElement getPersistable()
- Specified by:
getPersistable
in interface IEditorInput