edu.uky.rch.ept.projectexplorer.editorinputs
Interface IProjectEditorInput

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, IDataLayerEditorInput, org.eclipse.ui.IEditorInput
All Known Implementing Classes:
ProjectEditorInput

public interface IProjectEditorInput
extends IDataLayerEditorInput

Interface for an editor input representing a resource belonging to a project. Provides access to both the project and, through the Project's data access methods, the resource.

Author:
Neil Moore

Method Summary
 Project getProject()
          Get the project to which this resource belongs.
 String getRelativeAddress()
          Get the project-relative address of the resource pointed to by this editor input.
 
Methods inherited from interface edu.uky.rch.ept.data.IDataLayerEditorInput
getAddress
 
Methods inherited from interface org.eclipse.ui.IEditorInput
exists, getImageDescriptor, getName, getPersistable, getToolTipText
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getProject

public Project getProject()
Get the project to which this resource belongs.

Returns:
the resource's project.

getRelativeAddress

public String getRelativeAddress()
Get the project-relative address of the resource pointed to by this editor input. I

Returns:
the resource's project-relative path, without a leading separator
See Also:
IDataConstants.SEP_MAJOR