Results 1 to 2 of 2
Thread: Drag&Drop of a file in an editor
- 07-04-2008, 03:12 PM #1
Member
- Join Date
- Jul 2008
- Posts
- 2
- Rep Power
- 0
Drag&Drop of a file in an editor
Hello everybody !
Files drag&drop in an editor usually open them. What I'd like to do is to create another drag&drop (for example hitting ALT when making the drag&drop movement) that, instead of open the file, would retrieve the file contents, or at least its path, to insert a part of these contents in the editor...
I tried to add an extension : org.eclipse.ui.dropActions. It generated a dropActionDelegate class. But this class seems not to be called when I make drag&drops.
Is there a link to add between the editor and this dropActionDelegate class ?
Do you have an idea how to do this particular drag&drop ???
Thanks !!!
- 07-05-2008, 11:57 AM #2
Member
- Join Date
- Jul 2008
- Posts
- 2
- Rep Power
- 0
Similar Threads
-
help with drag and drop on JList
By ysl530 in forum AWT / SwingReplies: 4Last Post: 01-22-2011, 04:58 PM -
Mouse drag and drop to draw
By Java Tip in forum java.awtReplies: 0Last Post: 06-23-2008, 11:16 PM -
Undo Folder Drag and Drop
By natel in forum EclipseReplies: 0Last Post: 04-08-2008, 11:01 PM -
Drag and drop
By abhivenugopal in forum JavaServer Pages (JSP) and JSTLReplies: 0Last Post: 01-30-2008, 02:10 PM -
help drag and drop in JTabbedPane
By RO86 in forum AWT / SwingReplies: 0Last Post: 08-14-2007, 01:22 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks