Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [eclipse-dev] Opera/Mozilla style mouse/pen gesture recognition in Eclipse

I think this would be a great additon (as long as it is an option :), cuz
i've got addicted to Opera's gestures.

I will suggest that you at least try to adapt the gestures from either Opera
or Mozilla (I would prefer Opera) as
gestures quickly grows at you and it is hard to changes between applications
that has differnt interpretation of which gestures does what :)

For your pleasure here is Operas gestures :) (2 lines means - there are two
ways to "execute" it)

Window gestures

1. Click and hold right mouse button
2. Move the mouse in the indicated directions
3. Release the right mouse button

Up, then down

Restore or maximize window
Up, then right

Down, then left

Create a new browser window

Duplicate window
Down, then up

Close window
Down, then right

Navigation gestures

These gestures are maybe the most popular ones. They go to the previous and
next pages in the page history.

Previous page in history
Press right button, click left button
Press right button, move mouse left

Next page in history
Press left button, click right button
Press right button, move mouse right

Go to parent directory
Up, then left

Create new, empty browser window
Double-click in workspace

Go to pre-set home page
Double-click in empty window

Link gestures

Point your mouse to a link
Click and hold right mouse button
Move the mouse in the indicated directions
Release the right mouse button

Open link in a new window in the foreground

Open link in a new window in the background
Down, then up

Wheel gestures

These gestures require that you have a mouse with a wheel on it.

Scroll up and down
Roll the wheel back and forth

Jump from one window to the next
Press right mouse button, roll wheel

Zoom in and out
Press Ctrl key down, roll wheel

Move back and forth in page history
Press Shift key down, roll wheel

Click wheel, move mouse

If your mouse has three buttons but not a wheel, clicking the middle button
has the same effect as clicking the wheel.

----- Original Message -----
From: "Chris McLaren" <Chris_McLaren@xxxxxxx>
To: <eclipse-dev@xxxxxxxxxxx>; <platform-ui-dev@xxxxxxxxxxx>
Sent: Tuesday, November 26, 2002 9:06 PM
Subject: [eclipse-dev] Opera/Mozilla style mouse/pen gesture recognition in

> As an experiment, I've added to Eclipse support for recognizing mouse
> gestures, a feature of Opera and Mozilla fame. This feature will appear in
> the next build.
> To make a gesture, click and hold the right mouse button in an editor,
> move the mouse according to the following table. Release the button to
> complete the gesture and execute the action. An unrecognized gesture (like
> a simple right-click) will default to opening the editor's right-click
> popup menu. The gesture recognizer should be reasonably forgiving of 'poor
> penmanship'.
>       RIGHT                   Go forward in the history
>       LEFT                    Go backward in the history
>       UP                      Save the current file
>       UP then LEFT            Save all files
>       DOWN                    Close the current file
>       DOWN then LEFT          Close all files
>       RIGHT then LEFT         Cut the selected text
>       RIGHT then UP           Copy the selected text
>       RIGHT then DOWN         Paste the selected text
> These nine gestures were picked out of my hat for this experiment, but
> should response for this feature be positive, I will add support for
> plugins to contribute mouse gestures as well as a preference page for
> to 'train' Eclipse to recognize new gestures and assign them to specific
> actions (the same set of actions available to key binding customization).
> Technical note: Gestures are recognized when clicking within any
> AbstractTextEditor. This class is used for editing text and java files,
> among others, but you will probably encounter editors for which this
> functionality is not currently enabled.
> Please comment on this feature, as it was not on the original 2.1 plan.
> Thanks,
> Chris.
> _______________________________________________
> eclipse-dev mailing list
> eclipse-dev@xxxxxxxxxxx

Back to the top