Class EMFProfileDiagramEditorUtil
java.lang.Object
org.modelversioning.emfprofile.diagram.part.EMFProfileDiagramEditorUtil
- 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, IProgressMonitor progressMonitor) static org.eclipse.gmf.runtime.notation.View
findView
(org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart diagramEditPart, EObject targetElement, EMFProfileDiagramEditorUtil.LazyElement2ViewMap lazyElement2ViewMap) static Map<?,
?> static String
getUniqueFileName
(IPath containerFullPath, String fileName, String extension) static boolean
openDiagram
(Resource diagram) static Resource
openModel
(Shell shell, String description, org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain) Allows user to select file and loads it as a model.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)
-
Constructor Details
-
EMFProfileDiagramEditorUtil
public EMFProfileDiagramEditorUtil()
-
-
Method Details
-
getSaveOptions
- Generated class or method.
-
openDiagram
- Throws:
PartInitException
- Generated class or method.
-
getUniqueFileName
- Generated class or method.
-
openModel
public static Resource openModel(Shell shell, String description, org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain) Allows user to select file and loads it as a model.- Generated class or method.
-
runWizard
Runs the wizard in a dialog.- Generated class or method.
-
createDiagram
- Generated class or method.
-
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, EMFProfileDiagramEditorUtil.LazyElement2ViewMap lazyElement2ViewMap) - Generated class or method.
-