Community
Participate
Working Groups
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.
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.
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.
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.
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.
Moving to 2.0, but we will only integrate the basic family example.
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).
Fixed.
Validated with Sirius 2.0.0.201410240814
Available in Sirius 2.0.0.