Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Helmut Ortmann on July 17, 2016, 02:11:28 am
-
Hi,
is there a way to get all currently active searches for the repository and current user?
All *.xml files and look which technology is loaded could be a way.
The standard EA Model Searches?
Has someone knowhow?
Thanks in advance,
Helmut
-
Hi,
it looks that:
http://sparxsystems.com/forums/smf/index.php/topic,3890.msg118208.html#msg118208
answers most of the question.
What about the Build in Searches?
Thanks,
Helmut
-
Why the build-in ones? They are present anyway. And as the name says: they are build-in. Means hard coded. You can inspect each with the Find editor.
q.
-
I can confirm that.
I have written code in the past to read the EA_Searches.xml to figure out which (user) searches are available.
Geert
-
Hi,
@Geert, Thomas
thanks a lot for your answer.
If you have a lot of queries you may be pleased with the categorizing / user interface of EA. You may also be frustrated because of trying to find the wanted search. Which category or so?
Just think you have an input field (e.g. combo box) with autocomplete or fuzzy logic. Then you can easily find / perform an EA Model Search.
I have seen such things, of course in google but also in modern editors like atom. It's amazing to work with such features. The problem of misspelling isn't a problem any more...
A 30 year old case tool, named CASE/4/0, provided the feature of fuzzy search in almost every field to fill out. I remember I was impressed and asked for the algorithm they used. It was very simple but powerful (remember the CPU performance of that time).
For such things it's good to know what items has a category (here Search).
Thanks a lot,
Helmut
-
I guess you can expect Sparx to implement those overly complex algorithms. They still have to get their menus right.
q.