public interface AttachmentStrategy
DefaultReferenceService
customization strategy for attachment of new objects to the model.DefaultReferenceService| Modifier and Type | Interface and Description |
|---|---|
static interface |
AttachmentStrategy.Provider
Specific Bazaar vendor interface for attachment strategies.
|
| Modifier and Type | Field and Description |
|---|---|
static AttachmentStrategy |
DEFAULT
The default strategy.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
addElementToModel(org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EReference reference,
org.eclipse.emf.ecore.EObject object)
Add a new
object to the model. |
static final AttachmentStrategy DEFAULT
boolean addElementToModel(org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EReference reference,
org.eclipse.emf.ecore.EObject object)
object to the model.owner - an existing object to which the given object was added in the referencereference - the reference of the owner to which the object was addedobject - the new object to be attached to the modeltrue if the object was attached to the model by this
strategy; false, otherwiseCopyright © 2019. All rights reserved.