Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 82939 - Enable drag-n-drop from cvs repository view to cvs resource history view
Summary: Enable drag-n-drop from cvs repository view to cvs resource history view
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Team (show other bugs)
Version: 3.1   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform Team Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 80684 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-01-16 23:51 EST by Eugene Kuleshov CLA
Modified: 2005-02-10 17:38 EST (History)
1 user (show)

See Also:


Attachments
Attempt to create CvsResourceTransfer object for DND (6.19 KB, patch)
2005-01-16 23:57 EST, Eugene Kuleshov CLA
no flags Details | Diff
Enable drag-n-drop from CVS Repositories View to CVS Resource History View (10.33 KB, patch)
2005-02-10 15:41 EST, Eugene Kuleshov CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Eugene Kuleshov CLA 2005-01-16 23:51:45 EST
Currently CVS Resource History view allow to conveniently drop links from
Synchronize and Package Explorer views. It will be also handy to be able to drop
links from CVS Repositories view in order to see history of remote resource.
Comment 1 Eugene Kuleshov CLA 2005-01-16 23:57:40 EST
Created attachment 17191 [details]
Attempt to create CvsResourceTransfer object for DND

I tried to enable dragging from CVS Resositories view (see attached patch), but
for some reason it does not work. Method dragSetData() on DragSourceListener
that I've added to repositoris view is not being called after method
dragStart() sets event.doit = true. Please advise what am I doing wrong and
thank you in advance.
Comment 2 Michael Valenta CLA 2005-01-17 09:28:33 EST
*** Bug 80684 has been marked as a duplicate of this bug. ***
Comment 3 Michael Valenta CLA 2005-01-26 10:12:03 EST
Eugene, I'm not an expert on drag and drop so I can't really help you with 
your question. You may want to ask a more specific question on the eclise-
platform newsgroup (i.e. give a code snipet and ask why it doesn't work). You 
may get your answer there. We don't plan on addressing this is 3.1 ourselves.
Comment 4 Eugene Kuleshov CLA 2005-02-10 15:41:51 EST
Created attachment 17836 [details]
Enable drag-n-drop from CVS Repositories View to CVS Resource History View
Comment 5 Michael Valenta CLA 2005-02-10 16:15:28 EST
Patch looks good. Released to HEAD (and will be in M5;-)
Comment 6 Eugene Kuleshov CLA 2005-02-10 17:38:23 EST
Great! Thanks for your help Michael.