[Pydev-code] Adding new entry to File > New menu
Brought to you by:
fabioz
|
From: C. Y. G. G. <the...@gm...> - 2008-10-09 10:41:51
|
Hello list, I am trying to develop a new wizard for the creation of Python classes, but I don't know how to add a menu entry in the File > New menu. I created a PythonClassWizard class, which has been directly copied from the PythonModuleWizard class, it has nothing special yet. After that, I edited the plugin.xml file from the org.python.pydev project, adding a new wizard to the org.eclipse.ui.newWizards extension, but it is only shown in the New dialog. For the menu entry, I have set the "project" attribute of the wizard as "true" and also added a new commonWizard to the org.eclipse.ui.navigator.navigatorContent extension, but it didn't work anyway. Could somebody help me? I attach the plugin.xml of the project to clarify. Thanks in advance :) |