Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Clicking CTRL +N should open new Editor
Clicking CTRL +N should open new Editor [message #247015] Fri, 23 January 2009 07:04 Go to next message
joseph is currently offline josephFriend
Messages: 14
Registered: July 2009
Junior Member
In GEF,clicking CTRL + N is opening default new wizards window.
But we want to open a new Editor window instead of opening a new wizard
dialog.

can anyone tell me how to get the default editor window on clicking CTRL +
N.

Joseph
Re: Clicking CTRL +N should open new Editor [message #247024 is a reply to message #247015] Mon, 26 January 2009 16:10 Go to previous message
Justin Dolezy is currently offline Justin DolezyFriend
Messages: 68
Registered: July 2009
Member
joseph wrote:

> In GEF,clicking CTRL + N is opening default new wizards window.
> But we want to open a new Editor window instead of opening a new wizard
> dialog.

> can anyone tell me how to get the default editor window on clicking CTRL +
> N.

> Joseph

You'll need to look into the area of commands and handlers. CTRL+N has a
binding to the command with id: 'org.eclipse.ui.newWizard' so you'd need
to contribue via org.eclipse.ui.handlers to add your own handler for this.
Do a search in the rcp newsgroup, you should find plenty of info in there
if you get stuck!

Justin
Previous Topic:[Announce] GEF 3.4.2 M200901141331 is available
Next Topic:Zoom combo on toolbar has unwanted separator under it on left edge!
Goto Forum:
  


Current Time: Fri Mar 29 01:41:39 GMT 2024

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

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

Back to the top