Menu

#219 Drag-and-drop support for interactions pane

open
nobody
5
2004-07-09
2004-07-09
Dan Smith
No

A .java file dragged from the file list pane into the
interactions window causes an import statement for each
class in the file to be entered into the interactions.
A project folder imports the entire class.

This would make interactive testing easier, eliminating
the need to import the class that's being tested.

Discussion

  • Charles Reis

    Charles Reis - 2004-07-09

    Logged In: YES
    user_id=429731

    What about automatically importing the packages of open
    classes instead?

    I'd be concerned with drag-and-drop, because I had no idea
    what the intended result was without reading the rest of the
    feature request (and I would never have guessed importing).
    Unfortunately, even auto-import is a little unintuitive and
    could lead to strange behavior. If not auto-import, perhaps
    a contextual menu item by right clicking on the document
    name or project folder?

     
  • Jonathan Lugo

    Jonathan Lugo - 2004-07-09

    Logged In: YES
    user_id=952966

    The context menu item would not be difficult to implement at
    all. Each document is already capable of returning the
    package declared in its text. I assume there's already an
    easy means of actually inputting/executing commands in the
    interactions.