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
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     

    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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected void
    Before save hook.
    protected void
     
    protected org.eclipse.gef.palette.PaletteRoot
    createPaletteRoot(org.eclipse.gef.palette.PaletteRoot existingPaletteRoot)
     
    void
    doSave(IProgressMonitor progressMonitor)
    Calls the beforeSave() hook.
    protected String
     
     
    protected org.eclipse.gmf.runtime.diagram.ui.resources.editor.document.IDocumentProvider
     
    org.eclipse.emf.transaction.TransactionalEditingDomain
     
    protected org.eclipse.gmf.runtime.diagram.core.preferences.PreferencesHint
     
    protected void
     
    protected void
     

    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.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
  • Field Details

  • Constructor Details

    • EMFProfileDiagramEditor

      public EMFProfileDiagramEditor()
      Generated class or method.
  • Method Details

    • doSave

      public void doSave(IProgressMonitor progressMonitor)
      Calls the beforeSave() hook.
      Specified by:
      doSave in interface ISaveablePart
      Overrides:
      doSave in class org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor
    • beforeSave

      protected void beforeSave()
      Before save hook.
    • getContextID

      protected String getContextID()
      Overrides:
      getContextID in class org.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 class org.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 class org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor
      Generated class or method.
    • getContributorId

      public String getContributorId()
      Specified by:
      getContributorId in interface ITabbedPropertySheetPageContributor
      Overrides:
      getContributorId in class org.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 class org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor
      Generated class or method.
    • getEditingDomain

      public org.eclipse.emf.transaction.TransactionalEditingDomain getEditingDomain()
      Overrides:
      getEditingDomain in class org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor
      Generated class or method.
    • setDocumentProvider

      protected void setDocumentProvider(IEditorInput input)
      Overrides:
      setDocumentProvider in class org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor
      Generated class or method.
    • configureGraphicalViewer

      protected void configureGraphicalViewer()
      Overrides:
      configureGraphicalViewer in class org.eclipse.gmf.runtime.diagram.ui.parts.DiagramEditor
      Generated class or method.
    • initializeGraphicalViewer

      protected void initializeGraphicalViewer()
      Overrides:
      initializeGraphicalViewer in class org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts.DiagramDocumentEditor
      Generated class or method.