Book a Demo

Author Topic: How do you search for Component Diagrams?  (Read 4609 times)

darren.sampson

  • EA User
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
How do you search for Component Diagrams?
« on: December 13, 2006, 10:51:42 pm »
Hi Everyone,

I have the need to find all the component diagrams in a model and move them to a different model within the same project.

I've tried the advanced search, but I can't see any way to find a particular type of diagram.

Can anyone have any suggestions, or should this be a feature request?

TIA!
See the new Jobs Section on:EA Wiki...

thomaskilian

  • Guest
Re: How do you search for Component Diagrams?
« Reply #1 on: December 14, 2006, 02:10:41 am »
I can't test this now, but a SQL can likely do what you want. Check the t_diagram table.

darren.sampson

  • EA User
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: How do you search for Component Diagrams?
« Reply #2 on: December 14, 2006, 02:18:43 am »
I'm sure that I can use SQL. It just seems a strange omission from the advanced search - you only seem to be able to search on UML elements!

In the end, I may end up using SQL to move the diagrams as well.  

I think it's probably worth a feature request!

d.
« Last Edit: December 14, 2006, 02:21:30 am by darren.sampson »
See the new Jobs Section on:EA Wiki...

sargasso

  • EA Practitioner
  • ***
  • Posts: 1406
  • Karma: +1/-2
  • 10 COMFROM 30; 20 HALT; 30 ONSUB(50,90,10)
    • View Profile
Re: How do you search for Component Diagrams?
« Reply #3 on: December 14, 2006, 03:51:36 am »
darren,

As mentioned elsewhere, a diagram is not a UML "thingo" it's just a particular rendition of a set of UML elements and liinks.

From your POV its probably a "needed" thing, but from mine - where I might have 20 - 30 different aspect diagrams of the same structure exhibiting alterate architectures or different states of a particular architecture - its not really a simple thing.

As also mentioned elsewhere (maybe the same thread), the idea of stereotyping diagrams or some other tagging mechanism might go a fair way towards a good solution.

bruce
"It is not so expressed, but what of that?
'Twere good you do so much for charity."

Oh I forgot, we aren't doing him are we.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: How do you search for Component Diagrams?
« Reply #4 on: December 14, 2006, 04:50:01 am »
Quote
darren,

As mentioned elsewhere, a diagram is not a UML "thingo" it's just a particular rendition of a set of UML elements and links.

Neither are half a dozen other EAElements that you CAN search for...

Darren's point is that Diagram is not one of the Kinds of things one can search for - neither are containers (Models, Views and Packages)1
Quote
From your POV its probably a "needed" thing, but from mine - where I might have 20 - 30 different aspect diagrams of the same structure exhibiting alternate architectures or different states of a particular architecture - its not really a simple thing.

But if Diagrams and Containers were added, then their Properties would be accessible in the same way...
Quote
As also mentioned elsewhere (maybe the same thread), the idea of stereotyping diagrams or some other tagging mechanism might go a fair way toward a good solution.

bruce
We do stereotype our diagrams, Darren's point is that you can't get at the Diagram stereotype using search.

Paolo
[Edit: 1Although Containers as Elements can be searched for, Containers as Containers ("Find all controlled packages in this tree") can't be searched...]
« Last Edit: December 14, 2006, 04:30:41 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: How do you search for Component Diagrams?
« Reply #5 on: December 14, 2006, 05:41:00 am »
Sounds like a valid feature request (or several as the case might be). Who's the owner on this one?
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: How do you search for Component Diagrams?
« Reply #6 on: December 14, 2006, 08:17:08 am »
Quote
Sounds like a valid feature request (or several as the case might be). Who's the owner on this one?
Darren is...   ;D

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

darren.sampson

  • EA User
  • **
  • Posts: 39
  • Karma: +0/-0
    • View Profile
Re: How do you search for Component Diagrams?
« Reply #7 on: December 14, 2006, 05:12:18 pm »
Yes - I know diagrams aren't UML "thingos".  But I would have thought an EA search tool should be able to search for EA custom "thingos"!

I'll put in the feature request.  Thanks for your feedback!

See the new Jobs Section on:EA Wiki...