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 26881 - ProjectDescriptor
Summary: ProjectDescriptor
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Torbjorn Norbye
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2002-08-29 15:13 UTC by Jaroslav Tulach
Modified: 2003-12-11 14:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Tulach 2002-08-29 15:13:49 UTC
1. Constructor should not mention DataObject,
there is no need for it.
2. handleXXX methods can show dialogs? Does that
mean that they are called from AWT thread or from
safe thread where they can block for result of AWT
operation? - need more threading info.
Comment 1 Vitezslav Stejskal 2002-08-30 11:10:49 UTC
ad 1. infrastructure needs to know the .project file, in fact it is
identification of the project. (e.g. when IDE is closed and restarted,
infrastructure has to find .project file and reread it again in order
to preserve list of open projects)

ad 2. this is bug IMO, operation shouldn't block calling thread, it
can be replanned to AWT or any other 'safe' thread.
handleXXX methods are just notifications, e.g. when handleModification
is called the project is loaded and working already, thus we can wait
for user's response without blocking caller of this method.
Comment 2 Torbjorn Norbye 2002-09-13 22:56:22 UTC
Fixed. Dispatched dialog code to the event thread, and updated
javadoc for the handleXXX methods to state that the method
can be called from any thread.  I have not addressed issue #1
since Vita said it's necessary and you haven't disputed that;
if you disagree reopen the bug.
Comment 3 Jan Becicka 2003-08-19 15:53:19 UTC
Silence means agreement.
Comment 4 Jan Becicka 2003-11-25 14:20:03 UTC
As described in
http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the
current work on projects prototype has been stopped.

Marking issue as CLOSED.