This change does not have any adverse effects on ArgoEclipse (ArgoEclipse
doesn't even listen for this event).

Brian

On Mon, Aug 11, 2008 at 10:30 AM, Christian López Espínola <
[EMAIL PROTECTED]> wrote:

> Hi Tom (and others),
>
> IICR, the STATUS_PROJECT_SAVED Argo event was created for ArgoEclipse.
>
> This change broke the XMI Export when the project wasn't saved as
> Zargo file (issue 5302:
> http://argouml.tigris.org/issues/show_bug.cgi?id=5302 ) and the
> revision where I fixed it is r15542.
>
> I have not a working environment for ArgoEclipse, so could you (or
> others) check that this has not any side effect?
>
> Thanks.
>
> (Diff of r15442 below)
>
> On Mon, Aug 11, 2008 at 4:00 PM,  <[EMAIL PROTECTED]> wrote:
> > Author: penyaskito
> > Date: 2008-08-11 07:00:57-0700
> > New Revision: 15542
> >
> > Modified:
> >   trunk/src/argouml-app/src/org/argouml/ui/ProjectBrowser.java
> >
> > Log:
> > Issue 5302: NPE dialog when exporting XMI from unsaved project.
> >
> > Modified: trunk/src/argouml-app/src/org/argouml/ui/ProjectBrowser.java
> > Url:
> http://argouml.tigris.org/source/browse/argouml/trunk/src/argouml-app/src/org/argouml/ui/ProjectBrowser.java?view=diff&rev=15542&p1=trunk/src/argouml-app/src/org/argouml/ui/ProjectBrowser.java&p2=trunk/src/argouml-app/src/org/argouml/ui/ProjectBrowser.java&r1=15541&r2=15542
> >
> ==============================================================================
> > --- trunk/src/argouml-app/src/org/argouml/ui/ProjectBrowser.java
>  (original)
> > +++ trunk/src/argouml-app/src/org/argouml/ui/ProjectBrowser.java
>  2008-08-11 07:00:57-0700
> > @@ -1417,8 +1417,8 @@
> >             project.postSave();
> >
> >             ArgoEventPump.fireEvent(new ArgoStatusEvent(
> > -                    ArgoEventTypes.STATUS_PROJECT_SAVED, this,
> project.getURI()
> > -                            .toString()));
> > +                    ArgoEventTypes.STATUS_PROJECT_SAVED, this,
> > +                    file.getAbsolutePath()));
> >             LOG.debug ("setting most recent project file to "
> >                    + file.getCanonicalPath());
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
> --
> Cheers,
>
> Christian López Espínola <penyaskito>
>

Reply via email to