org.eclipse.gmf.graphdef.editor.part
Class GMFGraphDiagramEditorUtil
java.lang.Object
org.eclipse.gmf.graphdef.editor.part.GMFGraphDiagramEditorUtil
public class GMFGraphDiagramEditorUtil
- extends Object
- Generated
Method Summary |
static org.eclipse.emf.ecore.resource.Resource |
createDiagram(org.eclipse.emf.common.util.URI diagramURI,
org.eclipse.emf.common.util.URI modelURI,
org.eclipse.core.runtime.IProgressMonitor progressMonitor)
This method should be called within a workspace modify operation since it creates resources. |
static org.eclipse.gmf.runtime.notation.View |
findView(org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart diagramEditPart,
org.eclipse.emf.ecore.EObject targetElement,
GMFGraphDiagramEditorUtil.LazyElement2ViewMap lazyElement2ViewMap)
|
static Map |
getSaveOptions()
|
static String |
getUniqueFileName(org.eclipse.core.runtime.IPath containerFullPath,
String fileName,
String extension)
|
static boolean |
openDiagram(org.eclipse.emf.ecore.resource.Resource diagram)
|
static void |
runWizard(org.eclipse.swt.widgets.Shell shell,
org.eclipse.jface.wizard.Wizard wizard,
String settingsKey)
Runs the wizard in a dialog. |
static void |
selectElementsInDiagram(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart diagramPart,
List editParts)
|
static void |
setCharset(org.eclipse.core.resources.IFile file)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GMFGraphDiagramEditorUtil
public GMFGraphDiagramEditorUtil()
getSaveOptions
public static Map getSaveOptions()
- Generated
openDiagram
public static boolean openDiagram(org.eclipse.emf.ecore.resource.Resource diagram)
throws org.eclipse.ui.PartInitException
- Throws:
org.eclipse.ui.PartInitException
- Generated
setCharset
public static void setCharset(org.eclipse.core.resources.IFile file)
- Generated
getUniqueFileName
public static String getUniqueFileName(org.eclipse.core.runtime.IPath containerFullPath,
String fileName,
String extension)
- Generated
runWizard
public static void runWizard(org.eclipse.swt.widgets.Shell shell,
org.eclipse.jface.wizard.Wizard wizard,
String settingsKey)
- Runs the wizard in a dialog.
- Generated
createDiagram
public static org.eclipse.emf.ecore.resource.Resource createDiagram(org.eclipse.emf.common.util.URI diagramURI,
org.eclipse.emf.common.util.URI modelURI,
org.eclipse.core.runtime.IProgressMonitor progressMonitor)
- This method should be called within a workspace modify operation since it creates resources.
- Generated
selectElementsInDiagram
public static void selectElementsInDiagram(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart diagramPart,
List editParts)
- Generated
findView
public static org.eclipse.gmf.runtime.notation.View findView(org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart diagramEditPart,
org.eclipse.emf.ecore.EObject targetElement,
GMFGraphDiagramEditorUtil.LazyElement2ViewMap lazyElement2ViewMap)
- Generated
Copyright © 2012. All Rights Reserved.