Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » setEditDomain call from constructor
setEditDomain call from constructor [message #199433] Fri, 14 October 2005 21:56 Go to next message
Eclipse UserFriend
Originally posted by: Lamont_Gilbert.rigidsoftware.com

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
Re: setEditDomain call from constructor [message #199499 is a reply to message #199433] Mon, 17 October 2005 03:21 Go to previous message
Eclipse UserFriend
Originally posted by: none.unknown.com

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@rigidsoftware.com> wrote in message
news:dip9i6$gcf$1@news.eclipse.org...
> 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
Previous Topic:Display large text files using org.eclipse.draw2d.text
Next Topic:GEF 3.1.1 update site
Goto Forum:
  


Current Time: Thu Dec 12 13:59:29 GMT 2024

Powered by FUDForum. Page generated in 0.02638 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top