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 class
EMFProfileDiagramEditorUtil.LazyElement2ViewMap
XXX 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 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<?,?>
getSaveOptions()
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
runWizard(Shell shell, Wizard wizard, String settingsKey)
Runs the wizard in a dialog.static void
selectElementsInDiagram(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.
-
-