public class EditorContext extends Object implements ECPEditorContext
ECPProject
.Constructor and Description |
---|
EditorContext(org.eclipse.emf.ecore.EObject modelElement,
ECPProject ecpProject)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
addECPContextDisposeListener(ECPContextDisposedListener modelElementContextListener)
Adds a
ECPContextDisposedListener . |
void |
dispose()
Dispose the context.
|
org.eclipse.emf.ecore.EObject |
getDomainObject()
The domain
EObject . |
public EditorContext(org.eclipse.emf.ecore.EObject modelElement, ECPProject ecpProject)
modelElement
- the model element to be displayed in the editorecpProject
- the ECPProject
containing the model elementpublic void addECPContextDisposeListener(ECPContextDisposedListener modelElementContextListener)
ECPContextDisposedListener
.addECPContextDisposeListener
in interface ECPEditorContext
modelElementContextListener
- the ECPContextDisposedListener
public void dispose()
dispose
in interface ECPEditorContext
public org.eclipse.emf.ecore.EObject getDomainObject()
EObject
.getDomainObject
in interface ECPEditorContext
EObject
ECPEditorContext.getDomainObject()
Copyright © 2019. All rights reserved.