Hi all,

I'm looking at announcements seen when renaming a RPackage. From the Nautilus renamePackage code, I see that this goes straight to RPackageOrganizer>>renamePackage:in:

In the two announcers to be followed in those cases, i.e. SystemAnnouncer and RPackage organizer announcer, I see three events I kind of expected, but not two I expected.

In RPackage organizer announcer, I see
        a RPackageUnregistered
        a RPackageRenamed
        a RPackageCreated
Where the system announcer shows only :
        a RPackageRenamed
And that there is no mention of a CategoryAdded and a CategoryRemoved events. Do those categories still exist?

Yes, they do. Opening Browser (the original thing), I see that the system category with the old package name is still there, and the new system category as well but... there was no
        CategoryAdded <- Why?
        CategoryRemoved <- of course, no deletion of the old category :)
announcements.

So, a few questions:
- is this a bug?
- will Monticello keep creating categories anyway (but not RPackage methods)
- does it matter that its incoherent now given that we will get rid of system categories one day - does it matter because there are only a handfull of guys hacking at the IDE and that as long as one browser manages to hold it together, it's fine ;)

Thanks to Nautilus for documenting indirectly how to use RPackage :)

Thierry
--
Thierry Goubier
CEA list
Laboratoire des Fondations des Systèmes Temps Réel Embarqués
91191 Gif sur Yvette Cedex
France
Phone/Fax: +33 (0) 1 69 08 32 92 / 83 95

Reply via email to