示例#1
0
 @Override
 public boolean conflicts(ChangeConnectDescriptor a, ChangeNameDescriptor b) {
   return a.getLink().equals(b.getTarget()) || a.getPoint().equals(b.getTarget());
 }
示例#2
0
 @Override
 public boolean conflicts(ChangeRemoveChildDescriptor a, ChangeConnectDescriptor b) {
   Layoutable.Identifier l = b.getPoint();
   if (l instanceof Port.Identifier) l = ((Port.Identifier) l).getNode();
   return (a.getChild().equals(l));
 }
示例#3
0
 @Override
 public boolean conflicts2(ChangeConnectDescriptor a, ChangeConnectDescriptor b) {
   return a.getPoint().equals(b.getPoint());
 }