Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » how could I create a command in the new menu(Menus)
how could I create a command in the new menu [message #873596] Fri, 18 May 2012 16:08 Go to next message
Ou liang is currently offline Ou liang
Messages: 5
Registered: April 2012
Junior Member
Hi all,

Now I have a new editor and I want to put it to the new menu (just like create new Class)with the org.eclipse.ui.menus extenstionPoint.And how can I get the new menus id.
The purpose which I expected is :when I select a resource and right click mouse,select the "New" menu, The menuItem which create a new editor will appear.
and I want to do it with the org.eclipse.ui.menus.

Thanks.
Re: how could I create a command in the new menu [message #880157 is a reply to message #873596] Fri, 01 June 2012 14:38 Go to previous message
Paul Webster is currently offline Paul Webster
Messages: 6859
Registered: July 2009
Location: Ottawa
Senior Member

You would use org.eclipse.ui.newWizard to provide something that would create your file for your new editor.

PW


Previous Topic:Progress view cannot display vertical scrollbar
Next Topic:Using activities to hide contributed views
Goto Forum:
  


Current Time: Mon Sep 22 10:26:51 GMT 2014

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

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