Book a Demo

Author Topic: Label Hiding, En Masse  (Read 7727 times)

Nicole Tedesco

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
  • I don't think that's a good idea...
    • View Profile
Label Hiding, En Masse
« on: December 06, 2006, 09:26:33 pm »
When I model some particular information stratum, I may want to present that model to various consumers.  For an executive I want to hide and show different things than I would for a developer.  Part of an easy customization strategy is to provide a way of hiding/showing all label across many connectors at once.  At the very least, I would like a ways to pick and choose which connector labels I want to see across the entire diagram, for a specific connector (I already have that), and perhaps even across a selection of connectors.  Doing this connector-by-connector at a time is a colossal waste of my time!  (Besides, every time I change a diagram property or its note all the connector labels are visible again.)
Nicole C Tedesco

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Label Hiding, En Masse
« Reply #1 on: December 07, 2006, 05:12:35 am »
Desperately needed, and often mentioned in this forum.

That said, I don't know if this has actually been requested as a feature. Since you own this thread, why don't you submit the request to Sparx. From the EA menu use Help | On-line Resources | Request-a-Feature.

When you've done so, please edit your first message in this thread to let us know that Sparx is aware of the request.

Voting starts now: I'll ante the first one up.

David
No, you can't have it!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Label Hiding, En Masse
« Reply #2 on: December 07, 2006, 01:15:03 pm »
This is actually a subset of being able to anything to more than one edge at a time...

Go for me!

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

Dave_Bullet

  • EA User
  • **
  • Posts: 295
  • Karma: +0/-0
    • View Profile
Re: Label Hiding, En Masse
« Reply #3 on: December 07, 2006, 01:34:34 pm »
The only way I know to do this is, is via SQL.  This SQL hides all labels, but you could taylor it to your needs:

1. Save your diagram

2. Run the following SQL - replacing the <diagram_name> - with the name of your diagram (Note: - this assumes your diagram is uniquely named across your entire project)

update t_diagramlinks
set style = left(style, 7) + 'HideLabels=1' + substring(style, 7, 255)
where diagramid = (select diagram_id from t_diagram where name = '<diagram_name>')
and charindex('HideLabels=1', style) = 0

3. In EA - reload your diagram

Cheers,
David.
« Last Edit: December 07, 2006, 01:35:47 pm by Dave_Bullet »
"I know I'm close to a good design, but it's like the balloon animals, squeeze in one spot and the problem moves down the line"

Dave_Bullet

  • EA User
  • **
  • Posts: 295
  • Karma: +0/-0
    • View Profile
Re: Label Hiding, En Masse
« Reply #4 on: December 10, 2006, 06:01:48 pm »
This posting in the general forum using shape script might be your answer...

http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=general;action=display;num=1165490013
"I know I'm close to a good design, but it's like the balloon animals, squeeze in one spot and the problem moves down the line"

jaguilar

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Label Hiding, En Masse
« Reply #5 on: January 15, 2007, 05:13:04 pm »
I'd love to have this functionality too and the SQL solution is not good for me since we don't have the Corporate Edition.

Does anyone have any info on it?

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Label Hiding, En Masse
« Reply #6 on: January 15, 2007, 09:09:00 pm »
Quote
I'd love to have this functionality too and the SQL solution is not good for me since we don't have the Corporate Edition.

Does anyone have any info on it?
NOTE:  You can't create update SQLs within the SQL query builder within EA.

Dave_Bullet's solution requires you to have direct SQL access to your repository (by means other than EA).  So it has nothing to do with the edition of EA.

We use MS Access to give us SQL access to our repositories.

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

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: Label Hiding, En Masse
« Reply #7 on: November 20, 2018, 09:17:41 am »
When I model some particular information stratum, I may want to present that model to various consumers.  For an executive I want to hide and show different things than I would for a developer.  Part of an easy customization strategy is to provide a way of hiding/showing all label across many connectors at once.  At the very least, I would like a ways to pick and choose which connector labels I want to see across the entire diagram, for a specific connector (I already have that), and perhaps even across a selection of connectors.  Doing this connector-by-connector at a time is a colossal waste of my time!  (Besides, every time I change a diagram property or its note all the connector labels are visible again.)
I wish
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.