Hi Gabi,



On Mon, Mar 17, 2014 at 9:29 PM, Gabriela Arevalo (gmail) <arevalo@iam.unibe.ch> wrote:
Doru,
 
As I used Moose ** a long time ago ** I am bit confused (and also lost) with the way of using and manipulating the objects in the Moose panel.

Welcome back! :)

Thanks! Amazing how the concept of the implementation of Moose has changed :)
 
The corresponding to "MooseManager currentModel" is now "MooseModel root allModels first".

However, you should not need to use this. Instead, once you have your hands on a model in the Moose Panel, you should simply switch to the last tab (with the [|] icon), and there self is your model. For example, if you need all methods, you should:
- type "self allMethods"
- select all text
- press Cmd+o (or right click and open)

This should pop the list of all method to the right.

If you are working with Moose from a user-viewpoint, the way you suggest is good one to use Moose as a query-engine.
But if you want to use the data or even the properties to calculate something (or even to build a tool on top of Moose), I think the panel of [|] seems not to be useful.
How do the other tools do? How does, such as Roassal, take the data coming from Moose? 

I think we are facing a misunderstanding.

The Moose Panel is like an inspector with some specific functionalities. Nothing more. Essentially, all real logic you see is part of the model objects. So, if you want to build your code, you just program against objects. That is all.

But, let's be concrete and work by example. What exactly would you like to achieve?

Cheers,
Doru
 
Cheers,

Gabi

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




--
www.tudorgirba.com

"Every thing has its own flow"