Пример #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());
 }