de.cau.cs.kieler.synccharts.diagram.part
Class SyncchartsDiagramEditorUtil

java.lang.Object
  extended by de.cau.cs.kieler.synccharts.diagram.part.SyncchartsDiagramEditorUtil

public class SyncchartsDiagramEditorUtil
extends Object

Rating red
Generated:
This code was automatically generated.

Nested Class Summary
static class SyncchartsDiagramEditorUtil.LazyElement2ViewMap
          XXX This is quite suspicious code (especially editPartTmpHolder) and likely to be removed soon
 
Constructor Summary
SyncchartsDiagramEditorUtil()
           
 
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, SyncchartsDiagramEditorUtil.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

SyncchartsDiagramEditorUtil

public SyncchartsDiagramEditorUtil()
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,
                            SyncchartsDiagramEditorUtil.LazyElement2ViewMap lazyElement2ViewMap)
Generated:
This code was automatically generated.