Index: src/Plugins/Wti/Wti.Controller/PipingDataNodeController.cs =================================================================== diff -u -r5fc71a385897af92ccb092f2f969b5709afab85a -rbf0a072abe87793e206eceac452f671f9fd70a51 --- src/Plugins/Wti/Wti.Controller/PipingDataNodeController.cs (.../PipingDataNodeController.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) +++ src/Plugins/Wti/Wti.Controller/PipingDataNodeController.cs (.../PipingDataNodeController.cs) (revision bf0a072abe87793e206eceac452f671f9fd70a51) @@ -9,16 +9,26 @@ namespace Wti.Controller { + /// + /// This class controls the and its . + /// Interactions from the are handles by this class. + /// public class PipingDataNodeController : IContextMenuProvider { private readonly ILog logger = LogManager.GetLogger(typeof(PipingCalculationInput)); private readonly PipingDataNodePresenter nodePresenter = new PipingDataNodePresenter(); + /// + /// Creates a instance of a controller for the . + /// public PipingDataNodeController() { nodePresenter.ContextMenu = GetContextMenu; } + /// + /// The which this class controls. + /// public PipingDataNodePresenter NodePresenter { get @@ -27,6 +37,11 @@ } } + /// + /// Creates a which actions are tied to this controller. + /// + /// + /// public IMenuItem GetContextMenu(object pipingData) { var contextMenu = new PipingContextMenuStrip((PipingData) pipingData);