Community
Participate
Working Groups
CQ:WIND00235145 Build ID: TM 3.2.1 on Eclipse 3.6.1 The Remote Systems view looses the selection, when a new-wizard is used to create a new file or project. This is annoying since RSE offers context sensitive actions, like Refresh which requires the user to select the resource twice. To reproduce: - Start Ecilpse open the resource perspective - Open the Remote Systems view - Select any file in the "Local Files" subsystem - Create a simple Eclipse Project (File > New Project; General > Project) - Click Finish -> The RSE selection is gone
Created attachment 180153 [details] Patch fixing the issue When a new-wizard is finished creating an item, it uses the ISetSelectionTarget interface to reveal that item in any views that support it. Since the RSE View can be filled with any kind of items, it always tries to reveal the new item. The problem is, that in case the new item is not available in the RSE view, selection is set to empty. Attached patch fixes this by preserving the current selection, and restoring it in case the selectAndReveal() results in making the selection empty.
Committed to 3.3 / HEAD.