×

System and method for smart drag-and-drop functionality

  • US 7,370,281 B2
  • Filed: 06/25/2002
  • Issued: 05/06/2008
  • Est. Priority Date: 02/22/2002
  • Status: Expired due to Term
First Claim
Patent Images

1. A method of providing a smart drag-and-drop mechanism for use in a graphical user interface environment, comprising the steps of:

  • allowing a user of a system to drag a plurality of source code files into an explorer interface at the system, wherein each of the plurality of source code files includes a source code text, software class declarations, and a package statement defined within the text of the source code that identifies a name space and a correct destination directory into which the software classes are to be stored;

    after receiving an instruction from the user to drop the plurality of source code files into a vacant portion of the explorer interface, other than onto a particular folder;

    determining that the instruction is for a smart drop;

    independently for each source code file within the plurality of source code filessearching within the text of the source code for the package statement defined therein, and the name space identified by the package statement;

    determining a destination directory hierarchy that corresponds to the name space identified in the package statement, including creating the destination directory hierarchy for the name space if it does not already exist;

    one of copying or moving the source code file into the correct destination directory within said directory hierarchy that matches the name space identified in the package statement for that source code file; and

    repeating the steps of searching, determining, and one of copying or moving, for each of the plurality of source code files that were dropped;

    wherein, for each source code file that is copied or moved using a smart drop, the destination directory hierarchy and the destination directory for that source code file is automatically determined by the system using the package statement within that source code file, independently of any folder currently selected by the user or any of the other source code files being copied or moved at the same time.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×