Ok, thanks!

Alexandre
-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.



On Mar 13, 2015, at 2:52 AM, Tudor Girba <tudor@tudorgirba.com> wrote:

Hi,

There are multiple strategies to search for. When you enter "hismo import" you imply that you want an "and" operator in between the two words. However, the class search is defined with one word. The main reason for this is that a multi word search is more expensive, and the second thing is that we do not yet have a proper ranking mechanism (it will come at some point, but we do not have it now). So, most searches are specified using GTFilterSubstring strategy and not GTFilterSubstrings strategy. At least for now.

Nevertheless, you can still apply "and" operators for your queries in the following way:
- search for hismo
- dive into the classes category (press Cmd+Shift+Right)
- search for import
<spotter-hismo-importer.png>

Cheers,
Doru


On Thu, Mar 12, 2015 at 10:52 PM, Alexandre Bergel <alexandre.bergel@me.com> wrote:
Hi!

I am facing a scenario that spotter does not seem to help. Consider the following scenario:

- Consider the Moose Panel menu:
<Screen Shot 2015-03-12 at 6.46.12 PM.png>

- I would like to know how to add a new entry in that menu. Best is to look for existing example. So, I would like to see the class behind the entry “import hismo model from MSE files”. I highly suspect that the class contains the word “Hismo” and “Import” in it. Well, let’s see what spotter gives me.

- I open Spotter and enter: hismo import 

Instead, I open Nautilus, typed Importer, and found it:
<Screen Shot 2015-03-12 at 6.47.59 PM.png>

It is MooseHismoImporter. Well, from this class, I end up in MPImportHismoCommand, which is exactly what I am looking for

Did I miss anything obvious in my reasoning?

Cheers,
Alexandre

-- 
_,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:
Alexandre Bergel  http://www.bergel.eu
^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;.




_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev




--

"Every thing has its own flow"
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev