Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Setting properties of child in properties tab of parent
Setting properties of child in properties tab of parent [message #1861489] Mon, 16 October 2023 10:35
Leonard Theisler is currently offline Leonard TheislerFriend
Messages: 16
Registered: September 2023
Junior Member
Hi,

I have a situation where I need an instance of multiples classes that do not have a visual representation. In order to acheive this, I have set the root element of the editor as the highest class in the hierarchy and have set each class below it as a page in the proerties tab in order to create them and edit their properties. These pages allow me to create the instances of the classes but not edit their properties.

The way I do it is that I have a create button that creates the instance (by calling a java service), and then I have text fields with a change context and a set operation. It seems that the change context does not get evaluated properly as I get an error that says that the property that I am trying to edit does not exist on the root element. I am pretty sure that the expression in my change context is correct (aql:self.component).

This is very odd because I have the exact same situation somewhere else in the editor and I am able to acheive what I want there, but not here. I have attached a few pictures to show what I have, any help would be greatly appreciated.

Thank you

Previous Topic:Tuning genmodel parameters to change XMI file
Next Topic:Step by step instructions for embedding xtext into Sirius
Goto Forum:
  


Current Time: Fri Dec 27 00:34:51 GMT 2024

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

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

Back to the top