How to add a property to the property view of "SCA Composite Designer" tool

81 Views Asked by At

I am using the SCA Composite Designer eclipse plugin, to design systems that follow SCA component model. At some point, I needed an additional property for the component element. I need the additional property to appear in the property view. The figure below shows the tool with the property view for the component.

enter image description here

As you can see, the property view in the figure shows some properties for the "Calculator" component selected. My target is to add an additional property called "path" to this property view. I was able to add the property to the XML file of the diagram. However, this is not enough for me. As I mentioned, I need the additional property to appear and to be possibly modified in the property view.

My question is: Is there a way to simply add the additional property to the property view? Or do I have to modify the source code of the tool (which will be painful)? Any advice? Thanks.

1

There are 1 best solutions below

2
On

Since SCA Composites are simply XML files, you can always open the XML file and add the property yourself using the element <property>

http://docs.oasis-open.org/opencsa/sca-assembly/sca-assembly-1.1-spec-csd07.html#_Toc270599541