Class PalladioComponentModelDiagramEditorUtil
java.lang.Object
de.uka.ipd.sdq.pcm.gmf.allocation.part.PalladioComponentModelDiagramEditorUtil
- Generated class or method.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
XXX This is quite suspicious code (especially editPartTmpHolder) and likely to be removed soon -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Resource
createDiagram
(URI diagramURI, URI modelURI, IProgressMonitor progressMonitor) This method should be called within a workspace modify operation since it creates resources.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.static org.eclipse.gmf.runtime.notation.View
findView
(org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart diagramEditPart, EObject targetElement, PalladioComponentModelDiagramEditorUtil.LazyElement2ViewMap lazyElement2ViewMap) static Map<?,
?> static String
getUniqueFileName
(IPath containerFullPath, String fileName, String extension) static boolean
openDiagram
(Resource diagram) static void
Runs the wizard in a dialog.static void
selectElementsInDiagram
(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart diagramPart, List<org.eclipse.gef.EditPart> editParts) static void
setCharset
(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.
-