Book a Demo

Author Topic: Tailor SYSML  (Read 7594 times)

Mats Gejnevall

  • EA User
  • **
  • Posts: 98
  • Karma: +1/-0
    • View Profile
Tailor SYSML
« on: February 13, 2020, 08:07:26 pm »
Hi all
I want to tailor SYSML by removing lots of the elements and connectors, but I have not been successful creating an MDG doing this. Does anyone have any good advice on how I could do this and maybe an example?

Thanks
Mats

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: Tailor SYSML
« Reply #1 on: February 13, 2020, 08:34:16 pm »
You have to create in an MDG your on diagram types like "MyBDD" and your own toolboxes assigned to your diagrams. In your toolboxes you put only in, what you want to see in your tailoring. To refer to something what already exist in sysml you have to name  toolbox stereotype property link this "SysML1.4::TestCase".

However in V15 there is some new feature (I have not looked on it up to now), which might do the same without all this mdg fiddling.
Best regards,

Peter Heintz

Mats Gejnevall

  • EA User
  • **
  • Posts: 98
  • Karma: +1/-0
    • View Profile
Re: Tailor SYSML
« Reply #2 on: February 13, 2020, 09:13:28 pm »
Thanks Peter,
I did that and it works for some SYSML elements and connectors but not for all. I have yet not understood why? First I though it was because they were in the metaclass under Stereotypes and SYSML1.4. But not even all of those will work when I do what you suggested. An example would be SysML1.4::functionalRequirement or SysML1.4::objectiveFunction. And what about those that are not in that list. What are the SYSML stereotype names for those?

I assume there is a hidden list of the SYSML stereotype names somewhere. Does anyone know? 

Thanks
Mats

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: Tailor SYSML
« Reply #3 on: February 13, 2020, 09:40:27 pm »
I recomment to contact Sparx.
Best regards,

Peter Heintz

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Tailor SYSML
« Reply #4 on: February 14, 2020, 09:12:14 am »
The easiest way to do this in EA 15.1 is to create a restricted perspective.

  • Open the perpsectives dialog (Start > Desktop > Perspectives > Manage Perspectives)
  • Open the Personal Sets or Model-Based Sets page
  • Create a new perspective
  • Give it a name and select strict
  • Click the plus button to add the SysML 1.5 technology
  • Click Restrict
  • Deselect any items you don't want to be available
  • Click OK
  • Save your perspective
  • Enable your perspective (eg. Perspective > Personal > My SysML subset

Mats Gejnevall

  • EA User
  • **
  • Posts: 98
  • Karma: +1/-0
    • View Profile
Re: Tailor SYSML
« Reply #5 on: February 19, 2020, 11:43:44 pm »
Hi Eve,
I tried the perspectives way, but I could not get it to work. I can define a subset of a technology (MDG Archimate3.1 since I know it well), save it and it shows up in perspectives
I added different perspectives to the Personal Set and the Model Based Sets and they look good there.

But when I want to used the defined perspective either in the Toolbox or creating a diagram they do show up, but when you select them they are not selected.
For the toolbox nothing happens and for the diagram the perspective type returns to All perspectives. The same goes for the Model Wizard.

I have tried selecting the technology in Manage-Tech and not selecting it, there is not difference. No the perspective is not possible to use.

I have version 15.1 (1526) and Corporate Edition. The technology I am creating a perspective of is Archimate3.1

Do I need some other kind of configuration?

Thanks
Mats

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Tailor SYSML
« Reply #6 on: February 20, 2020, 08:37:49 am »
Hi Mats,

I'm not sure what your issue is, but hopefully we can get an answer.

I have tried selecting the technology in Manage-Tech and not selecting it, there is not difference. No the perspective is not possible to use.
There shouldn't be any need to change anything in the manage technologies dialog. The defaults of having everything enabled should be fine.

For the toolbox nothing happens and for the diagram the perspective type returns to All perspectives. The same goes for the Model Wizard.
I haven't seen the perspective returning to All Perspectives before. Maybe that's all your problem is. Does the perspective indicator in the status bar change at all?

So, you have a perspective that includes only the ArchiMate 3.1 technology that's marked as strict. When you open the restriction dialog to the elements or relationships pages there are items that are unchecked. But when you select the perspective from Personal > My Set or Model-Based Sets > My Set the toolbox still shows the items that are meant to be missing? The same for diagram types and the new diagram dialog?

Mats Gejnevall

  • EA User
  • **
  • Posts: 98
  • Karma: +1/-0
    • View Profile
Re: Tailor SYSML
« Reply #7 on: February 20, 2020, 11:02:05 pm »
Thanks Eve
My problem was that I created my own perspective and I was expecting the name of it to show up in the Toolbox selection. I did not understand that I should still use the Archimate MDG, and now it is restricted by my selected Perspective. It works great!!! Just what I wanted. Do not need to create any own MDG for this !!!!!

Cheers
Mats :)

Mats Gejnevall

  • EA User
  • **
  • Posts: 98
  • Karma: +1/-0
    • View Profile
Re: Tailor SYSML
« Reply #8 on: March 16, 2020, 11:00:44 am »
Hi Eve
The problem is that it only worked once that way. After that I have not been able to restrict SYSML however I try.

I follow your suggestion:
Open the perpsectives dialog (Start > Desktop > Perspectives > Manage Perspectives)
Open the Personal Sets or Model-Based Sets page
Create a new perspective
Give it a name and select strict
Click the plus button to add the SysML 1.5 technology
Click Restrict
Deselect any items you don't want to be available
Click OK
Save your perspective
Enable your perspective (eg. Perspective > Personal > My SysML subset

And I e.g. restrict which SYSML diagram types that should be available. But they still all show up when I create a new diagram. Seems a bit unclear how to enable my own perspective after I have created it.
When I create a new diagram I can select my personal set in the type field, but it does not stick, it changes the value of type to all perspectives and then I get all SYSML diagrams.

Or I can use the portal and click on my private set and it will show the Model Wizard with all diagram types and allow me to create ones that I removed.

I am using build 1526.

Please help, I really like the feature, but how to get it to work puzzles me.
Mats

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Tailor SYSML
« Reply #9 on: March 16, 2020, 01:53:56 pm »
In the perspective menu you should find 'Model Based Sets' and 'Personal' between 'All' and the system defined sets.