Hi Martin,

> is it possible to call a class (in qooxdoo files in other folder) in other
> file and see the variables with values?
> The class where I am was in the same folder, but in other file.
>   

Sorry, I'm not getting it. You want to call a class? Do you want to call 
a static method on a class? Or create an instance of that class? - Both 
is easily possible by using the class name. It doesn't matter if the 
class is in another file or folder, you have to use the class'es name, 
like what you give in the call to "qx.Class.define(name.of.class, ....)" 
when defining this class. - Is that what you asked for?!

I'm also not sure what you mean by "variables with values". If you are 
only interested in the class itself, you can inspect static members like 
class attributes.

If, OTOH, you are talking about *instances* of classes in another 
file.... you somehow need to pass references to that class instances to 
the current code, in order to be able to inspect them. E.g. the external 
class could have a static method "getMyInstanceOfClassX()" which would 
return the reference to the object, which you can call in your local 
code. But this can only work if the other class has already created the 
class instance, and is ready to return the reference, so there is a bit 
of timing involved.

HTH,
Thomas



> Can someone help me.
>
>
> Thanks,
> Martin 
>   

------------------------------------------------------------------------------
Are you an open source citizen? Join us for the Open Source Bridge conference!
Portland, OR, June 17-19. Two days of sessions, one day of unconference: $250.
Need another reason to go? 24-hour hacker lounge. Register today!
http://ad.doubleclick.net/clk;215844324;13503038;v?http://opensourcebridge.org
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to