[OpenAjaxIDE] Questions about <ancestor>

Ingo Muschenetz ingo at aptana.com
Fri Jul 18 14:51:27 PDT 2008


Hi Jon,

That seems reasonable to allow mixins to support ancestors. People often treat mixins and interfaces similarly, and since interfaces support inheritance, mixins could as well.

-Ingo

________________________________
From: Jon Ferraiolo [jferrai at us.ibm.com]
Sent: Friday, July 18, 2008 10:30 AM
To: Ingo Muschenetz
Cc: ide at openajax.org
Subject: Questions about <ancestor>


Hi Ingo,
At Tuesday's phone call, we talked about which elements can have an <ancestor> child element. Here is what we concluded:

* Elements that can have an <ancestor> child element:
-- <class> and <interface>
* Elements that should not have an <ancestor> child element:
-- <namespace> and <mix>
* Unsure about:
-- <mixin>

My logic is that <mixin> should allow for <ancestor> child elements. This would mean that the <mixin> consists of all of the properties and methods that are defined in the <mixin> plus all of the properties and methods from any ancestors.

I took the action to send you this email. Do you have an informed opinion on this?

Thanks.
Jon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://openajax.org/pipermail/ide/attachments/20080718/4ec8a5aa/attachment-0001.html 


More information about the IDE mailing list