diff options
| author | Roy <roy.mail.net@gmail.com> | 2018-02-14 22:52:00 +0200 |
|---|---|---|
| committer | Roy <roy.mail.net@gmail.com> | 2018-02-14 22:52:00 +0200 |
| commit | d5018576f325fb85983c4ad34c169d4b4e8d1a55 (patch) | |
| tree | 57e83d678e2221083b73a5289b506773868e1c63 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications | |
| parent | b934b152eea671fa06678baa0cdf7f8811e6d2d9 (diff) | |
| parent | b7b277736c7e3ec9258915cdd5a54e7b33ba1123 (diff) | |
| download | Tango-d5018576f325fb85983c4ad34c169d4b4e8d1a55.tar.gz Tango-d5018576f325fb85983c4ad34c169d4b4e8d1a55.zip | |
Merge branch 'master' of https://twinetfs.visualstudio.com/_git/Tango
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications/INotificationProvider.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications/INotificationProvider.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications/INotificationProvider.cs index 8161ce885..e1b6275bd 100644 --- a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications/INotificationProvider.cs +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.Common/Notifications/INotificationProvider.cs @@ -21,6 +21,11 @@ namespace Tango.MachineStudio.Common.Notifications ObservableCollection<TaskItem> TaskItems { get; } /// <summary> + /// Gets the collection of active bar items. + /// </summary> + ObservableCollection<BarItem> BarItems { get; } + + /// <summary> /// Gets the current displayed task item. /// </summary> TaskItem CurrentTaskItem { get; } @@ -44,12 +49,32 @@ namespace Tango.MachineStudio.Common.Notifications TaskItem PushTaskItem(String message); /// <summary> + /// Creates and push a new bar item from the specified framework element. + /// </summary> + /// <param name="element">The element.</param> + /// <returns></returns> + BarItem PushBarItem(FrameworkElement element); + + /// <summary> + /// Pushes the specified bar item. + /// </summary> + /// <param name="barItem">The bar item.</param> + /// <returns></returns> + BarItem PushBarItem(BarItem barItem); + + /// <summary> /// Removed the specified task item from the queue. /// </summary> /// <param name="taskItem">The task item.</param> void PopTaskItem(TaskItem taskItem); /// <summary> + /// Removed the specified bar item. + /// </summary> + /// <param name="barItem">The bar item.</param> + void PopBarItem(BarItem barItem); + + /// <summary> /// Creates a new instance of the specified View type and displays it as a modal dialog. /// </summary> /// <typeparam name="View">The type of the view.</typeparam> |
