Is this problem already solved?

I made the gui be started on the former order and i got no exception on the
profiles loading...

The problem I mentioned was not the one you found (and solved). I remember
that some GUI class was calling some other class "getInstance()"-like method
that tryed to instantiate a new project during the initialization. The
project creation requires the profiles settings being loaded (in order to
the right profiles being loaded). But the error doesn't seem to happen
anymore so...

maas

On 10/5/07, Michiel van der Wulp <[EMAIL PROTECTED]> wrote:
>
>  Hi Marcos,
>
> When looking at the contructors for the classes
> ProjectSettingsTabProperties and ProjectSettingsTabProfile, you will see
> that the former does not read any setting from the project. All
> initialisation for first time display based on the project data is done in
> the handleSettingsTabRefresh() function.
>
> If you would design the ProjectSettingsTabProfile in the same way, then
> this problem would be solved!
>
> I see this rule being broken in 2 locations: the call to refreshLists() in
> the constructor, and probably also in the code below
> stereoField.addItemListener(new ItemListener() {....
>
> Regards,
> Michiel
>
>
>
> ----- Original Message -----
> *From:* Marcos Aurélio <[EMAIL PROTECTED]>
> *To:* [email protected]
> *Sent:* Friday, October 05, 2007 5:09 PM
> *Subject:* Re: [argouml-dev] Modules loading before GUI
>
>
> I might be wrong, but I thing this change came from the similar change I
> did when I was working on the profile stuff.
>
> My problem was:
>
> The GUI tries to create a new project (as a result of a getInstance()
> call)
> When creating a new project, I need the list of the default profiles
> To get the list I need the profile related things loaded.
>
> I think the GUI should not try to do this kind of "low-level" stuff while
> being initialized.
>
> maas
>
> On 10/5/07, Tom Morris <[EMAIL PROTECTED]> wrote:
> >
> >
> > On 10/3/07, Linus Tolke <[EMAIL PROTECTED]> wrote:
> > >
> > > 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.
> > >
> >
> > I think Bob may be traveling and/or on holiday.
> >
> > Currently we have no clearly defined rules for add-in modules, so
> > everything is very fragile.  I'll have a look at Christian's proposal, but
> > it may be a significant amount of work to design things in a way that
> > provides a reasonable API for modules.
> >
> > I'll also have a look at whether the initialization can be reorganized
> > in a way that will work for both the profiles and the sequence diagram
> > rewrite.
> >
> > Tom
> >
> >
> >
>
>
> --
> -
> http://www.marcosaurelio.com
> *1984 +2057
>
> "Enfim, não tenha medo de errar e se foder grande. Você vai se foder de
> qualquer jeito e no fim você vai morrer." - nao2nao1.com.br
>
> ------------------------------
>
> No virus found in this incoming message.
> Checked by AVG Free Edition.
> Version: 7.5.488 / Virus Database: 269.14.1/1051 - Release Date: 5/10/2007
> 12:27
>
>


-- 
-
http://www.marcosaurelio.com
*1984 +2057

"Is there a Google afterlife?

By uploading our thoughts and opinions onto the Internet, our knowledge
lives on in Google's cache even after our death."

http://www.thechurchofgoogle.org/faq.html

Reply via email to