Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » About Layout of sirius(About arrange-all.html)
About Layout of sirius [message #1743688] Mon, 19 September 2016 03:03 Go to next message
wu luhua is currently offline wu luhuaFriend
Messages: 3
Registered: September 2016
Junior Member
In https://www.eclipse.org/sirius/doc/developer/extensions-provide_custom-arrange-all.html I cannot find the class Uml2Constants,can you tell me how can i find it?
thanks a lot

[Updated on: Mon, 19 September 2016 13:39] by Moderator

Report message to a moderator

Re: About Layout of sirius [message #1743786 is a reply to message #1743688] Mon, 19 September 2016 15:39 Go to previous message
Maxime Porhel is currently offline Maxime PorhelFriend
Messages: 516
Registered: July 2009
Location: Nantes, France
Senior Member
Hi Wu,

As indicated in the documentation, it shows a sample ordering on UML, it was written on an old version of UMLDesigner, the UML2Constants class no longer exists.
The constants you see in the sample pseudo code corresponds to the id of some mappings in the odesign (the 'name' attribute of the odesign model elements is displayed as "id" in the properties view of the VSM editor).

So if you want to try this extension point on you VSM, just replace those constants by the id you put in your .odesign model.

Regards

Maxime - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius


Previous Topic:Group diagram Elements
Next Topic:Create but not represent element
Goto Forum:
  


Current Time: Fri Apr 26 13:56:22 GMT 2024

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

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

Back to the top