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 21365

Summary: cannot create looks that bind to all dataobject for a given filesystem type..
Product: contrib Reporter: Milos Kleint <mkleint>
Component: LooksAssignee: Petr Hrebejk <phrebejk>
Status: VERIFIED FIXED    
Severity: blocker CC: jtulach, mentlicher
Priority: P3    
Version: 3.x   
Hardware: PC   
OS: Windows ME/2000   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 21340, 18177    

Description Milos Kleint 2002-03-08 13:46:40 UTC
as far as I could figure (by asking yarda ;) there's no way how to register my
look for all dataobject for a given filesystem type. 

example:
For vcs we want to provide the current versioning explorer functionality within
the standard Explorer, by providing a versioning look that will display the
existing revisions tree for the file..
Thus we need a look for all different dataobject types that is bound to
dataobjects from our filesystems only.
Comment 1 Petr Hrebejk 2002-06-24 11:11:50 UTC
Moving Looks issues to dev 4.0
Comment 2 Jaroslav Tulach 2002-07-25 18:30:27 UTC
Should be possible. Register a "delegator look" for
org.openide.filesystems.FileObject that will extract the class of the
FileObject's filesystem and delegate for example to:

Looks/FileObject/org/openide/filesystems/LocalFileSystem
Looks/FileObject/org/openide/filesystems/AbstractFileSystem
Looks/FileObject/org/openide/filesystems/FileSystem

sequence, the represented object will still be FileObject, but the
dispatch will be done using the FileSystem type.
Comment 3 pzajac 2004-02-25 14:54:49 UTC
verified