Skip to main content



      Home
Home » Eclipse Projects » Sirius » All Models Finding(Finding All Models in the project)
All Models Finding [message #1731834] Tue, 10 May 2016 08:09 Go to next message
Eclipse UserFriend
Hello all,
I want a code for finding all the "Models" present in the project.
Model is the root element of DSL and present in each file. (same as Family element in basicfamily example and Model element of UML metamodel example).
I can find Model from any element from diagram by calling eContainer() method, But it is giving me root element form only one file( The file which is responsible to generate a diagram )
I want to find all the models present in the project ( Each file contains one model, and project contains many files)

Thank you,
Dhananjay
Re: All Models Finding [message #1732001 is a reply to message #1731834] Wed, 11 May 2016 11:02 Go to previous messageGo to next message
Eclipse UserFriend
Hi,

You can retrieve your workspace resource and search all models present
in project.
Other solution will be to retrieve all models charged in Sirius session.
For that see online documentation:
https://www.eclipse.org/sirius/doc/developer/Architecture.html#session

Regards,

--
Julien - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: All Models Finding [message #1732026 is a reply to message #1732001] Thu, 12 May 2016 01:25 Go to previous message
Eclipse UserFriend
Thanks Julien
Previous Topic:Reconnect Edge Issue
Next Topic:SiriusDiagramActionBarContributor cannot be reused by reimplementing the Sirius Editor
Goto Forum:
  


Current Time: Sun Mar 23 05:16:11 EDT 2025

Powered by FUDForum. Page generated in 0.02996 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top