Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Set sorting column using keyboard
Set sorting column using keyboard [message #523427] Fri, 26 March 2010 13:00 Go to next message
Krum Tsvetkov is currently offline Krum TsvetkovFriend
Messages: 165
Registered: July 2009
Senior Member
I am trying to make the Memory Analyzer reasonably usable with just a keyboard. My problem is that I cannot find a way to set the sort column and direction in a Table or a Tree using the keyboard.

Are there some shortcuts / key combinations for this? Or is there a standard/recommended way to do this?

If not I guess I'll add some entries to our context menus. I just wanted to figure out if something is already existing.

Thanks in advance for any hints!
Re: Set sorting column using keyboard [message #523826 is a reply to message #523427] Mon, 29 March 2010 13:59 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Hi,

There isn't an existing key combination, and since column headers are not
keyboard-traversable, adding a key combination of your choice is what you
need to do. Google found me a couple of cases where S is being used (ie.-
either a menu item with mnemonic 's', or an accelerator with
Ctrl+S/Ctrl+Shift+S for ascending/descending order). I don't know if a
couple of google matches makes this "standard" though, it's possible that
there isn't a standard key combination that's widely used for this.
Browsing around at some other apps with this functionality will likely give
you a feel for how common 's' is for sorting a column.

Grant


"Krum Tsvetkov" <krum.tsvetkov@sap.com> wrote in message
news:hoib5h$no8$1@build.eclipse.org...
> I am trying to make the Memory Analyzer reasonably usable with just a
keyboard. My problem is that I cannot find a way to set the sort column and
direction in a Table or a Tree using the keyboard.
>
> Are there some shortcuts / key combinations for this? Or is there a
standard/recommended way to do this?
>
> If not I guess I'll add some entries to our context menus. I just wanted
to figure out if something is already existing.
>
> Thanks in advance for any hints!
Re: Set sorting column using keyboard [message #523829 is a reply to message #523826] Mon, 29 March 2010 14:21 Go to previous message
Krum Tsvetkov is currently offline Krum TsvetkovFriend
Messages: 165
Registered: July 2009
Senior Member
Thanks for the quick reply and the suggested alternatives!
Previous Topic:Little problem with FormattedText
Next Topic:Setting cell focus in TableViewer
Goto Forum:
  


Current Time: Fri Dec 06 15:01:17 GMT 2024

Powered by FUDForum. Page generated in 0.03752 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top