Class PalladioComponentModelDiagramEditorUtil

java.lang.Object
de.uka.ipd.sdq.pcm.gmf.allocation.part.PalladioComponentModelDiagramEditorUtil

public class PalladioComponentModelDiagramEditorUtil extends Object
Generated class or method.
  • Constructor Details

    • PalladioComponentModelDiagramEditorUtil

      public PalladioComponentModelDiagramEditorUtil()
  • Method Details

    • getSaveOptions

      public static Map<?,?> getSaveOptions()
      Generated class or method.
    • openDiagram

      public static boolean openDiagram(Resource diagram) throws PartInitException
      Throws:
      PartInitException
      Generated class or method.
    • setCharset

      public static void setCharset(IFile file)
      Generated class or method.
    • getUniqueFileName

      public static String getUniqueFileName(IPath containerFullPath, String fileName, String extension)
      Generated class or method.
    • runWizard

      public static void runWizard(Shell shell, Wizard wizard, String settingsKey)
      Runs the wizard in a dialog.
      Generated class or method.
    • 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 class or method.
    • createDiagram

      public static Resource createDiagram(URI diagramURI, URI modelURI, org.palladiosimulator.pcm.system.System mySystem, org.palladiosimulator.pcm.resourceenvironment.ResourceEnvironment myResourceEnv, IProgressMonitor progressMonitor)
      This method should be called within a workspace modify operation since it creates resources. This method is manually added to this generated class. It replaces the generated method of same name, calls are manually redirected.
      Parameters:
      diagramURI - the diagram's URI
      modelURI - the model's URI
      mySystem - a pcm System
      myResourceEnv - a ResourceEnvironment
      progressMonitor - an IProgressMonitor
      Returns:
      a diagram resource
      Generated class or method.
      not
    • selectElementsInDiagram

      public static void selectElementsInDiagram(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart diagramPart, List<org.eclipse.gef.EditPart> editParts)
      Generated class or method.
    • findView

      public static org.eclipse.gmf.runtime.notation.View findView(org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart diagramEditPart, EObject targetElement, PalladioComponentModelDiagramEditorUtil.LazyElement2ViewMap lazyElement2ViewMap)
      Generated class or method.