| Summary: | [api] The default editor for a file is not updated when opened in RSE explorer | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Tools] Target Management | Reporter: | Alan Boxall <boxall> | ||||||
| Component: | RSE | Assignee: | David McKnight <dmcknigh> | ||||||
| Status: | RESOLVED FIXED | QA Contact: | Martin Oberhuber <mober.at+eclipse> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | dmcknigh | ||||||
| Version: | 3.2.1 | Keywords: | api | ||||||
| Target Milestone: | 3.3 M3 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 325601 | ||||||||
| Attachments: |
|
||||||||
|
Description
Alan Boxall
The problem is that, via the reusable cached SystemEditableRemoteFile, RSE keeps the original editor descriptor. In RSE 3.2, there is no API to change the editor descriptor but it is possible to circumvent that by using reflection. Created attachment 179054 [details]
patch to use reflection to set editor descriptor
Alan, could you see if this patch fixes the problem? I've committed the change to the HEAD stream and opened bug 325601 for the backport to the R3_2_maintenance stream. Marking as fixed. Created attachment 179129 [details]
3.3 version patch with set/get API for editor descriptor
For 3.3, since we can make binary compatible API changes, I've got a patch that doesn't use reflection.
Marking this patch committed to 3.3 (In reply to comment #4) > I've committed the change to the HEAD stream and opened bug 325601 for the > backport to the R3_2_maintenance stream. Dave - it looks like bug 325601 is for the R3_1_maintenance Stream, is this intentional ? For now, this fix is *not* committed / released to R3_2_maintenance. (In reply to comment #8) > (In reply to comment #4) > > I've committed the change to the HEAD stream and opened bug 325601 for the > > backport to the R3_2_maintenance stream. > > Dave - it looks like bug 325601 is for the R3_1_maintenance Stream, is this > intentional ? For now, this fix is *not* committed / released to > R3_2_maintenance. It is for the R3_2_maintenance stream. I think the target milestone was off. *** Bug 284598 has been marked as a duplicate of this bug. *** Since this is a dup of bug 284598 I understand that API has been added to support this? (In reply to comment #11) > Since this is a dup of bug 284598 I understand that API has been added to > support this? Yes, API was added. |