xenadmin/XenAdmin/Actions/GUIActions
Mihaela Stoica bc4a364f23 CA-140335: Fixed the problems with dismissing alerts
Changes to the DeleteAllAlertsAction:
- when the dismiss operation fails with INVALID_HANDLE we need to remove the alert from our alert list (XenCenterAlerts) and trigger the CollectionChanged event so that the alert count gets updated.
- the action title now says "Removing <n> alerts" when dismissing all/selected alerts and "Removing alert" when dismissing single alert (instead of "Removing all alerts" in all cases)
- move the initialization of Dismissing flag outside the action (see below)

This fix also includes changes so that the Dismissing flag works as intended: to be able to hide the dismissing alerts in the Alerts view immediately, rather than one by one when they were actually deleted, causing a large number of refreshes.
On dismissing alerts we do:
1. set dismissing to true for all alerts
2. rebuild alert list (this will filter out the dismissing alerts)
3. dismiss alerts - run the DismissAllAlerts action

Also, the action buttons on each row should only apply to the clicked row (not multiselect).

Signed-off-by: Mihaela Stoica <mihaela.stoica@citrix.com>
2014-07-29 10:19:54 +01:00
..
Wlb Refactored MainWindow to derive from IMainWindow rather than implement a field deriving 2014-01-22 12:39:32 +00:00
DeleteAllAlertsAction.cs CA-140335: Fixed the problems with dismissing alerts 2014-07-29 10:19:54 +01:00
ExternalPluginAction.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
GeneralEditPageAction.cs CA-136173: Getting several notifications for one user-level action (e.g. Updating network operation creates 4 entries in the Notifications/Events view) 2014-07-21 11:19:04 +01:00
IgnorePatchAction.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
IgnoreServerAction.cs Moved constant "XenCenter.LastSeenServerVersion" from Updates.cs to IgnoreServerAction.cs 2014-01-08 12:33:32 +00:00
MeddlingAction.cs CA-108676: Put the Heartbeat and event.next sessions on their own ConnectionGroups. 2014-06-30 14:21:42 +01:00
MeddlingActionManager.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
MeddlingActionTaskSpecifications.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
SaveCustomFieldsAction.cs CA-136173: Getting several notifications for one user-level action (e.g. Updating network operation creates 4 entries in the Notifications/Events view) 2014-07-21 11:19:04 +01:00
SaveDataSourceStateAction.cs CP-6317: Importing from branch clearwater-ln. 2013-09-26 14:45:26 +01:00
SearchAction.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00