Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: P.Maurer on January 28, 2013, 07:33:17 am

Title: Matrix-Elements in a Diagram Profile
Post by: P.Maurer on January 28, 2013, 07:33:17 am
Hello,

For a diagram profile, I would like to have certain matrix elements when a new diagram of that type is created.

I can manage to have swimlanes using the swimlanes tag, but I'd prefer to use a matrix. The problem I have is, that I can not define the elements of the matrix within a tag, since they are diagram elements.

Is there a way to integrate matrix items in a diagram profile ?

Best regards,

Peter
Title: Re: Matrix-Elements in a Diagram Profile
Post by: P.Maurer on February 02, 2013, 04:32:07 am
Hello,

since there is no comment, I prosume, that it's not quite clear what I want to do: I created a diagram profile, added a diagram stereotype extending the activity diagram. I would like to have predefined partitions in that diagram.

I can solve this using swimlanes in defining the attribute "swimlanes" in my stereotype with the initial value:
    Lanes=2;Orientation=Horizontal;Lane1="Lane 1",Lane2="Lane 2";

But I would prefere to have a predefined matrix or predefined partitions in that diagram type.

I found that I can activate a matrix using the "matrix" attribute in my stereotype. But I did not manage to insert appropriate rows into the matrix.

I hope that this makes a bit clearer what I want to do.
Title: Re: Matrix-Elements in a Diagram Profile
Post by: qwerty on February 02, 2013, 05:49:56 am
To me it was quite clear what you wanted to do. But I don't know an answer. Maybe you ask Sparx priority support and possibly you can post their answer here.

q.