Bug 531790 - Use EMF example installer for Handly examples
Summary: Use EMF example installer for Handly examples
Status: RESOLVED FIXED
Alias: None
Product: Handly
Classification: Technology
Component: Examples (show other bugs)
Version: 1.0   Edit
Hardware: All All
: P3 enhancement
Target Milestone: 1.0   Edit
Assignee: Vladimir Piskarev CLA
QA Contact:
URL:
Whiteboard:
Keywords: example
Depends on:
Blocks:
 
Reported: 2018-02-28 07:16 EST by Vladimir Piskarev CLA
Modified: 2018-05-12 10:42 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Piskarev CLA 2018-02-28 07:16:43 EST
Currently, installing the org.eclipse.handly.examples feature would install all Handly examples, making their contributions such as actions, editors, views, wizards, etc available in the user's workbench. However, it does not make much sense for people to install examples in their IDE. Examples are meant to be something one can easily add to their workspace (File -> New -> Example...), so one can see the source and play with it.

EMF provides the org.eclipse.emf.common.ui.examples extension point to describe examples to be added to the workspace. Each example is defined by the wizard that creates it and the list of projects to be created in the workspace. EMF and Xtext, among others, use this extension point to contribute their examples (see org.eclipse.emf.example.installer and org.eclipse.xtext.xtext.ui.examples). We should follow their lead, for common look and feel.