Class ResourceAttachmentChangeConflictSearch.Delete

java.lang.Object
org.eclipse.emf.compare.internal.conflict.AbstractConflictSearch<ResourceAttachmentChange>
org.eclipse.emf.compare.internal.conflict.ResourceAttachmentChangeConflictSearch.Delete
Enclosing class:
ResourceAttachmentChangeConflictSearch

public static class ResourceAttachmentChangeConflictSearch.Delete extends AbstractConflictSearch<ResourceAttachmentChange>
Search conflicts for ResourceAttachmentChange of kind DifferenceKind.DELETE.
  • Constructor Details

    • Delete

      public Delete(ResourceAttachmentChange diff, ComparisonIndex index, Monitor monitor)
      Constructor.
      Parameters:
      diff - The diff to search for conflicts
      index - Comparison index, must not be null
      monitor - the monitor to report progress to, must not be null
  • Method Details

    • detectConflicts

      public void detectConflicts()
      Description copied from class: AbstractConflictSearch
      Detect conflicts with AbstractConflictSearch.diff in its comparison. This will add or update conflicts in diff's comparison.
      Specified by:
      detectConflicts in class AbstractConflictSearch<ResourceAttachmentChange>
    • isDanglingRootDeletion

      protected boolean isDanglingRootDeletion()
      Indicate whether the current diff represents the deletion of a 'dangling' root of a resource. A dangling root is an EObject that had no parent in the model.
      Returns:
      true if the current diff is a deletion of a dangling root EObject.