View | Details | Raw Unified | Return to bug 247544 | Differences between
and this patch

Collapse All | Expand All

(-)UI/org/eclipse/rse/internal/ui/view/SystemViewPart.java (-1 / +4 lines)
Lines 33-38 Link Here
33
 * David Dykstal (IBM) - [216858] Need the ability to Import/Export RSE connections for sharing
33
 * David Dykstal (IBM) - [216858] Need the ability to Import/Export RSE connections for sharing
34
 * Kevin Doyle 	 (IBM) - [186769] Enable Contributions to Drop Down menu of Remote Systems view -> Preferences
34
 * Kevin Doyle 	 (IBM) - [186769] Enable Contributions to Drop Down menu of Remote Systems view -> Preferences
35
 * David McKnight (IBM)  - [244807] System view does not handle restore from cache
35
 * David McKnight (IBM)  - [244807] System view does not handle restore from cache
36
 * David McKnight (IBM)  - [247544] [performance] Restoring Selection on Restart can cause the UI to freeze
36
 *******************************************************************************/
37
 *******************************************************************************/
37
38
38
package org.eclipse.rse.internal.ui.view;
39
package org.eclipse.rse.internal.ui.view;
Lines 1522-1529 Link Here
1522
1523
1523
		protected IStatus doSelect(IProgressMonitor monitor)
1524
		protected IStatus doSelect(IProgressMonitor monitor)
1524
		{
1525
		{
1526
			// for defect 247544, we should only select first item on restart if the selection size is huge
1525
			Vector v = new Vector();
1527
			Vector v = new Vector();
1526
			for (int i = 0; i < _remoteObjectsToSelect.size(); i++){
1528
			int MAX_SELECT = 100;			
1529
			for (int i = 0; i < _remoteObjectsToSelect.size() && i < MAX_SELECT; i++){
1527
1530
1528
				Object object = _remoteObjectsToSelect.get(i);
1531
				Object object = _remoteObjectsToSelect.get(i);
1529
				if (object instanceof RemoteObject)
1532
				if (object instanceof RemoteObject)

Return to bug 247544