Community
Participate
Working Groups
The e4 resource improvements brought many drag and drop improvements to the navigator view (see "Drag and Drop auto-generation of linked resources ") in the following post for an illustration of one of the improvements http://sergebeauchamp.blogspot.com/2009/01/latest-e4-resource-changes.html. The improvements include: - Automatically converting the copy/move semantic to create link/groups when the drop target is a group. - Optionally displaying a dialog to import a hierarchy of files in folders from the file system into a file structure of linked resources and groups. In order to bring those improvements to the JDT and CDT navigator view, the Common Navigator Framework should be improve so that it provides the necessary common code to support the e4 resource drag and drop improvements.
*** Bug 267349 has been marked as a duplicate of this bug. ***
Created attachment 134057 [details] Support for e4 resource semantics (groups and linked resources) Here is the patch that adds the ui.ide navigator features to the CNF. This patch is not sufficient, though, because it misses a mechanism to select the common navigator resource drop assistant over other assistant that conflict over the same resources (namely the JDT). For debugging purposes, I handle that with a small hack in the CNF DNDService that always asks the CNF resource assistant first, but this is not obviously not the proper way to fix it. One solution would be for the JDT to stop handling cases that are already supported by the CNF resource assistant. Another solution, more general and appropriate, would be to have some kind of automatic conflict resolution mechanism, since this problem is likely to happen when more and more clients are using the CNF.
Created attachment 134058 [details] Hack to the CNF to make the CNF resource DND assistant have precedence Hack to the CNF to make the CNF resource DND assistant have precedence Hack to the CNF to make the CNF resource DND assistant have precedence
Anyone know how to either add Francis Upton - the CNF lead- to this bug (I don't have his email), or add this bug to the CNF "bucket"?
Adding Francis to get his comments on how to resolve dnd assistant conflicts.
Patch now integrated in e4 as of v20090716-1930.
fixed in I20100311-1616