|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReferenceService
Method Summary | |
---|---|
void |
addModelElement(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EReference eReference)
Adds a model element to the EReference . |
org.eclipse.emf.ecore.EObject |
getExistingElementFor(org.eclipse.emf.ecore.EReference eReference)
Returns an existing EObject that is suitable for the passed EReference . |
org.eclipse.emf.ecore.EObject |
getNewElementFor(org.eclipse.emf.ecore.EReference eReference)
Returns a new EObject that is suitable for the passed EReference . |
void |
openInNewContext(org.eclipse.emf.ecore.EObject eObject)
Opens an EObject in a new context. |
Methods inherited from interface org.eclipse.emf.ecp.view.spi.context.ViewModelService |
---|
dispose, getPriority, instantiate |
Method Detail |
---|
void addModelElement(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EReference eReference)
EReference
.
eObject
- the EObject
to addeReference
- the EReference
to add the EObject
toorg.eclipse.emf.ecore.EObject getNewElementFor(org.eclipse.emf.ecore.EReference eReference)
EObject
that is suitable for the passed EReference
.
eReference
- the reference to create the element for
org.eclipse.emf.ecore.EObject getExistingElementFor(org.eclipse.emf.ecore.EReference eReference)
EObject
that is suitable for the passed EReference
.
eReference
- the EReference
to find an existing Element for
EObject
that can be used in this EReference
, the returned EObject must
already be in the containment treevoid openInNewContext(org.eclipse.emf.ecore.EObject eObject)
EObject
in a new context.
eObject
- the EObject
to open in a new context
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |