Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Linux Archive
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 07-04-2008, 05:12 PM
Member
 
Join Date: Jul 2008
Posts: 2
orl132 is on a distinguished road
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 !!!
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-05-2008, 01:57 PM
Member
 
Join Date: Jul 2008
Posts: 2
orl132 is on a distinguished road
Does anybody has an idea please ?

If you didn't understand my problem I can better explain you...
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mouse drag and drop to draw Java Tip java.awt 0 06-24-2008 01:16 AM
Undo Folder Drag and Drop natel Eclipse 0 04-09-2008 01:01 AM
Drag and drop abhivenugopal JavaServer Pages (JSP) and JSTL 0 01-30-2008 04:10 PM
help drag and drop in JTabbedPane RO86 AWT / Swing 0 08-14-2007 03:22 PM
help with drag and drop on JList ysl530 AWT / Swing 3 08-13-2007 07:38 PM


All times are GMT +3. The time now is 09:57 PM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org