Class PalladioComponentModelDiagramEditorUtil


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

      • PalladioComponentModelDiagramEditorUtil

        public PalladioComponentModelDiagramEditorUtil()
    • Method Detail

      • getSaveOptions

        public static Map<?,​?> getSaveOptions()
        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.