| Package | Description |
|---|---|
| org.eclipse.emf.ecore.util |
Provides utilities.
|
| Modifier and Type | Class and Description |
|---|---|
class |
ComposedSwitch<T>
Composes multiple switches in order to handle instances of classes defined in multiple packages.
|
class |
EcoreSwitch<T>
The Switch for the model's inheritance hierarchy.
|
| Modifier and Type | Method and Description |
|---|---|
protected Switch<T> |
ComposedSwitch.findDelegate(EPackage ePackage)
Finds a suitable delegate for the given package.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ComposedSwitch.addSwitch(Switch<T> sw) |
protected T |
ComposedSwitch.delegatedDoSwitch(Switch<T> delegate,
EClass theEClass,
EObject theEObject)
Call delegate.
doSwitch(theEClass, theEObject). |
void |
ComposedSwitch.removeSwitch(Switch<T> sw) |
| Constructor and Description |
|---|
ComposedSwitch(java.util.Collection<? extends Switch<T>> switches)
Creates a new ComposedSwitch.
|
Copyright © 2018. Licensed under the Eclipse Public License v1.0. All rights reserved.
Submit a bug or feature