Removed need of TestContextMenuBuilderProvider by introducing: CustomItemsOnlyContextMenuBuilder which only constructs custom items and ignores the rest. Introducing IContextMenuBuilder so that the builder can be easily mocked in tests. Related to Issue [WTI-172] git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1113 5a3db67b-de53-47b5-99c8-a1c30a6650e2
Replaced context menu on PipingSurfaceLineCollectionNodePresenter with one constructed through ContextMenuBuilder. GuiContextMenuItemFactory now only requires the IGuiCommandHandler for constructing. Implemented CanExportFromGuiSelection and CanShowPropertiesForGuiSelection on GuiCommandHandler to determine menu item state. Related to Issue [WTI-172] git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1029 5a3db67b-de53-47b5-99c8-a1c30a6650e2