public class StructuralChangeCustomDMRTester extends Object implements StructuralChangeTesterInternal
NOT_APPLICABLE
Constructor and Description |
---|
StructuralChangeCustomDMRTester() |
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 BundleContext
protected void deactivate(org.osgi.framework.BundleContext bundleContext)
bundleContext
- The BundleContext
public double isApplicable(VDomainModelReference reference)
VDomainModelReference
.isApplicable
in interface StructuralChangeTesterInternal
reference
- The VDomainModelReference
VDomainModelReference
.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 StructuralChangeTesterInternal
reference
- The VDomainModelReference
domainRootObject
- The root object of the VDomainModelReference
.notification
- The ModelChangeNotification
StructuralChangeTesterInternal.isStructureChanged(org.eclipse.emf.ecp.view.spi.model.VDomainModelReference,
org.eclipse.emf.ecore.EObject, org.eclipse.emf.ecp.view.spi.model.ModelChangeNotification)
Copyright © 2018. All rights reserved.