I see, but why handle desktop files any differently than regular files? If I take a text file or image file, and drag it onto the dock, even if I'm dropping it on top of another Item Provider it will be added to the dock. What seems to happen is that the dropped provider said "idno what to do with this file", and passed it along to the DefaultProvider (the FileApplicationItemProvider present on each dock), which then takes care of it. Surely if it works for every other type of file, it'll work for .destkop files.
I understand what you're saying, I just don't like the idea of DockWindow becoming the "dumping ground" that it already is. We already "special case" so much inside of DockWindow, and there doesn't seem to be a good, legitimate reason as to why we _must_ special case desktop files and put it in DockWindow as well.
I see, but why handle desktop files any differently than regular files? If I take a text file or image file, and drag it onto the dock, even if I'm dropping it on top of another Item Provider it will be added to the dock. What seems to happen is that the dropped provider said "idno what to do with this file", and passed it along to the DefaultProvider (the FileApplication ItemProvider present on each dock), which then takes care of it. Surely if it works for every other type of file, it'll work for .destkop files.
I understand what you're saying, I just don't like the idea of DockWindow becoming the "dumping ground" that it already is. We already "special case" so much inside of DockWindow, and there doesn't seem to be a good, legitimate reason as to why we _must_ special case desktop files and put it in DockWindow as well.