Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 113457 Details for
Bug 247544
[performance] Restoring Selection on Restart can cause the UI to freeze
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch to only store one selected item on shutdown
patch.txt (text/plain), 1.56 KB, created by
David McKnight
on 2008-09-25 10:07:08 EDT
(
hide
)
Description:
patch to only store one selected item on shutdown
Filename:
MIME Type:
Creator:
David McKnight
Created:
2008-09-25 10:07:08 EDT
Size:
1.56 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.rse.ui >Index: UI/org/eclipse/rse/internal/ui/view/SystemViewPart.java >=================================================================== >RCS file: /cvsroot/dsdp/org.eclipse.tm.rse/plugins/org.eclipse.rse.ui/UI/org/eclipse/rse/internal/ui/view/SystemViewPart.java,v >retrieving revision 1.39 >diff -u -r1.39 SystemViewPart.java >--- UI/org/eclipse/rse/internal/ui/view/SystemViewPart.java 22 Aug 2008 13:00:36 -0000 1.39 >+++ UI/org/eclipse/rse/internal/ui/view/SystemViewPart.java 25 Sep 2008 14:05:49 -0000 >@@ -33,6 +33,7 @@ > * David Dykstal (IBM) - [216858] Need the ability to Import/Export RSE connections for sharing > * Kevin Doyle (IBM) - [186769] Enable Contributions to Drop Down menu of Remote Systems view -> Preferences > * David McKnight (IBM) - [244807] System view does not handle restore from cache >+ * David McKnight (IBM) - [247544] [performance] Restoring Selection on Restart can cause the UI to freeze > *******************************************************************************/ > > package org.eclipse.rse.internal.ui.view; >@@ -1023,8 +1024,9 @@ > Object elements[] = ((IStructuredSelection) systemView.getSelection()).toArray(); > if ((elements != null) && (elements.length > 0)) > { >+ int MAX_SELECTION = 1; > IMemento selectionMem = memento.createChild(TAG_SELECTION); >- for (int i = 0; i < elements.length; i++) >+ for (int i = 0; i < elements.length && i < MAX_SELECTION; i++) > { > Object o = elements[i]; > ISystemViewElementAdapter adapter = systemView.getViewAdapter(o);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 247544
:
113299
| 113457