Class EMFProfileDiagramEditor
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.modelversioning.emfprofile.diagram.part.EMFProfileDiagramEditor
- 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 class EMFProfileDiagramEditor
extends org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor
- Generated class or method.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette
org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette.CustomPalettePage
-
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
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
Before save hook.protected void
protected org.eclipse.gef.palette.PaletteRoot
createPaletteRoot
(org.eclipse.gef.palette.PaletteRoot existingPaletteRoot) void
doSave
(IProgressMonitor progressMonitor) Calls thebeforeSave()
hook.protected String
protected org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider
getDocumentProvider
(IEditorInput input) org.eclipse.emf.transaction.TransactionalEditingDomain
protected org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint
protected void
protected void
setDocumentProvider
(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, dispose, disposeDocumentProvider, doSaveAs, doSetInput, editorSaved, enableSanityChecking, enableStateValidation, firePropertyChange, getAdapter, getDefaultPaletteContent, getDiagram, getDiagramDocument, getDocumentProvider, getEditingDomainID, getEditorDescriptor, getProgressMonitor, handleEditorInputChanged, handleElementContentAboutToBeReplaced, handleElementContentReplaced, handleExceptionOnSave, handleSelectionChanged, init, isDirty, isEditable, isEditorInputModifiable, isEditorInputReadOnly, isSaveAsAllowed, isStatusLineOn, performSave, performSaveAs, rebuildStatusLine, releaseInput, removeStatusLineContributions, reuseDiagramOnMove, safelySanityCheckState, sanityCheckState, selectionChanged, setDocumentProvider, setInput, setSite, updateState, updateStatusLineMessageContribution, validateEditorInputState, validateState
Methods inherited from class org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette
applyCustomizationsToPalette, configurePaletteViewer, constructPaletteViewer, createActivityManagerListener, createPaletteCustomizer, 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, createActions, createDiagramEditDomain, createGraphicalViewer, createHistoryListener, createScrollingGraphicalViewer, createUndoContext, createUndoContextLabel, getActionManager, getDefaultOutlineViewMode, getDiagramEditDomain, getDiagramEditPart, getDiagramGraphicalViewer, getElements, getGraphicalControl, getKeyHandler, getOperationHistory, getOutlineContextMenuProvider, getOutlineViewEditPartFactory, 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
-
Field Details
-
ID
- See Also:
- Generated class or method.
-
CONTEXT_ID
- See Also:
- Generated class or method.
-
-
Constructor Details
-
EMFProfileDiagramEditor
public EMFProfileDiagramEditor()- Generated class or method.
-
-
Method Details
-
doSave
Calls thebeforeSave()
hook.- Specified by:
doSave
in interfaceISaveablePart
- Overrides:
doSave
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor
-
beforeSave
protected void beforeSave()Before save hook. -
getContextID
- Overrides:
getContextID
in classorg.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor
- Generated class or method.
-
createPaletteRoot
protected org.eclipse.gef.palette.PaletteRoot createPaletteRoot(org.eclipse.gef.palette.PaletteRoot existingPaletteRoot) - Overrides:
createPaletteRoot
in classorg.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditorWithFlyOutPalette
- Generated class or method.
-
getPreferencesHint
protected org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint getPreferencesHint()- Overrides:
getPreferencesHint
in classorg.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor
- Generated class or method.
-
getContributorId
- Specified by:
getContributorId
in interfaceITabbedPropertySheetPageContributor
- Overrides:
getContributorId
in classorg.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor
- Generated class or method.
-
getDocumentProvider
protected org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider getDocumentProvider(IEditorInput input) - Overrides:
getDocumentProvider
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor
- Generated class or method.
-
getEditingDomain
public org.eclipse.emf.transaction.TransactionalEditingDomain getEditingDomain()- Overrides:
getEditingDomain
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor
- Generated class or method.
-
setDocumentProvider
- Overrides:
setDocumentProvider
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor
- Generated class or method.
-
configureGraphicalViewer
protected void configureGraphicalViewer()- Overrides:
configureGraphicalViewer
in classorg.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor
- Generated class or method.
-
initializeGraphicalViewer
protected void initializeGraphicalViewer()- Overrides:
initializeGraphicalViewer
in classorg.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor
- Generated class or method.
-