Runtime

## Uses of Interface
org.eclipse.gmf.runtime.notation.Diagram

Packages that use Diagram
org.eclipse.gmf.runtime.diagram.core.providers
org.eclipse.gmf.runtime.diagram.core.services
org.eclipse.gmf.runtime.diagram.core.util: Aurora internal packages Package Specification This package contains utility classes used by this plugin.
org.eclipse.gmf.runtime.diagram.core.view.factories: Aurora internal packages Package Specification ToDo: Fill in specific content
org.eclipse.gmf.runtime.diagram.ui: Aurora internal packages Package Specification This package contains the necessary plugin classes: DebugOptions Plugin StatusCodes
org.eclipse.gmf.runtime.diagram.ui.editparts: Aurora internal packages Package Specification This package contains the edit part classes.
org.eclipse.gmf.runtime.diagram.ui.parts: Aurora internal packages Package Specification this package sontains the editors and the editing domain
org.eclipse.gmf.runtime.diagram.ui.properties.sections: Aurora internal packages.
org.eclipse.gmf.runtime.diagram.ui.render.util: Package Specification ToDo: Fill in specific content
org.eclipse.gmf.runtime.diagram.ui.resources.editor.document
org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document
org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts
org.eclipse.gmf.runtime.diagram.ui.services.editpart: Aurora internal packages Package Specification This package contains the edit part classes.
org.eclipse.gmf.runtime.diagram.ui.util: Aurora internal packages Package Specification This package contains utility classes used by this plugin.
org.eclipse.gmf.runtime.diagram.ui.view.factories: Aurora internal packages Package Specification This package contains the Notation meta model View Factories.
org.eclipse.gmf.runtime.notation: Notation meta-model primary package.
org.eclipse.gmf.runtime.notation.impl: Aurora internal packages Package Specification ToDo: Fill in specific content

Uses of Diagram in org.eclipse.gmf.runtime.diagram.core.providers

Methods in org.eclipse.gmf.runtime.diagram.core.providers that return Diagram
`Diagram` `AbstractViewProvider.createDiagram(IAdaptable contextElement, java.lang.String diagramKind, PreferencesHint preferencesHint)`
`Diagram` `IViewProvider.createDiagram(IAdaptable semanticAdapter, java.lang.String diagramKind, PreferencesHint preferencesHint)` create an `Diagram` element.

Uses of Diagram in org.eclipse.gmf.runtime.diagram.core.services

Methods in org.eclipse.gmf.runtime.diagram.core.services that return Diagram
`Diagram` `ViewService.createDiagram(IAdaptable semanticAdapter, java.lang.String diagramKindType, PreferencesHint preferencesHint)`
`static Diagram` `ViewService.createDiagram(EObject context, java.lang.String kind, PreferencesHint preferencesHint)` Creates a diagram with the given context and kind
`static Diagram` `ViewService.createDiagram(java.lang.String kind, PreferencesHint preferencesHint)` Creates a diagram with a kind

Uses of Diagram in org.eclipse.gmf.runtime.diagram.core.util

Methods in org.eclipse.gmf.runtime.diagram.core.util that return Diagram
`protected Diagram` `ViewRefactorHelper.refactorDiagram(Diagram oldDiagram, EObject newElement)` Refactors an old diagram to a new one with the given new element
`protected Diagram` `ViewRefactorHelper.createDiagram(Diagram oldDiagram, EObject newElement)` A utility to create a new diagram for the given new element that would replace the given old diagram.

Methods in org.eclipse.gmf.runtime.diagram.core.util with parameters of type Diagram
`protected Diagram` `ViewRefactorHelper.refactorDiagram(Diagram oldDiagram, EObject newElement)` Refactors an old diagram to a new one with the given new element
`protected void` `ViewRefactorHelper.refactorDiagramLinks(Diagram oldDiagram, Diagram newDiagram)`
`protected void` `ViewRefactorHelper.copyDiagramFeatures(Diagram oldDiagram, Diagram newDiagram)` Copies the notational features of the old diagram to the new diagram
`protected Diagram` `ViewRefactorHelper.createDiagram(Diagram oldDiagram, EObject newElement)` A utility to create a new diagram for the given new element that would replace the given old diagram.

Uses of Diagram in org.eclipse.gmf.runtime.diagram.core.view.factories

Methods in org.eclipse.gmf.runtime.diagram.core.view.factories that return Diagram
`Diagram` `DiagramFactory.createDiagram(IAdaptable semanticAdapter, java.lang.String diagramKind, PreferencesHint preferencesHint)`

Uses of Diagram in org.eclipse.gmf.runtime.diagram.ui

Methods in org.eclipse.gmf.runtime.diagram.ui with parameters of type Diagram
`static void` `DiagramUtil.openDiagramEditor(Diagram diagram)` Opens an editor for a given diagram
`static IDiagramWorkbenchPart` `DiagramUtil.getOpenedDiagramEditor(Diagram diagram, IWorkbenchWindow window)` Rerturns an open editor for the given diagram in the given workbench window if the window is null, the active window in the platform is considered
`DiagramEditPart` `OffscreenEditPartFactory.createDiagramEditPart(Diagram diagram)` Creates a `DiagramEditPart` given the `Diagram` without opening an editor.
`DiagramEditPart` `OffscreenEditPartFactory.createDiagramEditPart(Diagram diagram, Shell shell, PreferencesHint preferencesHint)` Creates a `DiagramEditPart` given the `Diagram` without opening an editor.

Uses of Diagram in org.eclipse.gmf.runtime.diagram.ui.editparts

