public class StructuralChangeTesterMapping extends Object implements StructuralChangeTesterInternal
NOT_APPLICABLE| Constructor and Description |
|---|
StructuralChangeTesterMapping() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
activate(org.osgi.framework.BundleContext bundleContext)
Called by the framework when the component gets activated.
|
protected void |
deactivate(org.osgi.framework.BundleContext bundleContext)
Called by the framework when the component gets deactivated.
|
double |
isApplicable(VDomainModelReference reference)
Returns a double that expresses if and how suitable this tester is for the given
VDomainModelReference. |
boolean |
isStructureChanged(VDomainModelReference reference,
org.eclipse.emf.ecore.EObject domainRootObject,
ModelChangeNotification notification)
Checks whether the domain structure of the given
VDomainModelReference has changed for the changes
indicated by the given ModelChangeNotification. |
protected void activate(org.osgi.framework.BundleContext bundleContext)
bundleContext - The BundleContextprotected void deactivate(org.osgi.framework.BundleContext bundleContext)
bundleContext - The BundleContextpublic double isApplicable(VDomainModelReference reference)
VDomainModelReference.isApplicable in interface StructuralChangeTesterInternalreference - The VDomainModelReferenceVDomainModelReference.StructuralChangeTesterInternal.isApplicable(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference)public boolean isStructureChanged(VDomainModelReference reference, org.eclipse.emf.ecore.EObject domainRootObject, ModelChangeNotification notification)
VDomainModelReference has changed for the changes
indicated by the given ModelChangeNotification.isStructureChanged in interface StructuralChangeTesterInternalreference - The VDomainModelReferencedomainRootObject - The root object of the VDomainModelReference.notification - The ModelChangeNotificationStructuralChangeTesterInternal.isStructureChanged(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference,
org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecp.view.spi.model.ModelChangeNotification)Copyright © 2016. All rights reserved.