Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Reuse uml2.odesign
Reuse uml2.odesign [message #1408121] Thu, 14 August 2014 09:30 Go to next message
Dat Nguyen is currently offline Dat NguyenFriend
Messages: 34
Registered: July 2014
Member
Hi, I want to reuse uml2.odesign of UMLDesigner of Obeo. I 've created a new file odesign and copied the content of uml2.odesign to it. No error found but it doesn't run. What way to reuse uml2.odesign?
Thanks advance!
Re: Reuse uml2.odesign [message #1408126 is a reply to message #1408121] Thu, 14 August 2014 09:44 Go to previous messageGo to next message
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 472
Registered: July 2009
Senior Member
Hi Dat,

Instead of copying content of uml2.odesign, Sirius offers some mecanisms
to reuse content of other Viewpoint contained in a odesign.
See for example
https://www.eclipse.org/sirius/doc/specifier/diagrams/Diagrams.html#extensibility
to know how to extend an existing diagram description.
In addition not that your odesign must be registered in Sirius to be
usable. For an example, when you create a new "Viewpoint Specification
Project" and you will see in the Activator.java how the .odesign is
registered.

Best Regards.

Le 14/08/2014 11:30, Dat Nguyen a écrit :
> Hi, I want to reuse uml2.odesign of UMLDesigner of Obeo. I 've created a
> new file odesign and copied the content of uml2.odesign to it. No error
> found but it doesn't run. What way to reuse uml2.odesign?
> Thanks advance!


--
Esteban Dugueperoux - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Reuse uml2.odesign [message #1408140 is a reply to message #1408126] Thu, 14 August 2014 10:27 Go to previous messageGo to next message
Dat Nguyen is currently offline Dat NguyenFriend
Messages: 34
Registered: July 2014
Member
thanks you!

[Updated on: Thu, 14 August 2014 10:52]

Report message to a moderator

Re: Reuse uml2.odesign [message #1408184 is a reply to message #1408140] Thu, 14 August 2014 12:51 Go to previous message
Esteban Dugueperoux is currently offline Esteban DugueperouxFriend
Messages: 472
Registered: July 2009
Senior Member
If you want copy uml2.odesign, you must also copy its dependencies, for
example the java services, etc.
In addition, before running your Viewpoint Specification Plugin Project,
you can launch the validation to check that the odesign has no errors.
Note that copying uml2.odesign is not a reuse.

Le 14/08/2014 12:27, Dat Nguyen a écrit :
> thanks for your information. But Do you have any ideas why it does not run?


--
Esteban Dugueperoux - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Sirius-Xtext-Integration Issues
Next Topic:creating assembly connector
Goto Forum:
  


Current Time: Fri Apr 19 20:22:08 GMT 2024

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

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

Back to the top