Class DirtyStateAwareDiagramDocumentEditor
- java.lang.Object
-
- org.eclipse.core.commands.common.EventManager
-
- org.eclipse.ui.part.WorkbenchPart
-
- org.eclipse.ui.part.EditorPart
-
- org.eclipse.gef.ui.parts.GraphicalEditor
-
- org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor
-
- org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette
-
- org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor
-
- org.yakindu.base.xtext.utils.gmf.experimental.DirtyStateAwareDiagramDocumentEditor
-
- All Implemented Interfaces:
EventListener
,IAdaptable
,IExecutableExtension
,org.eclipse.gef.commands.CommandStackListener
,org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart
,org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentEditor
,IEditorPart
,IReusableEditor
,ISaveablePart
,ISelectionListener
,IWorkbenchPart
,IWorkbenchPart2
,IWorkbenchPart3
,IShowInSource
,IWorkbenchPartOrientation
,ITabbedPropertySheetPageContributor
public abstract class DirtyStateAwareDiagramDocumentEditor extends org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor
-
-
Field Summary
-
Fields inherited from class org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor
fErrorLabel, statusLineContributions, statusLineLabelProvider
-
Fields inherited from class org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette
COLLAPSED, UNCOLLAPSED_PINNED
-
Fields inherited from class org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor
DIAGRAM_CONTEXT_ID, ID_OUTLINE, ID_OVERVIEW, workspaceViewerPreferenceStore
-
Fields inherited from interface org.eclipse.ui.IEditorPart
PROP_DIRTY, PROP_INPUT
-
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
-
-
Constructor Summary
Constructors Constructor Description DirtyStateAwareDiagramDocumentEditor(boolean hasFlyoutPalette)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
void
init(IEditorSite site, IEditorInput input)
-
Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor
addStatusLineContributions, askUserReload, askUserSaveClose, askUserSaveOverwrite, close, configureDiagramEditDomain, createActionManager, createEditingDomain, createOperationHistory, createPartControl, disposeDocumentProvider, doSave, doSaveAs, doSetInput, editorSaved, enableSanityChecking, enableStateValidation, firePropertyChange, getAdapter, getDefaultPaletteContent, getDiagram, getDiagramDocument, getDocumentProvider, getDocumentProvider, getEditingDomain, getEditingDomainID, getEditorDescriptor, getProgressMonitor, handleEditorInputChanged, handleElementContentAboutToBeReplaced, handleElementContentReplaced, handleExceptionOnSave, handleSelectionChanged, initializeGraphicalViewer, isDirty, isEditable, isEditorInputModifiable, isEditorInputReadOnly, isSaveAsAllowed, isStatusLineOn, performSave, performSaveAs, rebuildStatusLine, releaseInput, removeStatusLineContributions, reuseDiagramOnMove, safelySanityCheckState, sanityCheckState, selectionChanged, setDocumentProvider, setDocumentProvider, setInput, setSite, updateState, updateStatusLineMessageContribution, validateEditorInputState, validateState
-
Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette
applyCustomizationsToPalette, configurePaletteViewer, constructPaletteViewer, createActivityManagerListener, createPaletteCustomizer, createPaletteRoot, createPaletteViewerProvider, getInitialDockLocation, getInitialPaletteSize, getInitialPaletteState, getPaletteViewerProvider, getPreferenceStore, handlePaletteDefaultStateChanged, handlePaletteResized, setEditDomain, setFocus, startListening, stopListening, toolSupportsAccessibility
-
Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor
addDefaultPreferences, addDefaultPreferences, clearGraphicalViewerContents, closeEditor, configureGraphicalViewer, createActions, createDiagramEditDomain, createGraphicalViewer, createHistoryListener, createScrollingGraphicalViewer, createUndoContext, createUndoContextLabel, getActionManager, getContextID, getContributorId, getDefaultOutlineViewMode, getDiagramEditDomain, getDiagramEditPart, getDiagramGraphicalViewer, getElements, getGraphicalControl, getKeyHandler, getOperationHistory, getOutlineContextMenuProvider, getOutlineViewEditPartFactory, getPreferencesHint, getRulerComposite, getShowInContext, getSite, getUndoContext, getWorkspaceViewerPreferenceStore, getZoomManager, initializeGraphicalViewerContents, isWritable, persistViewerSettings, setRulerComposite, setUndoContext, shouldAddUndoContext
-
Methods inherited from class org.eclipse.gef.ui.parts.GraphicalEditor
commandStackChanged, getActionRegistry, getCommandStack, getEditDomain, getGraphicalViewer, getPropertyActions, getSelectionActions, getSelectionSynchronizer, getStackActions, hookGraphicalViewer, initializeActionRegistry, setActionRegistry, setGraphicalViewer, updateActions
-
Methods inherited from class org.eclipse.ui.part.EditorPart
checkSite, getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setContentDescription, setInitializationData, setInputWithNotify, setPartName
-
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPartPropertyListener, addPropertyListener, firePartPropertyChanged, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getPartProperties, getPartProperty, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, setTitle, setTitleImage, setTitleToolTip, showBusy
-
Methods inherited from class org.eclipse.core.commands.common.EventManager
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.ui.IEditorPart
getEditorInput, getEditorSite
-
Methods inherited from interface org.eclipse.ui.ISaveablePart
isSaveOnCloseNeeded
-
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus
-
-
-
-
Method Detail
-
init
public void init(IEditorSite site, IEditorInput input) throws PartInitException
- Specified by:
init
in interfaceIEditorPart
- Overrides:
init
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor
- Throws:
PartInitException
-
dispose
public void dispose()
- Specified by:
dispose
in interfaceIWorkbenchPart
- Overrides:
dispose
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor
-
-