Book a Demo

Author Topic: Features window: To drill down inside a value type to see attributes inside  (Read 5621 times)

avi10000

  • EA User
  • **
  • Posts: 201
  • Karma: +0/-0
  • Programmer/Writer
    • View Profile
Hi all,
Below, the Features window displays the values inside a block - named 'Example Item Flow #1'.
The block contains two values Val A and Val B, each of type 'Example Value Type',
where 'Example Value Type' is of type <valueType>.

How can I drill down inside Val A so I can see the attributes defined inside it?



Thanks
Avi

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
I think by submitting a feature request and being very patient. Everythin in this pane is EA-controlled. So no way to dock an add-in or the like. (I might be wrong, though)

q.

avi10000

  • EA User
  • **
  • Posts: 201
  • Karma: +0/-0
  • Programmer/Writer
    • View Profile
Quote
I think by submitting a feature request and being very patient. Everythin in this pane is EA-controlled.



But I want to do a demo to customers on how nicely I can see all the data items flowing along the communication path (Block -> port -> connector ), and can drill down to see all the items.

Solutions:

1)   Brute force – add a hyperlink to the diagram with the data definitions. Works.

>> So no way to dock an add-in or the like.
Do you mean that I cannot program a VB script...? Like this:

2)   Program a VB script to respond to a double-click on the Features window entry for the value type, which opens the diagram with the data definitions. Can this work?

3)   Program a VB script to respond to a double-click on the Features window entry for the value type, which opens a pop-up and loads the data item’s attributes from the entry and displays them in the pop-up. Can this work?


Thanks
Avi

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Maybe you can use an add-in hook on the OnContext event. Eventually Geert's framework can do the add-in handling for you (he will comment for sure). I'm not sure under which conditions that event will be triggered. My current customer limits EA to no add-ins (and getting some scripting was a real pain). So I'm a bit out of that business for now.

q,

avi10000

  • EA User
  • **
  • Posts: 201
  • Karma: +0/-0
  • Programmer/Writer
    • View Profile
Actually, to make it simpler, just forget the Features window. Just detect a click on the element itself and open a custom window and display its data flow.

Avi

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Actually, to make it simpler, just forget the Features window. Just detect a click on the element itself and open a custom window and display its data flow.

Avi
Yes, that is definitely possible. Check out EA Navigator
This add-in opens a new docked window that follows the selected element and shows some extra navigation options.
You might need to use a multithreading to keep the performance impact low enough though

Geert

avi10000

  • EA User
  • **
  • Posts: 201
  • Karma: +0/-0
  • Programmer/Writer
    • View Profile
Thanks, Geert.

 - Avi

avi10000

  • EA User
  • **
  • Posts: 201
  • Karma: +0/-0
  • Programmer/Writer
    • View Profile
Hi Geert, 

   Re: Features window: To drill down inside a value type to see attributes inside

I am back to this now. I want to implement it.

Quote
Check out EA Navigator
This add-in opens a new docked window that follows the selected element and shows some extra navigation options.
You might need to use a multithreading to keep the performance impact low enough though

What do you mean by "You might need to use a multithreading to keep the performance impact low enough though"? Fyi, I am not going to be running simulations on EA.

Btw, the IT dept at my company are of course concerned that the EA Navigator add-on is safe. (Very responsible, indeed.) So how would I go about getting a handful of "safe" testimonials from satisfied users?

Thanks
Avraham






Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Hi Geert, 

   Re: Features window: To drill down inside a value type to see attributes inside

I am back to this now. I want to implement it.

Quote
Check out EA Navigator
This add-in opens a new docked window that follows the selected element and shows some extra navigation options.
You might need to use a multithreading to keep the performance impact low enough though

What do you mean by "You might need to use a multithreading to keep the performance impact low enough though"? Fyi, I am not going to be running simulations on EA.

Btw, the IT dept at my company are of course concerned that the EA Navigator add-on is safe. (Very responsible, indeed.) So how would I go about getting a handful of "safe" testimonials from satisfied users?

Thanks
Avraham
I don't keep a list of (satisfied or otherwise) users.
But if they don't trust it; the tool is fully open source. They can look in the source code, and compile the tool themselves if they still don't trust it.
https://github.com/GeertBellekens/Enterprise-Architect-Toolpack

It's also listed on the Sparx 3th party add-ins: https://sparxsystems.com/products/3rdparty.html

Geert