Bug 422490 - Integrate the existing Family example modelers into Sirius
Summary: Integrate the existing Family example modelers into Sirius
Status: CLOSED FIXED
Alias: None
Product: Sirius
Classification: Modeling
Component: Documentation (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 2.0.0   Edit
Assignee: Pierre-Charles David CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2013-11-25 11:26 EST by Frédéric Madiot CLA
Modified: 2014-10-27 06:51 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Frédéric Madiot CLA 2013-11-25 11:26:09 EST
The examples provided with Obeo Designer should be migrated and packaged with Sirius :
- basicfamily
- family

In the documentation, the feature matrix still refers to the family example.
Comment 1 Pierre-Charles David CLA 2013-11-25 11:32:48 EST
Note that both of the examples concerned here are already licensed under EPL.

What needs to be done:
- "rebrand" them from the com.obeodesigner.sample namespace into then org.eclipse.sirius.sample namespace.
- adapt them to Sirius 0.9 (they are written for Viewpoint 6.8)
- commit them in the Sirius repo (do we need a CQ for this?)
- add the new plug-ins into the "Sirius Samples" feature (see bugg #420151)
- advertise these new examples on the website and wiki so that end-users can find them easily.
Comment 2 Esteban DUGUEPEROUX CLA 2013-11-28 04:36:52 EST
This bugzilla entry has been created following a question on Sirius forum : http://www.eclipse.org/forums/index.php/t/616751/
Note that the "get started" miss some setup informations before following the video.
Comment 3 Maxime Porhel CLA 2013-12-05 07:25:37 EST
The following entry has been removed from the Writing Queries while the family samples have not been migrated:

> Here is an example of a Java service taken from the
> @com.obeodesigner.sample.family.design@ example (you can obtain the project's 
>sources using _New... > Example... > Obeo Designer > Family Designer_):
>
>bc(#family_services). 
>public class FamilyServices {
>    public List<Family> getFamiliesContainingParents(Family currentFamily) {
>        List<Family> familiesContainingParents = new ArrayList<Family>();
>        // The service code. 
>        return familiesContainingParents;
>    }
>}

The Feature_Matrix page has been removed too.
Comment 4 Pierre-Charles David CLA 2014-08-25 08:06:46 EDT
Versions of the "family" examples which work with Sirius can be found on the website, and in the site's git repo at http://git.eclipse.org/c/www.eclipse.org/sirius.git/tree/doc/resources/getstarted

They should be integrated into the main repo and maintained there.
Comment 5 Pierre-Charles David CLA 2014-10-01 09:17:32 EDT
Moving to 2.0, but we will only integrate the basic family example.
Comment 6 Pierre-Charles David CLA 2014-10-23 04:28:36 EDT
I have pushed a first version, with temporary images.

There is a new plug-in oes.samples.family, part of the oes.samples feature. When installed, it provides 3 "New > Example" wizards:
* One which brings the "basicfamily" metamodel (with edit & editor plug-ins) source projects in the user's workspace.
* One which brings a small Modeling Project with a sample fasicfamily model already created.
* One which brings the source of a VSP project with a basic modeler on that metamodel.

They correspond to what it presented in the tutorial on the wiki (although it would be better id the tutorial was directly provided by oes.sample.family, to be sure it is synchronized with the examples.

The 4 "basicfamily" plug-ins are built as part of the normal Sirius build, but not packaged as pre-built JARs; only their source are packages in the oes.samples.family plug-in (which contributes the example wizards).
Comment 7 Pierre-Charles David CLA 2014-10-24 08:19:47 EDT
Fixed.
Comment 8 Laurent Redor CLA 2014-10-24 09:55:44 EDT
Validated with Sirius 2.0.0.201410240814
Comment 9 Pierre-Charles David CLA 2014-10-27 06:51:59 EDT
Available in Sirius 2.0.0.