Skip to content

Commit

Permalink
Merge pull request #78 from thomyxx/vitruv-remote
Browse files Browse the repository at this point in the history
  • Loading branch information
TomWerm authored Sep 5, 2023
2 parents 62ac20f + 9567f81 commit 3500fcb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
package tools.vitruv.change.atomic.hid;

import org.eclipse.emf.ecore.impl.EObjectImpl;

/**
* A hierarchical id is a volatile identifier which identifies an element based
* on its hierarchical location in a resource. A hierarchical id is not bound to
* a resource set, i.e. two elements at the same location in identical resources
* of different resource sets will have the same hierarchical id.
*/
public final class HierarchicalId implements Comparable<HierarchicalId> {
public final class HierarchicalId extends EObjectImpl implements Comparable<HierarchicalId> {
private String id;

public HierarchicalId(String id) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ protected <Source, Target> VitruviusChange<Target> transformVitruviusChange(Vitr
List<EChange<Target>> resolvedChanges = transactionalChange.getEChanges().stream().map(changeHandler::apply)
.toList();
TransactionalChange<Target> result = new TransactionalChangeImpl<>(resolvedChanges);
result.setUserInteractions(change.getUserInteractions());
onTransactionEnd.accept(result);
return result;
}
Expand Down

0 comments on commit 3500fcb

Please sign in to comment.