Class EMFProfileDiagramEditorUtil
- java.lang.Object
-
- org.modelversioning.emfprofile.diagram.part.EMFProfileDiagramEditorUtil
-
public class EMFProfileDiagramEditorUtil extends Object
- Generated class or method.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classEMFProfileDiagramEditorUtil.LazyElement2ViewMapXXX This is quite suspicious code (especially editPartTmpHolder) and likely to be removed soon
-
Constructor Summary
Constructors Constructor Description EMFProfileDiagramEditorUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResourcecreateDiagram(URI diagramURI, IProgressMonitor progressMonitor)static org.eclipse.gmf.runtime.notation.ViewfindView(org.eclipse.gmf.runtime.diagram.ui.editparts.DiagramEditPart diagramEditPart, EObject targetElement, EMFProfileDiagramEditorUtil.LazyElement2ViewMap lazyElement2ViewMap)static Map<?,?>getSaveOptions()static StringgetUniqueFileName(IPath containerFullPath, String fileName, String extension)static booleanopenDiagram(Resource diagram)static ResourceopenModel(Shell shell, String description, org.eclipse.emf.transaction.TransactionalEditingDomain editingDomain)Allows user to select file and loads it as a model.static voidrunWizard(Shell shell, Wizard wizard, String settingsKey)Runs the wizard in a dialog.static voidselectElementsInDiagram(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart diagramPart, List<org.eclipse.gef.EditPart> editParts)
-
-
-
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.
-
getUniqueFileName
public static String getUniqueFileName(IPath containerFullPath, String fileName, String extension)
- 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
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, IProgressMonitor progressMonitor)
- 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.
-
-