public interface IAnnotationEditor
extends org.eclipse.ui.IEditorPart, org.eclipse.emf.edit.domain.IEditingDomainProvider
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
Modifier and Type | Method and Description |
---|---|
IMarkingEditorComponent |
createEditorForFile(java.lang.String theFilePath)
Creates an editor for the given file
|
Annotation |
createSelectedAnnotation()
Returns an Annotaiton object for currently selected text;
|
org.eclipse.emf.common.notify.AdapterFactory |
getAdapterFactory()
Returns the adapterfactory
|
org.eclipse.ui.IEditorSite |
getEditorSite() |
org.eclipse.emf.ecore.resource.Resource |
getModel() |
void |
handleSelectedAnnotation() |
void |
handleSelectedAnnotation(java.util.List<FileAnnotation> annotations) |
void |
selectAnnotation(FileAnnotation selection)
Select the annotation
|
addPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus
static final java.lang.String ID
Annotation createSelectedAnnotation()
org.eclipse.emf.common.notify.AdapterFactory getAdapterFactory()
org.eclipse.emf.ecore.resource.Resource getModel()
IMarkingEditorComponent createEditorForFile(java.lang.String theFilePath)
theFilePath
- org.eclipse.ui.IEditorSite getEditorSite()
getEditorSite
in interface org.eclipse.ui.IEditorPart
void selectAnnotation(FileAnnotation selection)
selection
- void handleSelectedAnnotation(java.util.List<FileAnnotation> annotations)
void handleSelectedAnnotation()