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

Reply via email to