xenadmin/XenAdmin/Controls/XenSearch
Konstantina Chremmou 90589a30c9 Modified treeview and toolbar updates (#2264)
This PR is aimimg to (1) fix a regression introduced by #2223 whereby the toolbar items did not have the correct state on first launch; (2) improve performance by removing some updates which I believe are not needed.

* Removed some duplicate calls to RefershTreeView and UpdateToolbars because
they are called within the action's Complete event handler.
Also, normalise the way the treeview refresh is requested by the various actions the
commands are launching.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>

* Removed some explicit calls to refresh the treeview since this is done by
the connection result handlers.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>

* The toolbars and tabs should be updated every time the treeview is refreshed.

This should happen when the refresh event is handled rather than calling
UpdateToolbars explicitly after a treeview refresh is requested; also, it is
the treeview refreshes that should be throttled and not the toolbar and
tab updates (the throttling mechanism may need correction).
Also, removed unnecessary Invoke as we are already on the UI thread.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>

* Simplified UpdateManager.Update event declaration.

Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com>
2018-10-16 16:24:54 +01:00
..
DropDownComboButton.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
FolderNavigator.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
FolderNavigator.Designer.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
FolderNavigator.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
FolderNavigator.resx CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
FolderNavigator.zh-CN.resx L10N:Translations check-ins 2016-12-21 16:20:30 +00:00
GroupingControl.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
GroupingControl.Designer.cs CP-4961 New icons for CAR-107 2014-06-03 16:49:13 +01:00
GroupingControl.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
GroupingControl.resx CP-5752: Renamed "Add Group" button to "More", changed its image and moved it closer 2013-08-03 01:04:47 +01:00
GroupingControl.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
QueryElement.cs Namespace tidy 3/several: replaced XenAdmin.Core (instances in XenCenterLib) with XenCenterLib. 2017-11-30 13:56:32 +00:00
QueryElement.Designer.cs CA-201576: *Windows Update* filter search in XC not properly fit into box 2016-03-02 17:37:28 +00:00
QueryElement.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
QueryElement.resx CA-201576: *Windows Update* filter search in XC not properly fit into box 2016-03-02 17:37:28 +00:00
QueryElement.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
QueryPanel.cs Modified treeview and toolbar updates (#2264) 2018-10-16 16:24:54 +01:00
QueryPanel.ja.resx CA-235459 - G11n:SC: The numeric tag for “Disks” and “Network” is ove… (#1693) 2017-07-21 16:15:29 +01:00
QueryPanel.resx CA-235459 - G11n:SC: The numeric tag for “Disks” and “Network” is ove… (#1693) 2017-07-21 16:15:29 +01:00
QueryPanel.zh-CN.resx CA-235459 - G11n:SC: The numeric tag for “Disks” and “Network” is ove… (#1693) 2017-07-21 16:15:29 +01:00
ResourceSelectButton.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
Searcher.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
Searcher.Designer.cs CP-4961 New icons for CAR-107 2014-06-03 16:49:13 +01:00
Searcher.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
Searcher.resx CA-201576: *Windows Update* filter search in XC not properly fit into box 2016-03-02 17:37:28 +00:00
Searcher.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
SearchFor.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
SearchFor.Designer.cs CA-201576: *Windows Update* filter search in XC not properly fit into box 2016-03-02 17:37:28 +00:00
SearchFor.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
SearchFor.resx CA-201576: *Windows Update* filter search in XC not properly fit into box 2016-03-02 17:37:28 +00:00
SearchFor.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
SearchForCustom.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
SearchForCustom.Designer.cs CP-4816: Initial commit to git repo 2013-06-24 12:41:48 +01:00
SearchForCustom.ja.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
SearchForCustom.resx CP-15398: Remove enbedded icons 2016-01-19 18:40:56 +08:00
SearchForCustom.zh-CN.resx L10N : Dundee translation checkins Iteration 01 2016-03-21 16:45:35 +05:30
SearchOutput.cs CA-176169: Changed copyright statements to include the comma in Citrix Systems, 2017-01-16 19:59:50 +00:00
SearchOutput.Designer.cs CP-5752: Moved ShowColumns functionality from the SearchOptions dropdown menu to 2013-08-03 01:04:36 +01:00
SearchOutput.ja.resx L10N: Ely:Translation check-ins 2016-09-15 16:47:31 +05:30
SearchOutput.resx CA-150200: EN: Duplicate hotkeys for “Storage” and “Show Columns” under Citrix XenCenter. 2016-08-09 10:31:55 +01:00
SearchOutput.zh-CN.resx L10N: Ely:Translation check-ins 2016-09-15 16:47:31 +05:30