de.cau.cs.kieler.kaom.diagram.part
Class KaomDiagramEditorUtil

java.lang.Object
  extended by de.cau.cs.kieler.kaom.diagram.part.KaomDiagramEditorUtil

public class KaomDiagramEditorUtil
extends Object

Rating red
Generated:
This code was automatically generated.

Nested Class Summary
static class KaomDiagramEditorUtil.LazyElement2ViewMap
           
 
Constructor Summary
KaomDiagramEditorUtil()
           
 
Method Summary
static Resource createDiagram(URI diagramURI, URI modelURI, IProgressMonitor progressMonitor)
          This method should be called within a workspace modify operation since it creates resources.
static View findView(org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart diagramEditPart, EObject targetElement, KaomDiagramEditorUtil.LazyElement2ViewMap lazyElement2ViewMap)
           
static Map<?,?> getSaveOptions()
           
static String getUniqueFileName(IPath containerFullPath, String fileName, String extension)
           
static boolean openDiagram(Resource diagram)
           
static void runWizard(Shell shell, Wizard wizard, String settingsKey)
          Runs the wizard in a dialog.
static void selectElementsInDiagram(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart diagramPart, List<EditPart> editParts)
           
static void setCharset(IFile file)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KaomDiagramEditorUtil

public KaomDiagramEditorUtil()
Method Detail

getSaveOptions

public static Map<?,?> getSaveOptions()
Generated:
This code was automatically generated.

openDiagram

public static boolean openDiagram(Resource diagram)
                           throws PartInitException
Throws:
PartInitException
Generated:
This code was automatically generated.

setCharset

public static void setCharset(IFile file)
Generated:
This code was automatically generated.

getUniqueFileName

public static String getUniqueFileName(IPath containerFullPath,
                                       String fileName,
                                       String extension)
Generated:
This code was automatically generated.

runWizard

public static void runWizard(Shell shell,
                             Wizard wizard,
                             String settingsKey)
Runs the wizard in a dialog.

Generated:
This code was automatically generated.

createDiagram

public static Resource createDiagram(URI diagramURI,
                                     URI modelURI,
                                     IProgressMonitor progressMonitor)
This method should be called within a workspace modify operation since it creates resources.

Generated:
This code was automatically generated.

selectElementsInDiagram

public static void selectElementsInDiagram(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart diagramPart,
                                           List<EditPart> editParts)
Generated:
This code was automatically generated.

findView

public static View findView(org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart diagramEditPart,
                            EObject targetElement,
                            KaomDiagramEditorUtil.LazyElement2ViewMap lazyElement2ViewMap)
Generated:
This code was automatically generated.