Skip to content

Commit

Permalink
eclipse-capella#2062 Handle dnd of ComponentExchange with allocated F…
Browse files Browse the repository at this point in the history
…unctionExchange

Drag and dropping a port of a functional exchange that is allocated to a
ComponentExchange will not remove its allocation anymore.
  • Loading branch information
SteveMonnier committed Jan 26, 2024
1 parent d9c63b6 commit cb3ca93
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3211,8 +3211,7 @@ public EObject dndABFunctionPort(FunctionPort port, NamedElement oldContainer, N
}

moveFunctionalExchanges(port);
removeComponentExchangeAllocations(getFunctionalExchanges(port));


return port;
}

Expand Down Expand Up @@ -3457,8 +3456,6 @@ protected void moveFunctionalExchanges(FunctionPort port) {
for (FunctionalExchange exchange : functionalExchanges) {
moveFunctionalExchange(exchange);
}

removeComponentExchangeAllocations(functionalExchanges);
}

/**
Expand Down

0 comments on commit cb3ca93

Please sign in to comment.