uk.ac.kcl.cch.jb.pliny
Interface IResourceDrivenPart

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.ui.IWorkbenchPart
All Known Implementing Classes:
AnnotationView, BrowserEditor, ImageEditor, NoteEditor, PDFEditor

public interface IResourceDrivenPart
extends org.eclipse.ui.IWorkbenchPart

This interface should be implements by Eclipse Workbench Parts that work with input as a Pliny Resource.

Author:
John Bradley

Field Summary
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Method Summary
 Resource getMyResource()
          returns the Resource that this part is currently using as its input.
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getMyResource

public Resource getMyResource()
returns the Resource that this part is currently using as its input.

Returns:
Resource