Normally RPackage knows it. Now we are really thinking how to go the next level with PackageInfo and the rest. Stef On May 23, 2013, at 9:32 AM, Goubier Thierry <thierry.goubier@cea.fr> wrote:
Hi,
as the question says: how can I determine if a selector of a class is already listed as belonging to an existing version of a MC package ?
What I want to do is to determine, when I drag a method from a class to a package, whether this method should go as an extension or an override. At the moment, in the AltBrowser, if you drag a method from a class to the extension tag of a package, it will move the method in the right extension protocol, creating it if needed. Now, what I'd like is, if you do that to a method which has a version in an existing package (not just in the current changes), it can give you the choice to list that method as an override instead of an extension. And for that, I need to query the MCPackage, no?
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