Book a Demo

Author Topic: Branches only seem to exist at root  (Read 6845 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Branches only seem to exist at root
« on: November 01, 2006, 12:10:13 am »
Is it just me, or is it reasonable, that vertexes other than the root should have the Expand/Collapse Branch functionality?

Any vertex lower than a root does not have that item in the context menu...

Our models are a bit more complex than that...

Can it be fixed please...

If you're going to fix it... Perhaps it should only show the menu item(s) if there is more than one level below this one.  Which leads on the the suggestion that if the vertex (whether a container or element)  has more than one level of subordinate, the
  • symbol could be rendered slightly differently (perhaps shaded?).

    Thoughts?  Votes?
    Paolo
    [size=0]©2006 Paolo Cantoni, -Semantica-[/size]
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Jan ´Bary´ Glas

  • EA User
  • **
  • Posts: 408
  • Karma: +0/-0
  • Bary
    • View Profile
Re: Branches only seem to exist at root
« Reply #1 on: November 01, 2006, 12:58:23 am »
Quote
the
  • symbol could be rendered slightly differently (perhaps shaded?).



Paolo
[size=0]©2006 Paolo Cantoni, -Semantica-[/size]

Or a hash / doubleplus
  • ?
Jan 'Bary' Glas

Weedman

  • EA User
  • **
  • Posts: 33
  • Karma: +0/-0
    • View Profile
Re: Branches only seem to exist at root
« Reply #2 on: November 01, 2006, 07:32:32 am »
I for one would not mind some type of change on the "+" to indicate that there are suborninate branches/packages in that tree that are under version control so that I would know to drill down deeper in that branch to get to right level should I need to checkout or merger the model.

Our model is complicated as well with many subordinate levels.

Weedman

AshK

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: Branches only seem to exist at root
« Reply #3 on: November 05, 2006, 08:27:39 pm »
JFYI:  expand/collapse menu items are found in the "contents" submenu.

also a wee tip:  

the '+', '-', and '*' keys on the numeric keypad may be used to expand, collapse,  and expand all respectively.

Ash
The Sparx Team
[email protected]

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Branches only seem to exist at root
« Reply #4 on: November 05, 2006, 08:46:55 pm »
Quote
JFYI:  expand/collapse menu items are found in the "contents" submenu.

also a wee tip:  

the '+', '-', and '*' keys on the numeric keypad may be used to expand, collapse,  and expand all respectively.

Ash
Thanks f'r tha' Ash laddie...   ;D

That's very helpful...

However, it would therefore be consistent to add a Contents submenu to the Model EAElement and to those Classifier EAElements that have other elements below them.

Finally, can we also have a Collapse All function in that Contents submenu (and, say "/", on the numeric keypad?)

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

AshK

  • EA User
  • **
  • Posts: 137
  • Karma: +0/-0
    • View Profile
Re: Branches only seem to exist at root
« Reply #5 on: November 05, 2006, 10:37:11 pm »
like a little anthropomorphic paper clip, I was hoping just to swing past the thread and with a tip :)

I've noted the inconsistency, we'll take your suggestions into consideration for our next few builds.

cheers,

ash


The Sparx Team
[email protected]

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: Branches only seem to exist at root
« Reply #6 on: November 05, 2006, 10:54:37 pm »
There is Collapse Branch instead of Collapse All.  But "/" would be helpfull.
Peter

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Branches only seem to exist at root
« Reply #7 on: November 06, 2006, 12:51:25 am »
Quote
There is Collapse Branch instead of Collapse All.  But "/" would be helpful.
Hi Peter,

If only it were that simple...  :-X

Collapse Branch merely hides the branch, it doesn't actually collapse the branch.  Technically, it probably should be:

Expand All  - expands current item and all sub items
Expand Item - expands current item and displays remembered expansion below
Collapse Item  - hides items below current and remembers expansion below
Collapse All  - hides items below current forces collapse of all items below

Thoughts?
Paolo
[size=0]©2006 Paolo Cantoni, -Semantica-[/size]
[Edit:  modified in response to feedback by peter.zrnko below]
« Last Edit: November 06, 2006, 02:29:25 am by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

peter.zrnko

  • EA User
  • **
  • Posts: 253
  • Karma: +0/-0
    • View Profile
Re: Branches only seem to exist at root
« Reply #8 on: November 06, 2006, 01:05:08 am »
Quote

Collapse All  - hides items below current forces collapse of all items below
color=Teal][size=0]©2006 Paolo Cantoni, -Semantica-[/size][/color][/right]


For me "Collapse Branch" works as you've sugested. I've tried it now. I'm using version 6.5.799
Peter

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Branches only seem to exist at root
« Reply #9 on: November 06, 2006, 02:26:48 am »
Quote

For me "Collapse Branch" works as you've suggested. I've tried it now. I'm using version 6.5.799
I stand erected...   ;D

Must have had a slip of the mind while testing...

Apologies to the Sparxians... :-[

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