https://issues.apache.org/bugzilla/show_bug.cgi?id=52281

--- Comment #2 from Dan Corneanu <[email protected]> 2011-12-04 08:18:06 UTC ---
(In reply to comment #1)
> Created attachment 28021 [details]
> Dragging and Dropping files to JMeter
> 
> This is a quick hack that adds support for Dragging and Dropping files to
> JMeter.
> The  patch adds a TopLevelTransferHandler to the MainFrame. The transfer
> handler handles file drops.

The new class org.apache.jmeter.gui.action.LoadDraggedFile is a big hack. It
was added to this package just to open up access to the Close and Load
Command(s). How can this be implemented in a clean way, reusing the Close and
Load command?

1. would it be better to add a new Command for handling file drops? kind of
like LoadRecentProject.
2. How can the Transferable object from the TopLevelTransferHandler be passed
to the new command?

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to