public abstract class AbstractMarkingEditorPart extends org.eclipse.ui.part.EditorPart implements IMarkingEditorComponent
Constructor and Description |
---|
AbstractMarkingEditorPart() |
Modifier and Type | Method and Description |
---|---|
void |
doSave(org.eclipse.core.runtime.IProgressMonitor monitor) |
void |
doSaveAs() |
IAnnotationEditor |
getAnnotationEditor()
Returns the instance of the annotation editor this editor is integrated in.
|
boolean |
isDirty() |
boolean |
isSaveAsAllowed() |
void |
setAnnotationEditor(IAnnotationEditor anEditor)
Sets the annotation editor
|
checkSite, getEditorInput, getEditorSite, getTitleToolTip, init, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInput, setInputWithNotify, setPartName
addPartPropertyListener, addPropertyListener, createPartControl, dispose, firePartPropertyChanged, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setFocus, setPartProperty, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMarkings, clearMarkings, createSelectedAnnotation, getPhrase, getSelectedAnnotations, getSelection, getTitle, getURI, removeMarkings, selectAnnotation, setURI
public void setAnnotationEditor(IAnnotationEditor anEditor)
IMarkingEditorComponent
setAnnotationEditor
in interface IMarkingEditorComponent
public IAnnotationEditor getAnnotationEditor()
IMarkingEditorComponent
getAnnotationEditor
in interface IMarkingEditorComponent
public void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
doSave
in interface org.eclipse.ui.ISaveablePart
doSave
in class org.eclipse.ui.part.EditorPart
public void doSaveAs()
doSaveAs
in interface org.eclipse.ui.ISaveablePart
doSaveAs
in class org.eclipse.ui.part.EditorPart
public boolean isDirty()
isDirty
in interface org.eclipse.ui.ISaveablePart
isDirty
in class org.eclipse.ui.part.EditorPart
public boolean isSaveAsAllowed()
isSaveAsAllowed
in interface org.eclipse.ui.ISaveablePart
isSaveAsAllowed
in class org.eclipse.ui.part.EditorPart