|Why org.eclipse.ui.file.newQuickMenu always is disabled? How can I use org.eclipse.ui.newWizards? [message #331634]
||Mon, 15 September 2008 02:57
| Alexander Ilyin
Registered: July 2009
I trying to create my RCP application and use the "New wizard"
functionality (extension org.eclipse.ui.newWizards) and new Eclipse
Command Framework (pre-defined command org.eclipse.ui.file.newQuickMenu)
for this purposes.
But my New menuitem and toolbar button is always disabled. What's wrong?
There is my steps for menubar:
-create new RCP application using the New Plug-In Wizard using Hello RCP
-add new extension org.eclipse.ui.newWizards (for test we can use the
"New File Wizard" template, although if you will create it from scratch
it will be the same problem)
-add extension org.eclipse.ui.menus
-add new menuContribution on the org.eclipse.ui.menus extension the item
menu:org.eclipse.ui.main.menu to add main menu to the application
-add new menu (let's name it "File")
-then add on it the predefined command with id
Now run the application and you will see that your \File\New sub-item
always is disable.
What I did missed?
How can I use org.eclipse.ui.file.newQuickMenu command?
P.S. I did use the org.eclipse.ui.file.import that way and everything
works fine for me.
Powered by FUDForum
. Page generated in 0.01655 seconds