Some thoughts on the interaction with a Moose server retained from the discussion with Anne and Vincent (it was also Vincent in my previous mail but i misspelt :-).
With the current implementation, one can start by interacting with a model at any level (allClasses, allMethods, etc.) and then narrow his search on an entity or a set of entities. Every entity returns in the results the list of msgs it implements. We are working on how to correctly choose a specific moose entity from the returned collection (see my previous mail).
Scoping information is essential to correctly identify/find an entity. So scoping information can be retained by the way user interacts with the server. For example:
But that would mean interaction is restrictive, one has to start with the highest level of container (allPackages in java) and drill down to search for the required entity. Not retained.
Nicolas P. suggested to keep a way to search entities by their mooseIDs as well so we'll implement it as well.
Specify the number of entities to return.
Be able to specify an element by its position in the collection returned.
What do you think?
Usman