> 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.
You also need to add it in org.python.pydev.ui.perspective.PythonPerspectiveFactory#defineActions (I think you also have to reset your current perspective for it to be shown... but I'm not really sure about it). Cheers, Fabio ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ pydev-code mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pydev-code
