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.

Bug 33092 - ProjectEnvironmentProviders need to update Lookup
Summary: ProjectEnvironmentProviders need to update Lookup
Status: CLOSED WONTFIX
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC All
: P2 blocker (vote)
Assignee: issues@projects
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2003-04-21 11:17 UTC by Vitezslav Stejskal
Modified: 2003-12-11 14:25 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vitezslav Stejskal 2003-04-21 11:17:14 UTC
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.
Comment 1 _ pkuzel 2003-10-21 16:35:24 UTC
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).
Comment 2 Vitezslav Stejskal 2003-11-26 12:52:50 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.
Comment 3 Vitezslav Stejskal 2003-11-26 14:57:13 UTC
--> VERIFIED