java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.EditorPart
org.eclipse.ui.part.MultiPageEditorPart
org.eclipse.gmt.umlx.eqvtr.editor.editors.MultiPageTextEditor
org.eclipse.gmt.umlx.eqvtr.editor.editors.QVTrEditor
public class QVTrEditor
Field Summary |
---|
Fields inherited from interface org.eclipse.ui.IEditorPart |
---|
PROP_DIRTY, PROP_INPUT |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
PROP_TITLE |
Constructor Summary | |
---|---|
QVTrEditor()
Creates a multi-page editor example. |
Method Summary | |
---|---|
void |
doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
Saves the multi-page editor's document. |
void |
doSaveAs()
Saves the multi-page editor's document as another file. |
void |
gotoMarker(org.eclipse.core.resources.IMarker marker)
|
void |
init(org.eclipse.ui.IEditorSite site,
org.eclipse.ui.IEditorInput editorInput)
The MultiPageEditorExample implementation of this method
checks that the input is an instance of IFileEditorInput . |
Methods inherited from class org.eclipse.gmt.umlx.eqvtr.editor.editors.MultiPageTextEditor |
---|
dispose, isSaveAsAllowed, resourceChanged |
Methods inherited from class org.eclipse.ui.part.MultiPageEditorPart |
---|
addPage, addPage, addPage, addPage, createPartControl, findEditors, getAdapter, isDirty, removePage, 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.eclipse.ui.IWorkbenchPart |
---|
addPropertyListener, getSite, getTitle, getTitleImage, removePropertyListener |
Constructor Detail |
---|
public QVTrEditor()
Method Detail |
---|
public void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
MultiPageTextEditor
doSave
in interface org.eclipse.ui.ISaveablePart
doSave
in class MultiPageTextEditor
public void doSaveAs()
doSaveAs
in interface org.eclipse.ui.ISaveablePart
doSaveAs
in class org.eclipse.ui.part.EditorPart
public void gotoMarker(org.eclipse.core.resources.IMarker marker)
public void init(org.eclipse.ui.IEditorSite site, org.eclipse.ui.IEditorInput editorInput) throws org.eclipse.ui.PartInitException
MultiPageEditorExample
implementation of this method
checks that the input is an instance of IFileEditorInput
.
init
in interface org.eclipse.ui.IEditorPart
init
in class org.eclipse.ui.part.MultiPageEditorPart
org.eclipse.ui.PartInitException