[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
|
[news.eclipse.tools.gef] Re: setEditDomain call from constructor
|
Can you elaborate? What do you mean the child needs to set itself up
beforehand? And what class are you talking about? Did you mean subclass of
GraphicalEditor?
"CL [dnoyeb] Gilbert" <Lamont_Gilbert@xxxxxxxxxxxxxxxxx> wrote in message
news:dip9i6$gcf$1@xxxxxxxxxxxxxxxxxxx
> Is there another place we can call setEditDomain? its an overridable
> and one really should not call such a method from a constructor. In my
> own case its causing problems because the child class needs to set
> itself up before the setEditDomain call!
>
> Just wondering if tehre is a better place to make this call than from
> the constructor?
>
>
> Thanks!
>
>
>
> CL