Book a Demo

Author Topic: Drag n Drop from Project Browser  (Read 4232 times)

JonTP

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Drag n Drop from Project Browser
« on: May 16, 2014, 07:38:34 pm »
EA newbie so apologies if this is old hat.

When I drag and drop a requirement from Project Browser onto a SysML 1.3 Requirement diagram, the resulting block is shown as a standard UML requirement block. I have to then drag a requirement block from the SysML toolbox over the new UML block and apply the block style as prompted (or hold Ctrl key whilst doing it). This is quite tedious. New requirements dragged from toolbox are fine and appear as SysML reqt blocks. What am I missing? Can I fix it?

Thanks in advance.

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Drag n Drop from Project Browser
« Reply #1 on: May 19, 2014, 10:12:48 am »
After dropping your existing SysML Requirement from the Project Browser into the diagram, right-click on the requirement in the diagram and select Advanced | Use Rectangle Notation.
This option is enabled by default when you create a new SysML Requirement from the Toolbox, but unfortunately it does not currently set this notation when dropping an existing element from the Project Browser.

JonTP

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Drag n Drop from Project Browser
« Reply #2 on: May 21, 2014, 08:44:00 pm »
Thanks Aaron. Certainly works and my understanding now is that it can't be set as the default action and I now have a choice of 2 methods for changing the appearance. Am I correct?
J

Aaron B

  • EA Administrator
  • EA User
  • *****
  • Posts: 941
  • Karma: +18/-0
    • View Profile
Re: Drag n Drop from Project Browser
« Reply #3 on: May 22, 2014, 09:58:07 am »
It is a confirmed issue which is yet to be resolved.  SysML requirements dropped from the Project Browser as a simple link should have Rectangle Notation enabled by default (as they appear when created new from the Toolbox), but they currently don't.

Using either the "Use Rectangle Notation" menu option or applying the SysML Requirement type again from the toolbox should both change the appearance, however applying the type again from the toolbox may be overkill.  I'm not 100% sure if there are any other side-effects to this solution.

JonTP

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Drag n Drop from Project Browser
« Reply #4 on: May 31, 2014, 02:48:39 am »
Just posted in here http://www.sparxsystems.com/cgi-bin/yabb/YaBB.cgi?num=1401460224. Could one of the unknown side-effects of changing the requirement type by (Ctrl) dragging over cause my issue with hierarchy?

JP

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Drag n Drop from Project Browser
« Reply #5 on: May 31, 2014, 04:40:47 am »
I guess not. What you mention changes element type, not hierarchy.

q.