예제 #1
0
 @Override
 public boolean conflicts(ChangeAddChildDescriptor a, ChangeNameDescriptor b) {
   return (a.getChild().equals(b.getTarget()) || a.getParent().equals(b.getTarget()));
 }
예제 #2
0
 @Override
 public boolean conflicts2(ChangeNameDescriptor a, ChangeNameDescriptor b) {
   /* More */
   return a.getTarget().equals(b.getTarget());
 }
예제 #3
0
 @Override
 public boolean conflicts(ChangeConnectDescriptor a, ChangeNameDescriptor b) {
   return a.getLink().equals(b.getTarget()) || a.getPoint().equals(b.getTarget());
 }
예제 #4
0
 @Override
 public boolean conflicts(ChangeDisconnectDescriptor a, ChangeNameDescriptor b) {
   /* More */
   Point.Identifier point = a.getPoint();
   return (point.equals(b.getTarget()));
 }
예제 #5
0
 @Override
 public boolean conflicts(ChangeRemoveChildDescriptor a, ChangeNameDescriptor b) {
   return a.getChild().equals(b.getTarget());
 }