IContextMenuProvider.cs

Clone Tools
  • last updated a few seconds ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Split up the ContextMenuItemFactory into a GuiContextMenuItemFactory and a TreeViewContextMenuItemFactory, which are responsible for creating gui context or treeview context dependent menu items. Renamed IContextMenuProvider to IContextMenuBuilderProvider to better meet the intention of the interface. Related to Issue [WTI-172]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1014 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: cd15bb154bba2f952304f8a8955dc6f922abf1c1

  1. … 20 more files in changeset.
Introduced ContextMenuBuilder in stead of the ContextMenuFactory. Builder is responsible for calling ContextMenuItemFactory methods to configure a ContextMenu. Can be used to construct a menu using items which require the gui context, to add custom items and to add separators. Removed ITreeNode parameter of GetChildNodeObjects (only based on data)Moved resources from the Ringtoets.Common.Forms to Core.Common.Gui Removed unused methods in ContextMenuStripExtensions Added expand all and collapse all items to the ContextMenuItemFactory. Moved ContextMenuBuilder and ContextMenuItemFactory to sub folder. Related to Issue [WTI-172]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@1008 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 9eefacfdd318334fb06e17b8a94422bee07e4674

  1. … 59 more files in changeset.
Introduced ContextMenuItemFactory which has the knowledge of the complete application context to create context menu items. Introduced IContextMenuProvider to separate the provision of a context menu from the rest of the RingtoetsGui responsibility. Added ContextMenu helper classes for FailureMechanism and PlaceholderWithReadOnlyName (probably temporary). Extended ContextMenuStripExtensions so that items can be inserted at a specific location. Copied resources to Core.Common.Gui project. Related to Issue [WTI-172]

git-svn-id: https://repos.deltares.nl/repos/WettelijkToetsInstrumentarium/trunk@996 5a3db67b-de53-47b5-99c8-a1c30a6650e2

Former-commit-id: 17148f43f03d7805a77779e802385137ccb83949

    • -0
    • +9
    ./IContextMenuProvider.cs
  1. … 18 more files in changeset.