diff options
author | Tor Norbye <tnorbye@google.com> | 2011-07-10 22:22:08 -0700 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2011-07-11 15:11:28 -0700 |
commit | 8f6e2fc89af2a75e05608d9ee1c648171ea47d83 (patch) | |
tree | 0a5ebcca66ec62954bbfbc8a7a28abc50481e15d /eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/api | |
parent | 1f7f0ca197c2844185cf82fd6913138d53ee99e3 (diff) | |
download | sdk-8f6e2fc89af2a75e05608d9ee1c648171ea47d83.zip sdk-8f6e2fc89af2a75e05608d9ee1c648171ea47d83.tar.gz sdk-8f6e2fc89af2a75e05608d9ee1c648171ea47d83.tar.bz2 |
Add resize feedback tooltip
This changeset adds a "tooltip" during resize operations close to the
mouse cursor which displays feedback about the current resize
dimensions.
The feedback window is similar in appearance to a tooltip, but unlike
SWT tooltips it moves with the cursor and updates the text
dynamically, and appears immediately rather than being tied to mouse
motion timeouts. It is also partially translucent and uses a slightly
smaller font.
Change-Id: I6b663510f078f325d2f7b168c887aeff14de31b8
Diffstat (limited to 'eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/api')
-rwxr-xr-x | eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/api/DropFeedback.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/api/DropFeedback.java b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/api/DropFeedback.java index 855d8b0..551cb3c 100755 --- a/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/api/DropFeedback.java +++ b/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/api/DropFeedback.java @@ -142,6 +142,12 @@ public class DropFeedback { public String errorMessage; /** + * A message to be displayed in a tooltip to the user, which should be short, but + * can be multiple lines (use embedded newlines) + */ + public String tooltip; + + /** * A mask of the currently held keyboard modifier keys - some combination of * {@link #MODIFIER1}, {@link #MODIFIER2}, {@link #MODIFIER3}, or none. */ |