Class PalladioComponentModelDiagramEditorUtil
- java.lang.Object
-
- de.uka.ipd.sdq.pcm.gmf.usage.part.PalladioComponentModelDiagramEditorUtil
-
public class PalladioComponentModelDiagramEditorUtil extends Object
- Generated class or method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PalladioComponentModelDiagramEditorUtil.LazyElement2ViewMap
-
Constructor Summary
Constructors Constructor Description PalladioComponentModelDiagramEditorUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Resource
createDiagram(URI diagramURI, URI modelURI, 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, EObject targetElement, PalladioComponentModelDiagramEditorUtil.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)
static void
selectElementsInDiagram(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart diagramPart, List<org.eclipse.gef.EditPart> editParts)
static void
setCharset(IFile file)
-
-
-
Method Detail
-
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)
- 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.- Parameters:
diagramURI
- the diagram urimodelURI
- the model uriprogressMonitor
- the progress monitor- Returns:
- the 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.
-
-