Book a Demo

Author Topic: Own MDG Technology - Diagram like Intenal Block  (Read 4815 times)

carolin.boeckler

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Own MDG Technology - Diagram like Intenal Block
« on: November 30, 2019, 02:35:02 am »
Hi there,

I got a question to my MDG Technology. I try to create a new diagram type with the same properties like a internal block diagram. If you have a original SysML::InternalBlock diagram you can click right mouse button on the diagram and in the Navigation menu, there Exits two Point extra: Sysnchronize Structural Element and Hide Diagram Frame. How can I create a own diagram type wth my own linked Toolbox with These same properties?
I already tried to derive from Diagram_InternalBlock (Diagram_CompositeStructure) and clicked many of theattributes in the Profile helper, but nothing helped.
Does anybody have an idea how to solve my problem.

 ;) Caro

Sunshine

  • EA Practitioner
  • ***
  • Posts: 1353
  • Karma: +121/-10
  • Its the results that count
    • View Profile
Re: Own MDG Technology - Diagram like Intenal Block
« Reply #1 on: December 02, 2019, 11:34:34 am »
You can create your own diagram and toolbox following the instructions in the manual and copy what you need rather than extend existing diagram type or toolbox.

Overview
https://www.sparxsystems.com/enterprise_architect_user_guide/15.0/modeling/mdgtechnologies_2.html
create toolboxes
https://www.sparxsystems.com/enterprise_architect_user_guide/15.0/modeling/custom_toolboxes.html
create custom diagrams
https://www.sparxsystems.com/enterprise_architect_user_guide/15.0/modeling/custom_diagram_types.html
Happy to help
:)

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Own MDG Technology - Diagram like Intenal Block
« Reply #2 on: December 02, 2019, 11:52:18 am »
EA doesn't allow you to extend an extended diagram type using a diagram profile. SysML diagrams are extended UML diagrams, so you can't extend them and have to find another way. The answer is a View Specification. Here is the help page:

https://www.sparxsystems.com/enterprise_architect_user_guide/15.0/modeling/custommetamodelview.html

It's quite complicated, but what you need is a View Specification that defines a view on SysML Internal Block diagrams ("SysML1.4::InternalBlock") and Exposes the items that you want to see in the toolbox. When it's all working, you will create a SysML Internal Block diagram and set its View (3rd field on the diagram Properties dialog or you can select it from the New Diagram dialog).
The Sparx Team
[email protected]

carolin.boeckler

  • EA User
  • **
  • Posts: 34
  • Karma: +0/-0
    • View Profile
Re: Own MDG Technology - Diagram like Intenal Block
« Reply #3 on: December 11, 2019, 07:31:25 pm »
Hello,

I tried the whole time to create "MyView", but it doesn't work. Is it possible to get an example - e.g. an eap file?

Or can you post some images how to create exact the example of https://www.sparxsystems.com/enterprise_architect_user_guide/15.0/images/new-myviewdiag.png

It would be really helpful

 ;)Caro




KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Own MDG Technology - Diagram like Intenal Block
« Reply #4 on: December 12, 2019, 09:24:00 am »
Caro,

If you contact Sparx Support, someone there will be able to help you. It would be useful if you attach your MDG Technology file.

Cheers
The Sparx Team
[email protected]

Andreas Morgenstern

  • EA User
  • **
  • Posts: 26
  • Karma: +1/-0
    • View Profile
Re: Own MDG Technology - Diagram like Intenal Block
« Reply #5 on: November 19, 2020, 10:57:48 pm »
Hi,

anyone knows how to proceed after the model view diagram has been created?
How to add this to a MDG (e.g. as a diagram, as a stereotype profile or whatever?)

Thanks

Andreas

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Own MDG Technology - Diagram like Intenal Block
« Reply #6 on: November 20, 2020, 08:28:27 am »
The view specification goes in the UML Profile with all of your stereotypes, because you will want to create a number of exposes connectors between the view specification and the stereotypes that you want to appear in the toolbox.
The Sparx Team
[email protected]