powsybl / powsybl-gse

JavaFX UI for powsybl framework
https://www.powsybl.org
Mozilla Public License 2.0
12 stars 4 forks source link

Improve copy manager #244

Closed pl-buiquang closed 4 years ago

pl-buiquang commented 4 years ago

Please check if the PR fulfills these requirements (please use '[x]' to check the checkboxes, or submit the PR and then click the checkboxes)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...) bug fixes, feature

What is the current behavior? (You can also link to an open issue here) Archiving is limited to Project Nodes There is no name info when copy/pasting files Copy system is async, Paste is sync Dependencies not present in the target project are not removed from copied objects

What is the new behavior (if this is a feature change)? Archiving is also available for whole projects Name is added to copy params Copy system is synchrone (async is handled from front end) and task creation is removed from CopyManager ProjectFile dependencies of copied nodes not found in the current project are removed