Hi all,

I have created issue 4876 for this.
I attached a little patch that works for me, but I don't know if this
is the best solution for it.
Hope you can take a look at it. I'll follow the comments on the issue
and if this approach likes you I'll work on a better patch for it.

TIA.

http://argouml.tigris.org/issues/show_bug.cgi?id=4876


On 10/3/07, Linus Tolke <[EMAIL PROTECTED]> wrote:
> Hello Christian!
>
> I had hoped that Bob should picked this up and point you in the right
> direction. I.e. tell if he agrees with me or has another idea on how this
> should be solved.
>
>         /Linus
>
> 2007/10/1, Christian López Espínola <[EMAIL PROTECTED]>:
> > Hi Linus,
> >
> > I need this for my module. How can I help on it?
> >
> > TIA
> >
> > On 9/30/07, Linus Tolke < [EMAIL PROTECTED]> wrote:
> > > Hello Christian!
> > >
> > > We don't have a good design for the order in which things are getting
> > > initialized when the application starts.
> > >
> > > I personally think that modules should not depend on the GUI to be
> > > initialized. I would like this to be solved by allowing modules to
> register
> > > their additions to the toolbar without having the GUI initialized. It
> might
> > > be that the GUI need to be redesigned to allow registration before
> > > initialization but I hope that is feasable.
> > >
> > >         /Linus
> > >
> > > 2007/9/30, Christian López Espínola < [EMAIL PROTECTED]>:
> > > > Hi all,
> > > >
> > > > I have found a NullPointerException when launching the Sequence2
> module.
> > > >
> > > > I have investigated why this occurs and I found that the problem is
> > > > because since the profile branch merge with trunk, the modules are
> > > > initialized before the GUI.
> > > > See
> > >
> http://argouml.tigris.org/source/browse/argouml/trunk/src_new/org/argouml/application/Main.java?rev=13614&r1=13614&r2=13613
> > > >
> > > > I need the GUI initialized for adding some stuff to the menubar and
> > > > the toolbar when the module is enabled.
> > > >
> > > > Can this change be reverted? Or what approach should I take now?
> > > >
> > > > TIA.
> > > >
> > > > --
> > > > Regards,
> > > >
> > > > Christian López Espínola
> > > >
> > >
> > >
> >
> >
> > --
> > Regards,
> >
> > Christian López Espínola
> >
>
>


-- 
Regards,

Christian López Espínola

Reply via email to