Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 170937 - Need a standard way for tools to add natures/builders to existing projects
Summary: Need a standard way for tools to add natures/builders to existing projects
Status: RESOLVED DUPLICATE of bug 102527
Alias: None
Product: Community
Classification: Eclipse Foundation
Component: UI Guidelines (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Cross-Project issues CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-01-18 11:14 EST by Willian Mitsuda CLA
Modified: 2007-09-18 15:57 EDT (History)
3 users (show)

See Also:


Attachments
Screenshot from my project's context menu (52.54 KB, image/gif)
2007-01-18 11:15 EST, Willian Mitsuda CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Willian Mitsuda CLA 2007-01-18 11:14:34 EST
I'm not sure on what category this bug belongs to, but anyway I'll post it first on Callisto/cross-project-issues for discussion (since this is a inter-project issue). Feel free to move it to the appropriate place.

On my Eclipse 3.2.1 installation I have many plugins installed. Some of them are Eclipse.org hosted plugins and some of them are third-party plugins.

The point is: many of them offer some kind of tooling for existing workspace projects, but it is necessary to add the appropriate nature/builder to it work.

Often, the approach the tools follow is to add some action on project's context menu, like "Convert to XYZ project", or "Add XYZ nature".

This is not a scalable approach, since this causes a bloated context menu as more plugins are installed.

The attached screenshot shows a context menu for a project on my workspace.

The following actions are from Eclipse.org projects:

- MTJ -> Convert to MTJ project - this is from Mobile Tools for Java.
- Java Persistence -> Add Java Persistence - this is from Dali/JPA (now a Webtools subproject).
- AspectJ Tools -> Convert to AspectJ project - this is from AJDT.

The following actions are from third-party plugins, but once there is no standard recomendation, apparently they just follow the Eclipse.org "pattern" ;)

- Add Spring Project Nature - this is from Spring IDE.
- GWT Tools -> Add GWT Tooling Support - this is from GWT (Google Web Toolkit) plugin.
- J2ME -> Convert to J2ME Midlet Suite - this is from EclipseME.

I wonder what can be a good solution for this. Perhaps a submenu where other tools can add their own "Convert to..." actions or some extension point where tools can contribute conversion methods + some tooling from platform/ui.
Comment 1 Willian Mitsuda CLA 2007-01-18 11:15:29 EST
Created attachment 57088 [details]
Screenshot from my project's context menu
Comment 2 John Arthorne CLA 2007-01-18 11:41:20 EST
For some reading on this subject, see bug 102527 and bug 160245.

And for historical interest:

http://dev.eclipse.org/viewcvs/index.cgi/%7Echeckout%7E/platform-ui-home/capabilities-proposal/proposal.html
Comment 3 Bjorn Freeman-Benson CLA 2007-08-10 02:45:56 EDT
Moving to UI Guidelines group.
Comment 4 Willian Mitsuda CLA 2007-08-23 15:53:14 EDT
Hi, I like the facet approach + "universal UI to manage project features", and I think it is near to what I like to see as a user.

Feel free to mark this as a dup of bug#102527 if you want.
Comment 5 John Arthorne CLA 2007-09-18 15:57:34 EDT
Marking dup as requested.

*** This bug has been marked as a duplicate of bug 102527 ***