Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » How to programmatically edit style
How to programmatically edit style [message #1861066] Mon, 18 September 2023 08:38
Leonard Theisler is currently offline Leonard TheislerFriend
Messages: 16
Registered: September 2023
Junior Member
Hi everyone,

I would like to programmatically edit the style of my editor to change the location of the bordered nodes to be exactly on the side of the container they belong to. I have attached a picture of what I am trying to acheive (EGSMinTextbook) and what I currently have (EGSMinSirius).

I am having trouble with understanding exactly how to acheive this. I have read the documentation https://eclipse.dev/sirius/doc/developer/extensions-provide_custom_style.html and added the extension point. From my understanding, the simplest way to acheive what I want is to copy paste the provider and style configuration implementations and edit them to do what I want. This is what I am trying to do at the moment, but when I do this, I get a ton of errors in the code that I am copy pasting. After importing everything that is necessary, I still have a lot of errors and Eclipse wither suggests to change the type or to create the constant that it doesn't recognize.

I'm not sure what is wrong, and I can't seem to find any tutorials online. Would it be possible for someone to explain to me exactly what I need to do (and what I am doing wrong)? I am very new to Sirius, I have only been working with it for a week.

Thank you
Previous Topic:[ANN] Sirius Desktop 7.2.1
Next Topic:Sirius at EclipseCon 2023
Goto Forum:
  


Current Time: Mon Oct 14 15:53:45 GMT 2024

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

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

Back to the top