Thanks for the quick reply. Just the last answer I am not sure I got it. To completely get rid of a tree element I would write treeElement.destroy(); treeElement.dispose(); right?
Sebastian Werner wrote: > Rüdiger Herrmann schrieb: >> Hi all, >> >> I have some questions regarding the new way to implement destructors. >> Some information I found here [1]. Is there more information available? >> >> First of all, is it already fully implemented as the document says it's >> 'planned'? > > Yes, they are. > >> Here the remaining questions >> - do I need to call the superclass destructor and how (if so)? > > No. This will be done automatically. > >> - do I need to declare the destruct function in a derived class if there >> is nothing to dispose of the class itself? > > No. > >> - from the 'outside view' nothing has changed, to dispose of an object >> there is only myObject.dispose() to be called, right? > > Yes. > >> - a more specialized question: the AbstractTreeElement of >> treefullcontrol has a destroy function and a destruct function, what >> about these, how do I dispose of a tree element > > Dispose=dispose() > > destroy() = remove element and all tree-childs from folder > > Cheers, > > Sebastian > >> Thanks, >> Rüdiger >> >> [1] >> http://qooxdoo.org/documentation/articles/comparison_of_class_declarations_between_0.6.x_and_0.7#destructor >> >> >> ------------------------------------------------------------------------- >> 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 > > > ------------------------------------------------------------------------- > 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/ ------------------------------------------------------------------------- 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
