This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
The PEPs should be able to change the contents of the Lookup they provided for some ProjectMember (e.g. they need to add/remove SaveCookie depending on whether the file is modified or not). Since the PEP is factory providing Lookup for all files of certain type the framework should allow them to get back the Lookup which they provided for specific PM. Then the PEP implementation can modify the Lookup's contents.
I think that it's better to leave this responsibility on the providers themselves. They can provide live lookups monitoring the PM if needed. Direct support in framework means extra overhead (to keep the reverse references map) for providers that do not need this functionality. Live lookups can be implemented using AbstractLookup with InstanceContent (call set(), add() and remove() on triggering event).
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped.
--> VERIFIED