Book a Demo

Author Topic: sysml v1.3 flow properties in custom toolboxes  (Read 13686 times)

sherey

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
sysml v1.3 flow properties in custom toolboxes
« on: August 15, 2014, 02:02:26 am »
I have been trying to add a flow property to a custom toolbox, but the line:

SysML1.3::FlowProperty(UML:Property) = Flow Property

in a tool box page extension doesn't work.  Instead of a property icon in the toolbox with the caption Flow Property, I get a stereotype icon.  Also, nothing happens when I try to create one from the toolbox.

Any suggestions?
Thanks!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: sysml v1.3 flow properties in custom toolboxes
« Reply #1 on: August 15, 2014, 08:56:41 am »
Try SysML1.3::FlowProperty(UML::Part)
The Sparx Team
[email protected]

sherey

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: sysml v1.3 flow properties in custom toolboxes
« Reply #2 on: August 16, 2014, 12:48:21 am »
Thanks! It worked!

Follow up:  I have specialized the sysml interface block into a new stereotype.  Unfortunately, it doesn't get that nice display of its flow properties.  Is that a special shape script just assigned to Interface Block or is there a way to get my specialized stereotype to have that behavior besides writing my own shape script?

Thanks again!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: sysml v1.3 flow properties in custom toolboxes
« Reply #3 on: August 16, 2014, 03:14:46 am »
I guess you could either copy the original shape script or try to use your own shape script that simply contains DrawParentShape(). This method has been introduced in one of the newer EA releases. I haven't really tried it myself.

q.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: sysml v1.3 flow properties in custom toolboxes
« Reply #4 on: August 18, 2014, 09:23:59 am »
Quote
Follow up:  I have specialized the sysml interface block into a new stereotype.  Unfortunately, it doesn't get that nice display of its flow properties.  Is that a special shape script just assigned to Interface Block or is there a way to get my specialized stereotype to have that behavior besides writing my own shape script?
There is a bug fix in the works
« Last Edit: August 18, 2014, 09:24:10 am by KP »
The Sparx Team
[email protected]