On Sat, Aug 18, 2012 at 12:27 PM, Oliver Sims <
oliver.s...@simsassociates.co.uk> wrote:
> **
> I have a design that requires the following class structure:
>
> ::class RcView subclass RcDialog ::class ResView subclass ResDialog
>
> ::class View1 subclass RcView ::class View2 subclass ResView
>
> The topmost classes - RcDialog and ResDialog - are of course
> ooDialog-provided classes.
> The methods in RcView are identical to those in ResView. So I thought I
> could use a mixin so as to have a single code base for these two classes.
> Then I'd have RcView and ResView as essentially empty, and use the mixin
> to provide their (common) methods and code.
>
> But I can't seem to get the mixin capability to work in that way. Perhaps
> mixins cannot do what I want. Or perhaps I'm reading the RexxRef wrongly.
>
> Is there any way to do what I want with a mixin? Or should I be taking
> some other approach altogether?
>
What you describe is precisely what mixins are intended for, but you don't
give any details about what you're actually attempting to do or how they
are not working like you want, which makes it essentially impossible to
answer the question.
Rick
>
> Thanks
>
> --
> Oliver Sims
>
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and
> threat landscape has changed and how IT managers can respond. Discussions
> will include endpoint security, mobile security and the latest in malware
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Oorexx-users mailing list
> Oorexx-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/oorexx-users
>
>
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users