org.eclipse.emf.ecp.view.internal.provider
Interface Migrator
- All Known Implementing Classes:
- TableMigrator
public interface Migrator
This interface is only temporary, as it will be replaces with a proper model migrator in the next version.
- Author:
- Eugen Neufeld
Method Summary |
boolean |
isApplicable(org.eclipse.emf.ecore.EObject eObject)
|
void |
migrate(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.util.FeatureMap anyAttribute,
org.eclipse.emf.ecore.util.FeatureMap mixed)
Migrate an EObject based on the attributes and missing features. |
migrate
void migrate(org.eclipse.emf.ecore.EObject eObject,
org.eclipse.emf.ecore.util.FeatureMap anyAttribute,
org.eclipse.emf.ecore.util.FeatureMap mixed)
- Migrate an
EObject
based on the attributes and missing features.
- Parameters:
eObject
- the EObject
to migrateanyAttribute
- the FeatureMap
containing the missing attributesmixed
- the FeatureMap
containing the missing references
isApplicable
boolean isApplicable(org.eclipse.emf.ecore.EObject eObject)
- Parameters:
eObject
- the EObject
to migrate
- Returns:
- true if the instance can migrate the
EObject
Copyright © 2014. All Rights Reserved.