I added your idea to the bug Martin mentioned.
Cheers,
T.
On 07/25/2011 06:34 PM, Gian Marco Gherardi wrote:
> Hi,
> inspired by the implementation of warning for job shadowing, and by
> @Override annotation in Java, i propose to have the same functionality
> for Qx class members
>
> here is an example:
>
> qx.Class.define("trackr.view.EditTaskComposite", {
> extend: qx.ui.container.Composite,
>
> members: {
> // unintended override/shadowing of
> qx.ui.container.Composite._add !!
> // This unintended shadowing should be catched and notified as
> warning during source/build job
> _add: function () {
> },
>
> // intentional override. In this case the @override directive
> instruct the toolchain that
> // this override is intentional. The toolchain in this case
> should
> generate a warning
> // if there's no corresponding method on the base class to
> override
> // @override
> _remove: function () {
> this.base(arguments);
> }
> }
> });
>
> What do you think?
>
> Gian Marco Gherardi
> http://gianmarco.gherardi.me
>
> ------------------------------------------------------------------------------
> Storage Efficiency Calculator
> This modeling tool is based on patent-pending intellectual property that
> has been used successfully in hundreds of IBM storage optimization engage-
> ments, worldwide. Store less, Store more with what you own, Move data to
> the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel