public class EditorModelElementOpener extends Object implements ECPModelElementOpener
Constructor and Description |
---|
EditorModelElementOpener()
Convenient constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
canOpen(org.eclipse.emf.ecore.EObject modelElement)
The default editor can open every
EObject , but has the lowest value. |
void |
openModelElement(Object modelElement,
ECPProject ecpProject)
Opens the default ECP Editor for an
EObject and the corresponding ECPProject . |
public EditorModelElementOpener()
public int canOpen(org.eclipse.emf.ecore.EObject modelElement)
EObject
, but has the lowest value.modelElement
- EObject
to testpublic void openModelElement(Object modelElement, ECPProject ecpProject)
EObject
and the corresponding ECPProject
.openModelElement
in interface ECPModelElementOpener
modelElement
- the EObject
to open the Editor forecpProject
- the ECPProject
to open the Editor forCopyright © 2019. All rights reserved.