Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Palette keyboard usage
Palette keyboard usage [message #245933] Sun, 26 October 2008 19:30 Go to next message
Brian Farn is currently offline Brian FarnFriend
Messages: 2
Registered: July 2009
Junior Member
How does a user use the keyboard to drag a palette item from the GEF palette to drop onto an editor?

Brian Farn
farn@ca.ibm.com
Re: Palette keyboard usage [message #245937 is a reply to message #245933] Mon, 27 October 2008 07:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: shady_86.sify.com

the palette have only mouse listeners for drag and drop... and i dont think there are any API for implementing key listeners...
one way is to override the needed classes...

other way is do not use a palette itself.
implement key listener to your viewer...
like when you press 'A' when the editor is selected a given edit part will be created on a default location.
Re: Palette keyboard usage [message #245947 is a reply to message #245937] Mon, 27 October 2008 12:45 Go to previous message
Brian Farn is currently offline Brian FarnFriend
Messages: 2
Registered: July 2009
Junior Member
Thanks Sharad,

I'm wondering how the user uses the palette without a mouse which is a standard accessibility issue.

Brian Farn

sharad wrote:
> the palette have only mouse listeners for drag and drop... and i dont think there are any API for implementing key listeners...
> one way is to override the needed classes...
>
> other way is do not use a palette itself.
> implement key listener to your viewer...
> like when you press 'A' when the editor is selected a given edit part will be created on a default location.
Previous Topic:Declaration for the UFacekit Project
Next Topic:how to control DND enablement with DropTarget and Graphicalviewer
Goto Forum:
  


Current Time: Sat Dec 20 02:28:49 GMT 2014

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

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