mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
[193380] Kevin's patch to avoid full refresh when deleting connection
This commit is contained in:
parent
66e6b8bb92
commit
8e07b5c675
1 changed files with 2 additions and 1 deletions
|
@ -30,6 +30,7 @@
|
||||||
* Martin Oberhuber (Wind River) - [190271] Move ISystemViewInputProvider to Core
|
* Martin Oberhuber (Wind River) - [190271] Move ISystemViewInputProvider to Core
|
||||||
* Kevin Doyle (IBM) - [194602] handleDoubleClick does expand/collapse on treepath instead of element
|
* Kevin Doyle (IBM) - [194602] handleDoubleClick does expand/collapse on treepath instead of element
|
||||||
* David McKnight (IBM) - [194897] Should not remote refresh objects above subsystem.
|
* David McKnight (IBM) - [194897] Should not remote refresh objects above subsystem.
|
||||||
|
* Kevin Doyle - [193380] Deleting connection Refresh's Entire Remote Systems view
|
||||||
********************************************************************************/
|
********************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.internal.ui.view;
|
package org.eclipse.rse.internal.ui.view;
|
||||||
|
@ -1898,7 +1899,7 @@ public class SystemView extends SafeTreeViewer
|
||||||
if ((parentItem instanceof Item) && !getExpanded((Item) parentItem))
|
if ((parentItem instanceof Item) && !getExpanded((Item) parentItem))
|
||||||
refresh(parent); // flush memory
|
refresh(parent); // flush memory
|
||||||
else if (parentItem instanceof Tree) {
|
else if (parentItem instanceof Tree) {
|
||||||
refresh();
|
if (_originatingViewer != null) _originatingViewer.remove(multiSource);
|
||||||
} else {
|
} else {
|
||||||
wasSelected = isSelectedOrChildSelected(multiSource);
|
wasSelected = isSelectedOrChildSelected(multiSource);
|
||||||
if (wasSelected) clearSelection();
|
if (wasSelected) clearSelection();
|
||||||
|
|
Loading…
Add table
Reference in a new issue