org.eclipse.gmt.umlx.editor
Class AbstractDiagramEditor

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.ui.part.WorkbenchPart
          extended by org.eclipse.ui.part.EditorPart
              extended by org.eclipse.gmt.umlx.editor.AbstractEditor
                  extended by org.eclipse.gmt.umlx.editor.AbstractDiagramEditor
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.gef.commands.CommandStackListener, ISheetEditor, org.eclipse.ui.ide.IGotoMarker, org.eclipse.ui.IEditorPart, org.eclipse.ui.ISaveablePart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.part.IWorkbenchPartOrientation
Direct Known Subclasses:
MmDiagramEditor, TxDiagramEditor

public abstract class AbstractDiagramEditor
extends AbstractEditor


Field Summary
 
Fields inherited from interface org.eclipse.ui.IEditorPart
PROP_DIRTY, PROP_INPUT
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Method Summary
 org.eclipse.ui.views.contentoutline.IContentOutlinePage createContentOutlinePage()
           
 org.eclipse.ui.views.properties.IPropertySheetPage createPropertySheetPage()
           
 java.lang.Object getAdapter(java.lang.Class adapter)
          Returns the adapter for the specified key.
 ActiveEditDomain getEditDomain()
          Returns the edit domain.
 org.eclipse.jface.action.IStatusLineManager getStatusLineManager()
           
 
Methods inherited from class org.eclipse.gmt.umlx.editor.AbstractEditor
commandStackChanged, createPartControl, dispose, doSave, doSaveAs, getCommandStack, getPalettePage, getPaletteRoot, getPaletteViewer, getRegimeContextClass, getResourceSet, getSelectionSupervisor, getSheet, getSheetViewer, gotoMarker, init, isDirty, isSaveAsAllowed, setFocus, showStandardViews
 
Methods inherited from class org.eclipse.ui.part.EditorPart
getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setInitializationData
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPropertyListener, getContentDescription, getOrientation, getPartName, getSite, getTitle, getTitleImage, removePropertyListener, 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
 

Method Detail

createContentOutlinePage

public org.eclipse.ui.views.contentoutline.IContentOutlinePage createContentOutlinePage()

createPropertySheetPage

public org.eclipse.ui.views.properties.IPropertySheetPage createPropertySheetPage()

getAdapter

public java.lang.Object getAdapter(java.lang.Class adapter)
Returns the adapter for the specified key.

IMPORTANT certain requests, such as the property sheet, may be made before or after AbstractEditor.createPartControl(Composite) is called. The order is unspecified by the Workbench.

Specified by:
getAdapter in interface org.eclipse.core.runtime.IAdaptable
Overrides:
getAdapter in class AbstractEditor
See Also:
IAdaptable.getAdapter(java.lang.Class)

getEditDomain

public ActiveEditDomain getEditDomain()
Returns the edit domain.

Specified by:
getEditDomain in interface ISheetEditor
Specified by:
getEditDomain in class AbstractEditor
Returns:
the edit domain

getStatusLineManager

public org.eclipse.jface.action.IStatusLineManager getStatusLineManager()
Specified by:
getStatusLineManager in class AbstractEditor