| Summary: | Remote System view looses selection when creating a new project | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] Target Management | Reporter: | Martin Oberhuber <mober.at+eclipse> | ||||
| Component: | RSE | Assignee: | Martin Oberhuber <mober.at+eclipse> | ||||
| Status: | RESOLVED FIXED | QA Contact: | Martin Oberhuber <mober.at+eclipse> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | ||||||
| Version: | 3.2.1 | ||||||
| Target Milestone: | 3.3 M3 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | |||||||
| Bug Blocks: | 326913, 326922 | ||||||
| Attachments: |
|
||||||
|
Description
Martin Oberhuber
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. |