ktauber.com Java / LDAP Programming Printable Page
Copyright © 2001-2003 Karl Tauber.
All rights reserved.

Powered by phpCMS.

TextDragDrop OpenTool

Overview

The TextDragDrop OpenTool is an add-on for the Borland JBuilder IDE. It adds Text Drag and Drop operations to editor panes and File Drop capabilities to the menu bar, tool bar and content manager.

Text drag and drop editing is the easiest way to move or copy a selection of text within a file, between files, or between applications. The text you drop remains selected, which makes it easy to copy a chunk of text into several places.

File drop allows you to open files dragged from the Windows Explorer (or other file manager) and dropped on JBuilder (menu bar, tool bar and content manager).

NEW Double-click-and-drag expands the selection to the word at the mouse position and triple-click-and-drag to the line at the mouse position. The JBuilder default behavior is that the selection is expanded to the mouse position.

This OpenTool works together with the SelectionMargin OpenTool. It allows you to drop text onto the selection margin. The dropped text will be inserted at the beginning of the line.

Usage

To move text using drag-and-drop editing
  1. Select the text you want to move.
  2. Drag the selected text to the new location.
To copy text using drag-and-drop editing
  1. Select the text you want to copy.
  2. While holding down the CTRL key, drag the selected text to the new location.
To open a file using drag-and-drop
  1. Select the file in the Windows Exporer (or other file manager).
  2. Drag the selected file to the JBuilder menu bar, tool bar or content manager.

Installation

  1. Quit JBuilder.
  2. Copy the TextDragDropOpenTool.jar file into the <JBUILDER_HOME>/lib/ext directory where <JBUILDER_HOME> is the location of your JBuilder installation.
  3. Linux: Copy the cursor images from the cursors directory to the <JBUILDER_HOME>/jdk1.3/jre/lib/images/cursors directory (backup old files if necessary).
    The original Drag and Drop cursors (motif_MoveDrop32x32.gif for move and motif_CopyDrop32x32.gif for copy) are opaque. So you can not see the drop position. To solve this problem use the modified cursors. The new Drag and Drop cursors: motif_MoveDrop32x32.gif motif_CopyDrop32x32.gif
  4. Restart JBuilder.

Uninstall

  1. Quit JBuilder.
  2. Delete the TextDragDropOpenTool.jar file from the <JBUILDER_HOME>/lib/ext directory where <JBUILDER_HOME> is the location of your JBuilder installation.
  3. Restart JBuilder.

Compatibility

This OpenTool has been tested with JBuilder 4, 5, 6 and 7 under Windows and Linux. It should also work properly on other platforms.

Borland has integrated this OpenTool into JBuilder 8 (with my permission).

File drop does not work with KDE under Linux. Maybe it works with other window managers.

License

TextDragDrop OpenTool is free software,
licensed under the GNU General Public License (GPL).

Download

FileSizeDate
download TextDragDrop OpenTool 1.1 24 KB2002-11-02
download TextDragDrop OpenTool 1.1 Source Code 269 KB2002-11-02

Support

Please use the support forums to submit questions or report bugs.

History

Version 1.1 (2002-11-02)
  • Double-click-and-drag expands the selection to the word at the mouse position.
  • Triple-click-and-drag expands the selection to the line at the mouse position.
Version 1.0 (2002-05-26)
  • Initial release.
Version 0.9 BETA (2002-04-08) Version 0.8 BETA (2002-03-18) Version 0.7 BETA (2002-02-21)
  • First public beta.