|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.ecp.explorereditorbridge.internal.EditorModelElementOpener
public class EditorModelElementOpener
ECP Class to open the default ECP Editor.
Constructor Summary | |
---|---|
EditorModelElementOpener()
Convenient constructor. |
Method Summary | |
---|---|
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 . |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EditorModelElementOpener()
Method Detail |
---|
public int canOpen(org.eclipse.emf.ecore.EObject modelElement)
EObject
, but has the lowest value.
modelElement
- EObject
to test
public 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 for
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |