public interface EClassSelectionStrategy
EClasses for instantiation to create a new
object in a reference. Used by the DefaultCreateNewModelElementStrategyProvider.DefaultReferenceService| Modifier and Type | Interface and Description |
|---|---|
static interface |
EClassSelectionStrategy.Provider
Specific Bazaar vendor interface for
EClass selection strategies. |
| Modifier and Type | Field and Description |
|---|---|
static EClassSelectionStrategy |
NULL
An idempotent strategy (does not modify the selection).
|
| Modifier and Type | Method and Description |
|---|---|
Collection<org.eclipse.emf.ecore.EClass> |
collectEClasses(org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EReference reference,
Collection<org.eclipse.emf.ecore.EClass> eclasses)
Update a collection of
EClasses that are eligible for creation of
a new object in the reference. |
static final EClassSelectionStrategy NULL
Collection<org.eclipse.emf.ecore.EClass> collectEClasses(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EReference reference, Collection<org.eclipse.emf.ecore.EClass> eclasses)
EClasses that are eligible for creation of
a new object in the reference.owner - the proposed owner of a new referencereference - the owner's reference in which to add a new objecteclasses - a mutable collection of classes. Implementors may add and remove
elements in this collection as neededeclasses in place
and return that collectionCopyright © 2020. All rights reserved.