Bug 102299 - [Mac] Dragging files to the dock icon does not work
Summary: [Mac] Dragging files to the dock icon does not work
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 3.1   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform UI Triaged CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 141101 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-30 07:31 EDT by Anjo Krank CLA
Modified: 2022-04-07 08:36 EDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anjo Krank CLA 2005-06-30 07:31:44 EDT
It would be great if one could drag .java files and other to the Eclipse icon in the Dock (any of those would 
do:).

Also it would be nice if one could set the "Default" app for .java files to Eclipse.

Both of these issues are probably related to #53260
Comment 1 Kim Horne CLA 2005-07-05 10:57:55 EDT
We have similar issues on Windows.  You can't set Eclipse as the default app to open certain files by the 
OS.
Comment 2 Andre Weinand CLA 2005-07-05 11:13:55 EDT
Two things are required for the Mac:

- we have to add a CFBundleDocumentTypes section to Info.plist
- SWT needs to accept the corresponding Apple events (open) and make them available thru API
Comment 3 Kim Horne CLA 2005-07-05 11:20:23 EDT
Out of curiosity, can the list provided by CFBundleDocumentTypes in the plist be contributed dynamically 
by the app once it's running?  
Comment 4 Andre Weinand CLA 2005-07-05 12:04:14 EDT
IIRC, only if we rewrite the Info.plist and tell the Finder to re-read the application bundle and update its 
database.
Will verify...
Comment 5 Kim Horne CLA 2005-07-05 13:41:06 EDT
I'm just wondering if we can make this functionality contributed via an extension instead of hardcoding 
it...
Comment 6 Kim Horne CLA 2005-07-05 13:58:15 EDT
(Incidentally, I have an ulterior motive - I was hoping to do something similar with dictionary support so 
that people could plug in Applescript handlers)
Comment 7 Eric Moffatt CLA 2007-06-25 13:27:28 EDT
Kim, if there's going to be movement on this one you'll likely have to drive it. I'd be glad to discuss approaches and/or look at a patch but I'm simply not familiar enough with the Mac's dock area semantics to be much use...
Comment 8 Kim Horne CLA 2007-07-16 14:25:30 EDT
Eric, I'll take this one for my bucket.  This doesn't really have anything to do with trim or dragging in the eclipse sense.
Comment 9 Scott CLA 2009-03-13 19:48:20 EDT
Is this issue still being looked at?  I was going to start looking into adding this ability, so if any knowledge about where to add the hook to listen for the appropriate carbon event is I would appreciate it.
Comment 10 Boris Bokowski CLA 2009-07-10 12:12:23 EDT
http://wiki.eclipse.org/Platform_UI/How_to_Contribute

Eclipse (SWT) has moved to Cocoa. Not sure if the necessary hooks are different in Carbon vs. Cocoa.
Comment 11 Boris Bokowski CLA 2009-11-26 12:03:31 EST
Prakash is now responsible for watching bug in the [Mac] component area.
Comment 12 Prakash Rangaraj CLA 2010-08-03 02:32:56 EDT
*** Bug 141101 has been marked as a duplicate of this bug. ***
Comment 13 Lars Vogel CLA 2019-09-24 13:57:59 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.