public interface ReferenceService extends ViewModelService
Modifier and Type | Method and Description |
---|---|
void |
addExistingModelElements(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EReference eReference)
Adds existing model elements to the
EReference . |
void |
addNewModelElements(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EReference eReference)
Deprecated.
|
Optional<org.eclipse.emf.ecore.EObject> |
addNewModelElements(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.EReference eReference,
boolean openInNewContext)
Adds new model elements to the
EReference . |
void |
openInNewContext(org.eclipse.emf.ecore.EObject eObject)
Opens an
EObject in a new context. |
dispose, getPriority, instantiate
@Deprecated void addNewModelElements(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EReference eReference)
addNewModelElements(EObject, EReference, boolean)
insteadEReference
.
The implementation is responsible for providing a selection meachsims, e.g. a dialog.eObject
- the EObject
to addeReference
- the EReference
to add the EObject
toOptional<org.eclipse.emf.ecore.EObject> addNewModelElements(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EReference eReference, boolean openInNewContext)
EReference
.
The implementation is responsible for providing a selection mechanism, e.g. a dialog.eObject
- the EObject
to addeReference
- the EReference
to add the EObject
toopenInNewContext
- Hints the reference service whether the created model element should be opened in a new
contextvoid addExistingModelElements(org.eclipse.emf.ecore.EObject eObject, org.eclipse.emf.ecore.EReference eReference)
EReference
.
The implementation is responsible for providing a selection meachsims, e.g. a dialog.eObject
- the EObject
to addeReference
- the EReference
to add the EObject
tovoid openInNewContext(org.eclipse.emf.ecore.EObject eObject)
EObject
in a new context.eObject
- the EObject
to open in a new contextCopyright © 2019. All rights reserved.