Book a Demo

Author Topic: SysML: Instantiation removes interface from ports  (Read 2295 times)

Marc2

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
SysML: Instantiation removes interface from ports
« on: May 29, 2007, 12:39:57 am »
Hi,

I'm trying to model a C++ class and have some instances of this class.

So I create a Block with some ports and add interfaces to these ports (in a SysML's Block Definition Diagram, which corresponds to UML's Class Diagram). Then I "instantiate" this block (in an SysML's Internal Block Diagram, which corresponds to UML's Composite Structure Diagram) by dragging-and-dropping this Block to the canvas and then select "property of element". This works fine except for the interfaces of the ports: they are not present anymore.

Note that with UML2 (in EA7.0) this works fine. Only with SysML (in EA6.5 and EA7.0) this behaves as written above.

Is this correct behaviour? Or should I make instances in a different way?


Thanks,

Marc
« Last Edit: May 29, 2007, 02:05:10 am by marc2 »

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: SysML: Instantiation removes interface from po
« Reply #1 on: May 29, 2007, 03:56:41 pm »
Marc,

I'm guessing a bit here, but...

Make sure you are using a diagram created with the SysML add-in as the target of your drag and drop. EA behaves (or did in the SysML beta) differently if it thinks the diagram is 'simple' UML.

Take a look at the tagged values of your class. Be sure they are all propagating to the instance on the target diagram.

Remember that Sparx may be in the process of updating the SysML add-in concurrently with finishing EA 7.0. I have no idea whether this is true, but they are producing an update to the BPMN add-in across the same time frame.

Finally, if none of the above works, submit a bug report. If there is one on the Beta page, use that.

David
No, you can't have it!