Methods in org.eclipse.gmf.runtime.diagram.ui.editparts that return Diagram
`protected Diagram` `ConnectionEditPart.getDiagramView()` Convenience method returning the editpart's Diagram, the Diagam that owns the edit part
`Diagram` `DiagramEditPart.getDiagramView()`
`protected Diagram` `GraphicalEditPart.getDiagramView()` Convenience method returning the editpart's parimary view.

Uses of Diagram in org.eclipse.gmf.runtime.diagram.ui.parts

Methods in org.eclipse.gmf.runtime.diagram.ui.parts that return Diagram
`Diagram` `DiagramEditor.getDiagram()`
`Diagram` `DiagramEditorInput.getDiagram()`
`Diagram` `IDiagramWorkbenchPart.getDiagram()` Method getDiagram.
`Diagram` `IDiagramEditorInput.getDiagram()` Method getDiagram.

Methods in org.eclipse.gmf.runtime.diagram.ui.parts with parameters of type Diagram
`protected void` `DiagramEditorInput.setDiagram(Diagram diagram)` Sets the diagram.

Constructors in org.eclipse.gmf.runtime.diagram.ui.parts with parameters of type Diagram
`DiagramEditorInput(Diagram diagram)` Method DiagramEditorInput.

Uses of Diagram in org.eclipse.gmf.runtime.diagram.ui.properties.sections

Methods in org.eclipse.gmf.runtime.diagram.ui.properties.sections with parameters of type Diagram
`protected java.lang.String` `DiagramGeneralSection.getDiagramType(Diagram diagram)` Gets the string to be displayed in the diagram type field.

Uses of Diagram in org.eclipse.gmf.runtime.diagram.ui.render.util

Methods in org.eclipse.gmf.runtime.diagram.ui.render.util with parameters of type Diagram
`DiagramEditPart` `CopyToImageUtil.createDiagramEditPart(Diagram diagram, Shell shell, PreferencesHint preferencesHint)` Creates a `DiagramEditPart` given the `Diagram` without opening an editor.
`java.util.List` `CopyToImageUtil.copyToImage(Diagram diagram, IPath destination, ImageFileFormat format, IProgressMonitor monitor, PreferencesHint preferencesHint)` Copies the diagram to an image file in the specified format.
`static java.awt.Image` `DiagramRenderUtil.renderToAWTImage(Diagram diagram)` Utility api to generate an AWT based image representation of the diagram contents.
`static Image` `DiagramRenderUtil.renderToSWTImage(Diagram diagram)` Utility api to generate an SWT based image representation of the diagram contents.

Uses of Diagram in org.eclipse.gmf.runtime.diagram.ui.resources.editor.document

Methods in org.eclipse.gmf.runtime.diagram.ui.resources.editor.document that return Diagram
`Diagram` `DiagramDocument.getDiagram()`
`Diagram` `DiagramDocument.detachDiagram()`
`Diagram` `IDiagramDocument.getDiagram()` Returns the diagram for this diagram document
`Diagram` `IDiagramDocument.detachDiagram()` Detaches the attached `Diagram` from this document.

Uses of Diagram in org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document

Methods in org.eclipse.gmf.runtime.diagram.ui.resources.editor.ide.document with parameters of type Diagram
`protected void` `FileDiagramDocumentProvider.doSave(org.eclipse.emf.transaction.TransactionalEditingDomain domain, IFile file, Diagram diagram, java.util.Map options, IProgressMonitor monitor)` Handles the saving of the diagram to a file

Uses of Diagram in org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts

Methods in org.eclipse.gmf.runtime.diagram.ui.resources.editor.parts that return Diagram
`Diagram` `DiagramDocumentEditor.getDiagram()`

Uses of Diagram in org.eclipse.gmf.runtime.diagram.ui.services.editpart

Methods in org.eclipse.gmf.runtime.diagram.ui.services.editpart with parameters of type Diagram
`RootEditPart` `AbstractEditPartProvider.createRootEditPart(Diagram diagram)`
`RootEditPart` `EditPartService.createRootEditPart(Diagram diagram)`

Constructors in org.eclipse.gmf.runtime.diagram.ui.services.editpart with parameters of type Diagram
`CreateRootEditPartOperation(Diagram diagram)` Constructor

Uses of Diagram in org.eclipse.gmf.runtime.diagram.ui.util

Methods in org.eclipse.gmf.runtime.diagram.ui.util with parameters of type Diagram
`static DiagramEditor` `SelectInDiagramHelper.activateDiagram(Diagram diagram)` Activate the diagram if it's already open.

Uses of Diagram in org.eclipse.gmf.runtime.diagram.ui.view.factories

Methods in org.eclipse.gmf.runtime.diagram.ui.view.factories that return Diagram
`Diagram` `DiagramViewFactory.createDiagram(IAdaptable semanticAdapter, java.lang.String diagramKind, PreferencesHint thePreferencesHint)` factory method, that will be called by the view service to creat the `Diagram`

Uses of Diagram in org.eclipse.gmf.runtime.notation

Methods in org.eclipse.gmf.runtime.notation that return Diagram
`Diagram` `NotationFactory.createDiagram()` Returns a new object of class 'Diagram'
`Diagram` `View.getDiagram()` Returns the value of the 'Diagram' reference

Uses of Diagram in org.eclipse.gmf.runtime.notation.impl

Classes in org.eclipse.gmf.runtime.notation.impl that implement Diagram
`class` `DiagramImpl` An implementation of the model object 'Diagram'

Methods in org.eclipse.gmf.runtime.notation.impl that return Diagram
`Diagram` `NotationFactoryImpl.createDiagram()`
`Diagram` `ViewImpl.getDiagram()`
`Diagram` `ViewImpl.basicGetDiagram()`

Runtime

Guidelines for using Eclipse APIs.

Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.