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 31383 - ProjectMember.getOriginal should return FileObject
Summary: ProjectMember.getOriginal should return FileObject
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC All
: P1 blocker (vote)
Assignee: Vitezslav Stejskal
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2003-02-24 09:00 UTC by Vitezslav Stejskal
Modified: 2003-12-11 14:14 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
cvs log of changes (45.13 KB, text/plain)
2003-03-13 12:13 UTC, Vitezslav Stejskal
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vitezslav Stejskal 2003-02-24 09:00:36 UTC
In order to remove dependency on old DataSystems
the PM.getOriginal method should return the
FileObject. As long as issue #29177 and issue
#31180 are implemented there is no need to use
DataObject for construction of ProjectMember.

This also means that Project.getProjectMember()
shouldn't accept DataObject, but the FileObject.
Comment 1 Vitezslav Stejskal 2003-02-27 21:06:56 UTC
UPGRADE GUIDE: The ProjectMember.getOriginal() returns FileObject and
similarily Project.getProjectMember() accepts the FileObject. Use old
DataSystems API to do FileObject <-> DataObject conversion, you can
use DataObject.find() and DataObject.getPrimaryFile() methods.

The Looks and Lookup used for ProjectMember can be registered
according to the FileObject's MIME type instead of registering them
for DataObject's class. Read the projects/core javadoc for details.
Comment 2 Vitezslav Stejskal 2003-03-13 12:12:40 UTC
done
Comment 3 Vitezslav Stejskal 2003-03-13 12:13:23 UTC
Created attachment 9389 [details]
cvs log of changes
Comment 4 Jan Becicka 2003-11-25 13:59:37 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 VERIFIED --->
Comment 5 Jan Becicka 2003-11-25 14:08:26 UTC
---> CLOSED