Bug 389851 - Integrate Eclipse 4 Wizard into the File -> New menu directly for the Plug-in Development perspective
Summary: Integrate Eclipse 4 Wizard into the File -> New menu directly for the Plug-in...
Status: RESOLVED WORKSFORME
Alias: None
Product: e4
Classification: Eclipse Project
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Lars Vogel CLA
QA Contact:
URL:
Whiteboard:
Keywords: bugday
Depends on: 433215
Blocks:
  Show dependency tree
 
Reported: 2012-09-18 18:06 EDT by Lars Vogel CLA
Modified: 2015-03-26 05:02 EDT (History)
5 users (show)

See Also:


Attachments
New E4 project in the menu (200.85 KB, image/jpeg)
2014-03-26 12:18 EDT, Dmitry Spiridenok CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lars Vogel CLA 2012-09-18 18:06:49 EDT
I suggest to add our Eclipse 4 application wizard directly the File -> New menu directly for the Plug-in Development perspective.

Opinions?
Comment 1 Eric Moffatt CLA 2012-09-21 15:20:28 EDT
AFAIK this is done on a per-perspective basis isn't it (New shortcuts) ?

If the feature that defines the wizard also had a perpectiveExtension to add the E4 app wizard I'd be fine with that...
Comment 2 Nobody - feel free to take it CLA 2012-09-23 06:00:29 EDT
Since e4 is the default platform this makes sense to me.
Comment 4 Dmitry Spiridenok CLA 2014-03-21 18:14:45 EDT
(In reply to Lars Vogel from comment #3)
> I take this one. Reference:
> http://www.vogella.com/blog/2011/01/13/eclipse-papercut-7-adding-the-pde-
> plugin-creation-wizard-to-the-eclipse-toolbar/

I've had a look at this page. If i understand it correctly the page describes how to add a new wizard to the toolbar, not to the menu. 

If we want to add E4 new project wizard to the toolbar, it will work fine. However from the description of the bug i understand that the idea was to add it to the menu, not just to put it on the tool bar. So the solution described by this link will not work. At least not out of the box, unless there is something else then "toolbar:" that can be specified in the plugin.xml for extending an menu.

If the E4 new project wizard has to be added to the File->Menu and not the toolbar, i dont see any other possibility to achieve that but to change the Java class for that. 

Please let me know if there are other alternatives, otherwise i'll change the java class to solve this bug.
Comment 5 Dmitry Spiridenok CLA 2014-03-26 12:18:52 EDT
Created attachment 241274 [details]
New E4 project in the menu
Comment 6 Dmitry Spiridenok CLA 2014-03-26 12:20:40 EDT
I believe I found some way to add E4 project wizard to File->New in the plug-in development perspective - see screenshot in https://bugs.eclipse.org/bugs/show_bug.cgi?id=389851#c5

Please check if I've done it correctly:
https://git.eclipse.org/r/23937
Comment 7 Olivier Prouvost CLA 2015-03-25 10:39:47 EDT
Since the bug #441331 is fixed and the E4 project wizard has been replaced by a new plugin project with an 'E4 Project template', this bug should be closed ?
Lars ?
Comment 8 Wim Jongman CLA 2015-03-26 04:05:05 EDT
@Olivier This bug is about placing the wizard into the "New" menu of PDE directly. 


@Dmitry I missed you patch. I am very sorry we did not react on your contribution. In the future please hassle us some more by pinging the bug if it is forgotten.

I will comment on your change.
Comment 9 Lars Vogel CLA 2015-03-26 04:25:41 EDT
(In reply to Wim Jongman from comment #8)
> @Olivier This bug is about placing the wizard into the "New" menu of PDE
> directly. 
> 
> 
> @Dmitry I missed you patch. I am very sorry we did not react on your
> contribution. In the future please hassle us some more by pinging the bug if
> it is forgotten.
> 
> I will comment on your change.

Thanks Dmitry. @Wim Olivier integrated the e4 wizard into the PDE template so we will soon retire the e4 project wizard.
Comment 10 Wim Jongman CLA 2015-03-26 04:40:54 EDT
(In reply to Lars Vogel from comment #9)
> 
> Thanks Dmitry. @Wim Olivier integrated the e4 wizard into the PDE template
> so we will soon retire the e4 project wizard.

Yes, I saw. Great work. I think this bug is about adding that into the New menu, which I like. 

Here is my comment on the change:

There is a specific extension point called "perspectiveextensions" that you use. Use the newWizardShortcut.

http://help.eclipse.org/luna/index.jsp?topic=%2Forg.eclipse.platform.doc.isv%2Freference%2Fextension-points%2Forg_eclipse_ui_perspectiveExtensions.html

Cheers
Comment 11 Lars Vogel CLA 2015-03-26 04:42:31 EDT
(In reply to Wim Jongman from comment #10)
> (In reply to Lars Vogel from comment #9)
> > 
> > Thanks Dmitry. @Wim Olivier integrated the e4 wizard into the PDE template
> > so we will soon retire the e4 project wizard.
> 
> Yes, I saw. Great work. I think this bug is about adding that into the New
> menu, which I like. 

Olivier integrated the e4 template into the "normal" PDE plug-in wizard which is already part of the New menu in the Plug-in Perspective.
Comment 12 Wim Jongman CLA 2015-03-26 05:02:19 EDT
(In reply to Lars Vogel from comment #11)

> 
> Olivier integrated the e4 template into the "normal" PDE plug-in wizard
> which is already part of the New menu in the Plug-in Perspective.

I see! I didn't realize this. Super cool!