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