Index: src/Common/DelftTools.Shell.Core/Workflow/Activity.cs =================================================================== diff -u -r5fc71a385897af92ccb092f2f969b5709afab85a -rc8d8f882d45f7e3cb5e47cb02106b7174f913856 --- src/Common/DelftTools.Shell.Core/Workflow/Activity.cs (.../Activity.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) +++ src/Common/DelftTools.Shell.Core/Workflow/Activity.cs (.../Activity.cs) (revision c8d8f882d45f7e3cb5e47cb02106b7174f913856) @@ -147,32 +147,44 @@ } /// - /// Initializes internal state. Changes status to + /// Initializes internal state to prepare for execution. After calling this method, + /// will be set to if + /// no error has occurred. /// + /// Set to + /// when an error has occurred while performing the initialization. protected abstract void OnInitialize(); /// - /// Executes one step. Changes status to or . + /// Executes one step. This method will be called multiple times to allow for multiple + /// execution steps. After calling this method, will be set to + /// if no error has occurred. /// + /// + /// Set to + /// when an error has occurred while executing. + /// Set to + /// when execution has finished without errors. + /// protected abstract void OnExecute(); /// - /// Cancels current run. Changes status to . + /// Activity has finished successfully. After calling this method, + /// will be set to if no error has occurred. /// - /// True when finished. + protected abstract void OnFinish(); + + /// + /// Cancels current run. will change to + /// after this method has been called. + /// protected abstract void OnCancel(); /// /// Performs clean-up of all internal resources. /// - /// True when finished. protected abstract void OnCleanUp(); - /// - /// Activity has finished successfully. - /// - protected abstract void OnFinish(); - private void ChangeState(Action transitionAction, ActivityStatus statusBefore, ActivityStatus statusAfter) { try Index: src/Plugins/Ringtoets/Piping/src/Ringtoets.Piping.Forms/NodePresenters/PipingCalculationInputsNodePresenter.cs =================================================================== diff -u -r7b2fb7be49ba189d624e933485f14a7b94039bbb -rc8d8f882d45f7e3cb5e47cb02106b7174f913856 --- src/Plugins/Ringtoets/Piping/src/Ringtoets.Piping.Forms/NodePresenters/PipingCalculationInputsNodePresenter.cs (.../PipingCalculationInputsNodePresenter.cs) (revision 7b2fb7be49ba189d624e933485f14a7b94039bbb) +++ src/Plugins/Ringtoets/Piping/src/Ringtoets.Piping.Forms/NodePresenters/PipingCalculationInputsNodePresenter.cs (.../PipingCalculationInputsNodePresenter.cs) (revision c8d8f882d45f7e3cb5e47cb02106b7174f913856) @@ -33,7 +33,7 @@ /// /// Injection points for a method to cause an to be scheduled for execution. /// - public Action RunActivityAction { get; set; } + public Action RunActivityAction { private get; set; } public void UpdateNode(ITreeNode parentNode, ITreeNode node, object nodeData) { Index: src/Plugins/Ringtoets/Piping/src/Ringtoets.Piping.Forms/NodePresenters/PipingFailureMechanismNodePresenter.cs =================================================================== diff -u -r2f6a4919a4b3a16f09d7da1c09223335eb261692 -rc8d8f882d45f7e3cb5e47cb02106b7174f913856 --- src/Plugins/Ringtoets/Piping/src/Ringtoets.Piping.Forms/NodePresenters/PipingFailureMechanismNodePresenter.cs (.../PipingFailureMechanismNodePresenter.cs) (revision 2f6a4919a4b3a16f09d7da1c09223335eb261692) +++ src/Plugins/Ringtoets/Piping/src/Ringtoets.Piping.Forms/NodePresenters/PipingFailureMechanismNodePresenter.cs (.../PipingFailureMechanismNodePresenter.cs) (revision c8d8f882d45f7e3cb5e47cb02106b7174f913856) @@ -15,6 +15,10 @@ namespace Ringtoets.Piping.Forms.NodePresenters { + /// + /// This class presents the data on as a node in a + /// and implements the way the user can interact with the node. + /// public class PipingFailureMechanismNodePresenter : ITreeNodePresenter { public ITreeView TreeView { get; set; } Index: src/Plugins/Ringtoets/Piping/src/Ringtoets.Piping.Service/PipingCalculationActivity.cs =================================================================== diff -u -r1a305404abc19e3cb419a32ff48b793391722d8b -rc8d8f882d45f7e3cb5e47cb02106b7174f913856 --- src/Plugins/Ringtoets/Piping/src/Ringtoets.Piping.Service/PipingCalculationActivity.cs (.../PipingCalculationActivity.cs) (revision 1a305404abc19e3cb419a32ff48b793391722d8b) +++ src/Plugins/Ringtoets/Piping/src/Ringtoets.Piping.Service/PipingCalculationActivity.cs (.../PipingCalculationActivity.cs) (revision c8d8f882d45f7e3cb5e47cb02106b7174f913856) @@ -11,6 +11,10 @@ { private readonly PipingData pipingData; + /// + /// Initializes a new instance of the class. + /// + /// The piping data used for the calculation. public PipingCalculationActivity(PipingData pipingData) { this.pipingData = pipingData;