public class IndexSegmentStructuralChangeTester extends Object implements StructuralChangeSegmentTester
StructuralChangeSegmentTester implementation to check VIndexDomainModelReferenceSegments with corresponding domain objects for structural changes.NOT_APPLICABLE| Constructor and Description |
|---|
IndexSegmentStructuralChangeTester() |
| Modifier and Type | Method and Description |
|---|---|
double |
isApplicable(VDomainModelReferenceSegment segment)
Returns a double that expresses if and how suitable this tester is for the given
VDomainModelReferenceSegment. |
boolean |
isStructureChanged(VDomainModelReferenceSegment segment,
org.eclipse.emf.ecore.EObject domainObject,
ModelChangeNotification notification)
Checks whether the domain structure of the given
VDomainModelReferenceSegment has changed for the changes
indicated by the given ModelChangeNotification. |
protected void |
setEMFFormsSegmentResolver(EMFFormsSegmentResolver segmentResolver)
Sets the
EMFFormsSegmentResolver. |
protected void |
setReportService(ReportService reportService)
Sets the
ReportService. |
protected void setEMFFormsSegmentResolver(EMFFormsSegmentResolver segmentResolver)
EMFFormsSegmentResolver.segmentResolver - The EMFFormsSegmentResolverprotected void setReportService(ReportService reportService)
ReportService.reportService - The ReportServicepublic boolean isStructureChanged(VDomainModelReferenceSegment segment, org.eclipse.emf.ecore.EObject domainObject, ModelChangeNotification notification)
StructuralChangeSegmentTesterVDomainModelReferenceSegment has changed for the changes
indicated by the given ModelChangeNotification.isStructureChanged in interface StructuralChangeSegmentTestersegment - The VDomainModelReferenceSegmentdomainObject - The domain object of the segment.notification - The ModelChangeNotificationpublic double isApplicable(VDomainModelReferenceSegment segment)
StructuralChangeSegmentTesterVDomainModelReferenceSegment.isApplicable in interface StructuralChangeSegmentTestersegment - The VDomainModelReferenceSegmentVDomainModelReferenceSegment.Copyright © 2020. All rights reserved.