public class StructuralChangeTesterIndex extends Object implements StructuralChangeTesterInternal
NOT_APPLICABLE
Constructor and Description |
---|
StructuralChangeTesterIndex() |
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 |
setEMFFormsDatabindingEMF(EMFFormsDatabindingEMF emfFormsDatabinding)
Sets the
EMFFormsDatabindingEMF service. |
protected void activate(org.osgi.framework.BundleContext bundleContext)
bundleContext
- The BundleContext
protected void deactivate(org.osgi.framework.BundleContext bundleContext)
bundleContext
- The BundleContext
protected void setEMFFormsDatabindingEMF(EMFFormsDatabindingEMF emfFormsDatabinding)
EMFFormsDatabindingEMF
service.emfFormsDatabinding
- The emf databinding servicepublic double isApplicable(VDomainModelReference reference)
VDomainModelReference
.isApplicable
in interface StructuralChangeTesterInternal
reference
- The VDomainModelReference
VDomainModelReference
.StructuralChangeTesterInternal.isApplicable(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(VDomainModelReference,
EObject, ModelChangeNotification)
Copyright © 2019. All rights reserved.