Book a Demo

Author Topic: Allow addin functionality on search results  (Read 5230 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Allow addin functionality on search results
« on: September 21, 2010, 09:53:55 pm »
It would really be useful if EA would allow to launch addin functionality from search results.
We often use EA's powerfull search facility in combination with our own addins, but the way it currently works is not very user friendly:
- right click on search result
- choose "select in project browser"
- right click on element/feature
- choose addin function.

I would love this to become
- right click on search result
- choose addin function

For that to work the getContextItem operation should ofcourse be adapted to allow for search results to be returned.

Anyone with me?

Geert

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Allow addin functionality on search results
« Reply #1 on: September 22, 2010, 01:12:35 am »
Vote!
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

beginner

  • Guest
Re: Allow addin functionality on search results
« Reply #2 on: September 22, 2010, 02:47:31 am »
I would vote (have been in similar situations and worked out awkward "solutions"). But see my signature.

<hijack>
Or maybe that's the same. There are a number of "bugs" because simple functionality is blocked by EA. Hell, I don't dare to know the state of SS (Sparx Ship) EA.
</hijack>

b.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Allow addin functionality on search results
« Reply #3 on: September 22, 2010, 03:53:08 am »
Well, one of the reasons this (and other functionality) isn't working because the search results are only 'pseudo-elements'. They look like elements, you can do some of the same stuff with them as element (select in project browser, double click,..), but they are really nothing more then type/guid tuples.
If, for each type/guid tuple they would use the "real" element (or at least something that generalizes the real element), then I wouldn't even be asking this question, since that would already exist.

Geert

beginner

  • Guest
Re: Allow addin functionality on search results
« Reply #4 on: September 22, 2010, 03:57:35 am »
In other words: this is a bug and needs to be rectified.

b.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Allow addin functionality on search results
« Reply #5 on: September 22, 2010, 03:27:58 pm »
Quote
In other words: this is a bug and needs to be rectified.

I don't really care if you call it a bug, a feature, or a pineapple, whatever it takes to get this to work is fine for me. ;D

Geert