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 15:30 Go to next message
Brian Farn is currently offline Brian Farn
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 03:37 Go to previous messageGo to next message
Eclipse User
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 08:45 Go to previous message
Brian Farn is currently offline Brian Farn
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 Aug 30 14:35:40 EDT 2014

Powered by FUDForum. Page generated in 0.08179 seconds