public interface IMarkingEditorComponent
extends org.eclipse.ui.IEditorPart
Modifier and Type | Method and Description |
---|---|
void |
addMarkings(FileAnnotation anAnnotation)
Command to add the markings
|
void |
clearMarkings()
Clear all markings in editor
|
FileAnnotation |
createSelectedAnnotation()
Returns a new file annotation object for selection
|
IAnnotationEditor |
getAnnotationEditor()
Returns the instance of the annotation editor this editor is integrated in.
|
java.lang.String |
getPhrase(org.eclipse.swt.graphics.Point r)
Returns the phrase for the point
|
java.util.List<FileAnnotation> |
getSelectedAnnotations()
Returns a given file annotation object for selection
|
org.eclipse.swt.graphics.Point |
getSelection()
Retuns selected point
|
java.lang.String |
getTitle()
Returns the title of the editor
|
java.lang.String |
getURI()
Returns the uri the editor is visualizing
|
void |
removeMarkings(FileAnnotation anAnnotation)
Command to remove the markings
|
void |
selectAnnotation(FileAnnotation selection)
Select the given annotation.
|
void |
setAnnotationEditor(IAnnotationEditor anEditor)
Sets the annotation editor
|
void |
setURI(java.lang.String uriString)
Sets the uri for the file the editor is visualizing
|
void setAnnotationEditor(IAnnotationEditor anEditor)
editor
- IAnnotationEditor getAnnotationEditor()
org.eclipse.swt.graphics.Point getSelection()
FileAnnotation createSelectedAnnotation()
java.util.List<FileAnnotation> getSelectedAnnotations()
java.lang.String getPhrase(org.eclipse.swt.graphics.Point r)
r
- java.lang.String getURI()
void clearMarkings()
void addMarkings(FileAnnotation anAnnotation)
void removeMarkings(FileAnnotation anAnnotation)
void setURI(java.lang.String uriString)
uriString
- java.lang.String getTitle()
getTitle
in interface org.eclipse.ui.IWorkbenchPart
void selectAnnotation(FileAnnotation selection)
selection
- Selected file annotation; null if nothing should be selected.