Book a Demo

Author Topic: Composite (?) Component Question  (Read 18614 times)

ssands

  • EA User
  • **
  • Posts: 91
  • Karma: +0/-0
    • View Profile
Composite (?) Component Question
« on: February 25, 2017, 08:51:23 am »
Hi all,

I have a component with included sub-components. I want to display compartments in the containing component, along with the sub-components.
However, when I try this, the sub-components either obscure the operations (the compartment I want to show) or they have to appear below the operation.
I thought (hoped), that there would be room above the compartment to hold and display the sub-components.
Does anyone have an idea on how to do this?
(We've spoken about using Shape Script, but I'd like to avoid that if possible).
Thanks,
Stu

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Composite (?) Component Question
« Reply #1 on: February 27, 2017, 10:24:01 am »
Your Component can have a structure compartment - select the Component and Ctrl+Shift+Y - but unfortunately it always appears below the operations compartment.
« Last Edit: February 27, 2017, 10:31:50 am by KP »
The Sparx Team
[email protected]

ssands

  • EA User
  • **
  • Posts: 91
  • Karma: +0/-0
    • View Profile
Re: Composite (?) Component Question
« Reply #2 on: February 28, 2017, 11:48:13 am »
Thank you.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Composite (?) Component Question
« Reply #3 on: February 28, 2017, 05:51:09 pm »
Your Component can have a structure compartment - select the Component and Ctrl+Shift+Y - but unfortunately, it always appears below the operations compartment.
OK, so I enable the structure compartment for a POU (plain Old UML) Component.  What qualifies a subcomponent to appear in that compartment?

Searching for "structure compartment" in our magnificent new help system returns NO results.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Best Regards, Roy

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Composite (?) Component Question
« Reply #5 on: March 01, 2017, 06:04:12 pm »
Try searching for Structured Compartment.

Also see:

http://sparxsystems.com/enterprise_architect_user_guide/13.0/modeling_tools/add_custom_compartments_to_ele.html

and

http://sparxsystems.com/enterprise_architect_user_guide/13.0/modeling_tools/compositeelements.html
Why doesn't Structure Compartment ALSO find Structured Compartment?

If there is a field called Structure Compartment (build 1309), then I should be able to search for that name in the help and get a hit.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Composite (?) Component Question
« Reply #6 on: March 02, 2017, 11:02:16 am »
The search is a text-string search, not a sounds-like search, so it won't report 'Structured' with a d (ed c is not the same as e c).

However, the Help is wrong. The term should be 'Structure Compartment'. With abject apologies, I have corrected it in the three topics in which it exists. Not sure when this correction will surface in the released Help.
Best Regards, Roy

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Composite (?) Component Question
« Reply #7 on: March 02, 2017, 04:43:34 pm »
Structure is a full substring of Structured. And as we all know the help search is using "silly-search" since it finds all kinds of unwanted substrings and almost never what the seeker wanted >:(

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Composite (?) Component Question
« Reply #8 on: March 02, 2017, 07:14:46 pm »
Structure is a full substring of Structured. And as we all know the help search is using "silly-search" since it finds all kinds of unwanted substrings and almost never what the seeker wanted >:(

q.
Hi qwerty,

I think you've misunderstood what Roy was saying.

If I had just typed "Structure" I would have got "Structured"  but because I typed "Structure Compartment" the direct string search can't find "Structured Compartment".  This is LESS THAN OPTIMAL!

The NEW Help is NOT using "silly-search".

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Composite (?) Component Question
« Reply #9 on: March 02, 2017, 07:15:19 pm »
The search is a text-string search, not a sounds-like search, so it won't report 'Structured' with a d (ed c is not the same as e c).

However, the Help is wrong. The term should be 'Structure Compartment'. With abject apologies, I have corrected it in the three topics in which it exists. Not sure when this correction will surface in the released Help.
What form did the abjection take?

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Composite (?) Component Question
« Reply #10 on: March 02, 2017, 08:46:01 pm »
You won't tell me that the search is looking for the full text? The "match all words" drop down suggests, that it splits into single words beforehand. (Sorry, mixed that with the forum search which itself was not able to locate this very post by searching for "structure match")   :-X)

q.

« Last Edit: March 03, 2017, 12:47:50 am by qwerty »

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1297
  • Karma: +21/-4
  • Read The Help!
    • View Profile
Re: Composite (?) Component Question
« Reply #11 on: March 03, 2017, 09:35:24 am »
>>  What form did the abjection take?

Oh, the usual. Banged my head on the floor, threw ashes over myself (still sneezing) and wore an extremely uncomfortable potato sack (I think there were a couple of small potatoes still in it).
Best Regards, Roy

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Composite (?) Component Question
« Reply #12 on: March 03, 2017, 10:44:08 am »
>>  What form did the abjection take?

Oh, the usual. Banged my head on the floor, threw ashes over myself (still sneezing) and wore an extremely uncomfortable potato sack (I think there were a couple of small potatoes still in it).
So it didn't take the form of:

Wow, the users need a decent search mechanism - that, at least, works like most smarter modern searches!  Let me put in an URGENT feature request on their behalf!  ;)

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Composite (?) Component Question
« Reply #13 on: March 03, 2017, 11:18:17 am »
>>  What form did the abjection take?

Oh, the usual. Banged my head on the floor, threw ashes over myself (still sneezing) and wore an extremely uncomfortable potato sack (I think there were a couple of small potatoes still in it).
So it didn't take the form of:

Wow, the users need a decent search mechanism - that, at least, works like most smarter modern searches!  Let me put in an URGENT feature request on their behalf!  ;)

Paolo

Such feature requests always carry much greater weight when they come directly from users.
The Sparx Team
[email protected]

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Composite (?) Component Question
« Reply #14 on: March 03, 2017, 12:15:06 pm »
>>  What form did the abjection take?

Oh, the usual. Banged my head on the floor, threw ashes over myself (still sneezing) and wore an extremely uncomfortable potato sack (I think there were a couple of small potatoes still in it).
So it didn't take the form of:

Wow, the users need a decent search mechanism - that, at least, works like most smarter modern searches!  Let me put in an URGENT feature request on their behalf!  ;)

Paolo

Such feature requests always carry much greater weight when they come directly from users.

Would a request for free licences for industry champions carry any weight? :-)