Exemple #1
0
 public List<ModelElementId> getIds(EObject... objs) {
   ArrayList<ModelElementId> result = new ArrayList<ModelElementId>();
   for (EObject obj : objs) {
     result.add(mergeCase.getMyId(obj));
   }
   return result;
 }
Exemple #2
0
 public ModelElementId getTheirId(EObject obj) {
   return mergeCase.getTheirId(obj);
 }
Exemple #3
0
 public MergeCase newMergeCase(EObject... objs) {
   mergeCase = new MergeCase();
   mergeCase.add(objs);
   mergeCase.ensureCopy();
   return mergeCase;
 }