I already did it....and it works great...but in the porting process..I'm having a lot of issues...
Kind Regards, Camilo Casadiego Espitia Arquitecto de SW A + 57 1 6393000 [email protected] c http://www.adv.com.co Carrera 11 No. 93 - 53 P7 Bogotá - Colombia -----Mensaje original----- De: Sandro Martini [mailto:[email protected]] Enviado el: Thursday, August 25, 2011 3:57 PM Para: [email protected] Asunto: Re: Porting draw functions from 1.5 to 2.0 Hi Camilo, have you tried to take a look on drawing samples in 1.5.2 ? And the Clock sample/demo ? Greg can tell you something, don't know others of us ... Bye Il giorno 25/ago/2011 20:47, "Camilo Casadiego" <[email protected]> ha scritto: > Hi there, I have working the whole day in order to port the draw options contained in pivot 1.5 to 2.0...already tried like 3 times...but not success...so I'm asking for some directions... > > After I import the code, I start by adding the heritage relations, because Canvas is not a component or a container, but when i'm making this change, i find that when I get to group, it has Sequence<Shape>, Iterable<Shape> so i cannot make it heritage form component because it get a conflict, so I just add the promoted Shape to component...until this everything seems fine...but shape itself returns its parent...so its spected to be a Group, but as long as shape extends component, and Group cannot be a component itself...for the explained problem...then when I triy to cast and return the component it throws a class cast exception (doh) so I'm totally lost at this time....any help'll be appreciated. > > I need to have some headlines about the line of heritage that should be holded between the drawing components and the Component and Container classes in version 2.0 > > Kind Regards, > Camilo Casadiego >
