org.ocopomo.annotation.extension.editor
Class AnnotationEditorExtension
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.eclipse.ui.part.MultiPageEditorPart
org.ocopomo.emf.edit.ModelMultiPageEditorPart
org.ocopomo.annotation.extension.editor.AnnotationEditorExtension
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.emf.common.ui.viewer.IViewerProvider, org.eclipse.emf.edit.domain.IEditingDomainProvider, org.eclipse.jface.action.IMenuListener, org.eclipse.jface.dialogs.IPageChangeProvider, org.eclipse.jface.viewers.ISelectionProvider, org.eclipse.ui.ide.IGotoMarker, org.eclipse.ui.IEditorPart, org.eclipse.ui.ISaveablePart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation, org.ocopomo.annotation.presentation.IAnnotationEditor
public class AnnotationEditorExtension
- extends org.ocopomo.emf.edit.ModelMultiPageEditorPart
- implements org.ocopomo.annotation.presentation.IAnnotationEditor
Nested classes/interfaces inherited from class org.ocopomo.emf.edit.ModelMultiPageEditorPart |
org.ocopomo.emf.edit.ModelMultiPageEditorPart.ReverseAdapterFactoryContentProvider |
Fields inherited from interface org.ocopomo.annotation.presentation.IAnnotationEditor |
ID |
Fields inherited from interface org.eclipse.ui.IEditorPart |
PROP_DIRTY, PROP_INPUT |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
PROP_TITLE |
Methods inherited from class org.ocopomo.emf.edit.ModelMultiPageEditorPart |
addSelectionChangedListener, analyzeResourceProblems, dispose, doSaveAs, getActionBarContributor, getActionBars, getAdapter, getAdapterFactory, getContentOutlinePage, getEditingDomain, getPropertySheetPage, getSelection, getUndoContext, getViewer, gotoMarker, handleContentOutlineSelection, init, isSaveAsAllowed, menuAboutToShow, removeSelectionChangedListener, setCurrentViewer, setCurrentViewerPane, setSelection, setSelectionToViewer, setStatusLineManager |
Methods inherited from class org.eclipse.ui.part.MultiPageEditorPart |
addPage, addPage, addPage, addPage, addPageChangedListener, createPartControl, findEditors, getActivePage, getSelectedPage, removePage, removePageChangedListener, setActiveEditor, setFocus |
Methods inherited from class org.eclipse.ui.part.EditorPart |
getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setInitializationData |
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPartPropertyListener, addPropertyListener, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.ocopomo.annotation.presentation.IAnnotationEditor |
getAdapterFactory, getEditorSite |
Methods inherited from interface org.eclipse.ui.IEditorPart |
getEditorInput, init |
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 |
Methods inherited from interface org.eclipse.ui.ISaveablePart |
doSaveAs, isSaveAsAllowed, isSaveOnCloseNeeded |
Methods inherited from interface org.eclipse.emf.edit.domain.IEditingDomainProvider |
getEditingDomain |
AnnotationEditorExtension
public AnnotationEditorExtension()
createModel
public void createModel()
- Overrides:
createModel
in class org.ocopomo.emf.edit.ModelMultiPageEditorPart
doSave
public void doSave(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
- Specified by:
doSave
in interface org.eclipse.ui.ISaveablePart
- Overrides:
doSave
in class org.ocopomo.emf.edit.ModelMultiPageEditorPart
isDirty
public boolean isDirty()
- Specified by:
isDirty
in interface org.eclipse.ui.ISaveablePart
- Overrides:
isDirty
in class org.ocopomo.emf.edit.ModelMultiPageEditorPart
isDirtyPage
public boolean isDirtyPage()
createPages
public void createPages()
- Overrides:
createPages
in class org.ocopomo.emf.edit.ModelMultiPageEditorPart
createSelectedAnnotation
public org.ocopomo.annotation.model.Annotation createSelectedAnnotation()
- Specified by:
createSelectedAnnotation
in interface org.ocopomo.annotation.presentation.IAnnotationEditor
createEditorForFile
public org.ocopomo.annotation.presentation.IMarkingEditorComponent createEditorForFile(java.lang.String uriString)
- Specified by:
createEditorForFile
in interface org.ocopomo.annotation.presentation.IAnnotationEditor
selectAnnotation
public void selectAnnotation(org.ocopomo.annotation.model.FileAnnotation selection)
- Specified by:
selectAnnotation
in interface org.ocopomo.annotation.presentation.IAnnotationEditor
handleSelectedAnnotation
public void handleSelectedAnnotation(java.util.List<org.ocopomo.annotation.model.FileAnnotation> annotations)
- Specified by:
handleSelectedAnnotation
in interface org.ocopomo.annotation.presentation.IAnnotationEditor
handleSelectedAnnotation
public void handleSelectedAnnotation()
- Specified by:
handleSelectedAnnotation
in interface org.ocopomo.annotation.presentation.IAnnotationEditor
log
public void log(java.lang.Object logEntry)
- Specified by:
log
in class org.ocopomo.emf.edit.ModelMultiPageEditorPart
getModel
public org.eclipse.emf.ecore.resource.Resource getModel()
- Specified by:
getModel
in interface org.ocopomo.annotation.presentation.IAnnotationEditor