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 02:04 Go to next message
joseph is currently offline joseph
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 11:10 Go to previous message
Justin Dolezy is currently offline Justin Dolezy
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: Wed Jul 30 23:39:55 EDT 2014

Powered by FUDForum. Page generated in 0.01530 seconds