Re: Allow dropping files into an OutlineView
| Newsgroups | gmane.comp.java.ide.netbeans.user |
|---|---|
| Message-ID | <[email protected]> |
Thanks for the answer, but that doesn't look like a NetBeans Platform application using "OutlineView" Am 13.03.25 um 02:10 schrieb Tim de Vries: > Sure, look at tecreations FileTool or Backup. They show the way. > > Tim > > [email protected] > > On 2025-03-12 3:09 p.m., [email protected] wrote: >> Hello, >> >> I have a NetBeans platform application which uses an OutlineView. >> >> It is populated by loading files with a specific format for the application. Currently Drag & Drop is enabled to re-order nodes. >> >> I would like to also support dropping files into that OutlineView from the system's file explorer (e.g. Dolphin on KDE) >> >> But I can't find a way to tell the outlineview to accept such a drag, and even if I could, I don't know how to react to the drop event. >> >> OutlineView uses OutlineViewDropSupport to handle all drag related actions. But that class is final, so I can not extend it. >> >> Any suggestions? >> >> I am using NetBeans 24. >> >> Thanks >> Thomas --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists