Integrating Xtext and Sirius [message #1861576] |
Thu, 19 October 2023 14:04 |
peppa nwpu Messages: 15 Registered: October 2023 |
Junior Member |
|
|
I defined a language using The type of element represented by the node. Since the definition of the element type involves cross-reference, Sirius does not generate the corresponding attribute. What should I do?
Below are some related pictures of my project.
In response to this problem, I checked the information and found that it may be necessary to define an attribute view. I want to be able to set the data type of this "Variable" when adding such a "Variable" node. This type can be a basic data type, or it can be an existing data type. For the defined structure type, I tried setting the attribute view, but I found that I was not familiar with the API of the self variable. Where should I find the API documentation about self and input variables? Currently, I am only in the documentation of sirius. I found some information in the property view section, but the information is not comprehensive for me.
-
Attachment: 1.png
(Size: 70.45KB, Downloaded 86 times) -
Attachment: 2.png
(Size: 132.89KB, Downloaded 83 times) -
Attachment: 3.png
(Size: 32.27KB, Downloaded 98 times) -
Attachment: 4.png
(Size: 34.94KB, Downloaded 84 times) -
Attachment: 5.png
(Size: 35.46KB, Downloaded 89 times)
[Updated on: Tue, 31 October 2023 06:19] Report message to a moderator
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03738 seconds