Community
Participate
Working Groups
Move... button was added in bug 264901. Since we are on a preference page we don't actually create the new files in the workspace until OK or Apply is pressed. The move... dialog only checks workspace files conflicts. So it is possible to move two target definitions to the same place. When this happens, one overwrites the other which is lost forever. This is an uncommon case, but it is easily fixable. We just need to pass the list of 'moved' targets to the Move wizard. It can do an additional check to see if the path the user has chosen is already in the list and set an error message on the wizard.
Ankur, since you did the move button do you want to do this one?
Created attachment 127708 [details] Full Patch
Applied patch to HEAD with some changes. The patch did not hook up the preference page to use the functionality. To make hooking it up easier, I changed the filter list to be a collection so we can just pass in the location values stored in the fMoved map in the preference page.