bazel-eclipse icon indicating copy to clipboard operation
bazel-eclipse copied to clipboard

Support cancelling an in progress BEF project import

Open simontoens opened this issue 5 years ago • 0 comments

During project import, if the user clicks the cancel button, we should actually abort the project import and clean up.

As an initial implementation, we can check the state of the cancel button between running the various Flows we have around here: https://github.com/salesforce/bazel-eclipse/blob/7850e5b79ac2dc2f941fb4be796429fef87f26c5/plugin-core/src/main/java/com/salesforce/bazel/eclipse/projectimport/flow/FlowProjectImporter.java#L82

Then, a "cancelled/cleanup" method needs to be called on each Flow instance that ran. This method can undo the work a Flow did when it ran.

simontoens avatar Dec 01 '20 14:12 simontoens