Class PalladioComponentModelDiagramEditorUtil
java.lang.Object
de.uka.ipd.sdq.pcm.gmf.allocation.part.PalladioComponentModelDiagramEditorUtil
- Generated class or method.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classXXX This is quite suspicious code (especially editPartTmpHolder) and likely to be removed soon -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ResourcecreateDiagram(URI diagramURI, URI modelURI, IProgressMonitor progressMonitor) This method should be called within a workspace modify operation since it creates resources.static ResourcecreateDiagram(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.static org.eclipse.gmf.runtime.notation.ViewfindView(org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart diagramEditPart, EObject targetElement, PalladioComponentModelDiagramEditorUtil.LazyElement2ViewMap lazyElement2ViewMap) static Map<?,?> static StringgetUniqueFileName(IPath containerFullPath, String fileName, String extension) static booleanopenDiagram(Resource diagram) static voidRuns the wizard in a dialog.static voidselectElementsInDiagram(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart diagramPart, List<org.eclipse.gef.EditPart> editParts) static voidsetCharset(IFile file)
-
Constructor Details
-
PalladioComponentModelDiagramEditorUtil
public PalladioComponentModelDiagramEditorUtil()
-
-
Method Details
-
getSaveOptions
- Generated class or method.
-
openDiagram
- Throws:
PartInitException- Generated class or method.
-
setCharset
- Generated class or method.
-
getUniqueFileName
- Generated class or method.
-
runWizard
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 URImodelURI- the model's URImySystem- a pcm SystemmyResourceEnv- a ResourceEnvironmentprogressMonitor- 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.
-