Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Overriding/Replacing the default properties in Sirius(Want to add some custom information in the properties view in my Sirius editor)
Overriding/Replacing the default properties in Sirius [message #1863560] Fri, 09 February 2024 14:34 Go to next message
Thomas Chiang is currently offline Thomas ChiangFriend
Messages: 106
Registered: March 2020
Senior Member
Hello all,

For now I've built out a basic class diagram editor in Sirius and I'm trying to modify the properties view so that I can see more correct information in the properties view for ease of use. If possible down the line I'd like it to also allow changes, but that's for another day.

In this image you can see a class that is connected to other classes via association. The both the classes and associations have meta definitions (DesClass and Association respectively).

index.php/fa/43970/0/

As a result, when trying to view the connections attached to a class, I end up viewing all the associations attached to it. What I want to do is customize it to show the other classes attached to it, rather than a list of the associations attached to it.

index.php/fa/43971/0/

I've been reading through the documentation here: https://eclipse.dev/sirius/doc/specifier/properties/Properties_View_Description.html#overrides
This is where I got the idea for overriding the default setting. Except now I have two issues.
1) I still don't actually know where/how to implement the override that I want as there aren't any examples I can use as reference, at least not that I've found so far.
2) I know how duplicate properties view. I renamed one of them to general to differentiate but I'm not sure how to get it back to just one view.

index.php/fa/43972/0/

Any help would be greatly appreciated.
Re: Overriding/Replacing the default properties in Sirius [message #1863694 is a reply to message #1863560] Wed, 21 February 2024 14:05 Go to previous message
Pierre-Charles David is currently offline Pierre-Charles DavidFriend
Messages: 705
Registered: July 2009
Senior Member
As mentioned in this announce, this forum is deprecated.
Please use GitHub Discussions from now on:

Thanks.


Pierre-Charles David - Obeo

Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Previous Topic:Use an entity as relationship (SIRIUS)
Next Topic:Updating Model Attributes after changes in Diagram
Goto Forum:
  


Current Time: Fri Oct 11 15:18:52 GMT 2024

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

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

Back to the top