Hi Josef,

it seems you could really benefit from reading up on some qooxdoo
fundamentals first. That should answer many questions upfront, that you
likely would run into later.

I'd like to suggest you read up on the material in the "Getting Started"
section, 
http://manual.qooxdoo.org/current/pages/getting_started.html
and also follow the detailed tutorials,
http://manual.qooxdoo.org/current/pages/tutorials/tutorial-part-1.html

Particularly, this first part of the tutorials shows you how to create
and use such additional app classes besides the main app class.

HTH,

Andreas

-- 
Andreas Ecker
Project Lead
http://qooxdoo.org


On Thu, 2011-02-03 at 04:06 -0800, josefkoller wrote:
> Hi,
> 
> If I use a own class in my Application.js I use till now this method:
> 
> qx.Class.define("imkerei.Application",
> {
>   extend : qx.application.Standalone,
> 
>   members :
>   {
>     main : function()
>     {
>      qx.Class.define("custom.MovableLabel", 
>        { 
>         extend : qx.ui.basic.Label, 
>         include: [qx.ui.core.MMovable], 
>         construct : function(content) 
>         { 
>          this.base(arguments, content); 
>          this._activateMoveHandle(this); 
>         } 
>        });
> // and I use it with 
>     test = new custom.MovableLabel("Texttest");
>     ....
>     }
>  }
> });
> 
> Is it possible to outsource such own classes for example to ownClasses.js
> and import such classes from ownClasses.js into my Application.js?
> 
> Background:
> If I have more such "own classes" my Application.js will be very long and
> unclear.
> 
> Or which syntax I have to use to get a structered code (not all in
> Application.js)?
> 
> Thanks
> 
> Josef



------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to