That's a great tip.  Thanks

Joe

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of dperez
Sent: Tuesday, June 12, 2007 12:00 PM
To: [email protected]
Subject: Re: [qooxdoo-devel] JSEclipse templates


For avoiding it getting lost, I created a wiki page:

http://qooxdoo.org/documentation/0.7/jseclipse_templates

Your contributions and ideas are welcome!


dperez wrote:
> 
> Here is some tip, I find useful:
> 
> I use JSEclipse for editing, and here are some sample templates (Window |
> Preferences | JSEclipse | Templates):
> 
> For creating a class:
> 
> qx.Class.define('${Class}', {
>       extend: ${Base},
>       
>       constructor: function() {
>               arguments.callee.base.apply(this, arguments);
>       },
>       members: {
>               ${func}: function() {
>               }
>       }
> });
> 
> For creating a static class:
> 
> qx.Class.define('${Class}', {
>       type: 'static',
>       
>       statics: {
>               ${func}: function() {
>               }
>       }
> });
> 
> For creating an appearance entry in a theme:
> 
> '${AppearanceName}': {
>       style: function(states) {
>               return {
>                       ${prop}: ${value}
>               }
>       }
> }
> 
> 
> With this templates, I create new items in a fast way.
> 

-- 
View this message in context:
http://www.nabble.com/JSEclipse-templates-tf3908358.html#a11081676
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.8.14/845 - Release Date: 6/12/2007
6:39 AM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.472 / Virus Database: 269.8.14/845 - Release Date: 6/12/2007
6:39 AM
 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to