Possible to change the behavior of Ctrl-PageUp ?

SWT Designer allows you to create the views, editors, perspectives, pref pages, composites, etc. that comprise Eclipse SWT & RCP applications and plug-ins.

Moderators: Konstantin.Scheglov, gnebling, Alexander.Mitin, jwren, Eric Clayberg

Possible to change the behavior of Ctrl-PageUp ?

Postby lacou » Tue Mar 01, 2005 1:39 pm

Hi,

I use the Ctrl-PageUp combination to change Editor in Eclipse, but when I am in a Designer editor it acts as if I pressed F12. Is there anyway of changing that to eclipse's defaults ?

Regards,
Francois
lacou
 
Posts: 15
Joined: Mon Nov 03, 2003 7:33 pm

Re: Possible to change the behavior of Ctrl-PageUp ?

Postby Eric Clayberg » Mon Mar 14, 2005 5:55 pm

lacou wrote:I use the Ctrl-PageUp combination to change Editor in Eclipse, but when I am in a Designer editor it acts as if I pressed F12. Is there anyway of changing that to eclipse's defaults ?

This is just standard CTabFolder behavior. Here are the relavant SWT constants:

Code: Select all
   /**
   * Traversal event detail field value indicating that the
   * key which designates that the previous page of a multi-page
   * window should be shown was pressed; typically, this
   * is the CTRL-PAGEUP key sequence
   * (value is 1<<8).
   */
   public static final int TRAVERSE_PAGE_PREVIOUS = 1 << 8;
   
   /**
   * Traversal event detail field value indicating that the
   * key which designates that the next page of a multi-page
   * window should be shown was pressed; typically, this
   * is the CTRL-PAGEDOWN key sequence
   * (value is 1&lt;&lt;9).
   */
   public static final int TRAVERSE_PAGE_NEXT = 1 << 9;
Eric Clayberg
Software Engineering Manager
Google
http://code.google.com/webtoolkit/download.html

Author: "Eclipse Plug-ins"
http://www.qualityeclipse.com
Eric Clayberg
Moderator
 
Posts: 4503
Joined: Tue Sep 30, 2003 6:39 am
Location: Boston, MA USA


Return to SWT Designer

Who is online

Users browsing this forum: No registered users and 1 guest