Namespace TabularEditor.Shared.Interaction
Classes
NamedObjectEditableCollection<T>
Provides a set of methods for changing multiple object properties at once, as well as accessing specific items by name.
Selection
Provides a range of collections containing the TOM objects that are currently selected in the TreeView. Each collection is statically typed, making it very easy to work with the objects in the collection. A handful of convenient methods for adding, deleting, duplicating and changing multiple object's properties at once are also provided.
If one or more Display Folders are selected, their child objects are also considered selected.
Additionally, a range of properties have been provided, to give some overall information about the selection.
SelectionException
The exception that is thrown when accessing an unavailable member of the current Selection. For example, accessing the Table property when no tables, or more than one table, have been selected in the TOM Explorer.
SelectionHelper
Enums
Context
Determines the context of the current selection in the Explorer Tree. Only one of the contexts can be selected at a time. For example, it is not possible to simultaneously select a table and a data source. Objects inside tables (columns, measures, hierarchies, folders) may be simultaneously selected, and therefore the context when one or more of these objects are selected is simply "TableObject".
While a given selection in the Explorer Tree can only have one context, it is possible for context menu items to be visible under several contexts, which is why the enum is treated as Flags.