Summary: | [Filters] Renaming a folder directly under a Filter doesn't update children | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Tools] Target Management | Reporter: | Kevin Doyle <kjdoyle> | ||||||
Component: | RSE | Assignee: | Kevin Doyle <kjdoyle> | ||||||
Status: | CLOSED FIXED | QA Contact: | Martin Oberhuber <mober.at+eclipse> | ||||||
Severity: | normal | ||||||||
Priority: | P3 | CC: | dmcknigh | ||||||
Version: | 2.0 | Keywords: | contributed | ||||||
Target Milestone: | 2.0.1 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Kevin Doyle
2007-08-01 15:14:57 EDT
Created attachment 75156 [details]
SystemViewRemoteFileAdapter no longer fires a refresh event, instead the rename event does the refresh
This patch does the following:
1. Removes the fired EVENT_REFRESH_REMOTE from SystemViewRemoteFileAdapter.doRename().
2. SystemView's handling of SYSTEM_REMOTE_RESOURCE_RENAMED now refreshes the renamed object if it has children.
We also no longer lose the selection when doing a rename!
Legal Message: I, Kevin Doyle, declare that I developed attached code from
scratch, without referencing any 3rd party materials except material licensed
under the EPL. I am authorized by my employer, IBM Canada Ltd. to make this
contribution under the EPL.
Could you add some comments to explain why you commented out that code that was there in the adapter? We'll probably want to get rid of the code altogether, but for now, it would be nice to leave it commented with an explanation why it's not used anymore. Created attachment 75167 [details]
Updated with comments.
Updated to include comments for why the refresh event was commented out.
I've committed the changes. Thanks. Verified fixed with 2.0.1RC1. |