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 268811

Summary: Service provider for FileChooserBuilder
Product: platform Reporter: danilasergeyev
Component: FilesystemsAssignee: danilasergeyev
Status: VERIFIED FIXED    
Severity: normal CC: apireviews, issues
Priority: P3 Keywords: API_REVIEW_FAST
Version: Dev   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Attachments: Proposed changes

Description danilasergeyev 2016-11-03 16:29:24 UTC
Created attachment 162754 [details]
Proposed changes

There are cases when we want to use file chooser to browse file system on a remote machine (or probably other file system that is not based on java.io.File). Modules that provide such file choosers already exist in NetBeans, for example, dlight.remote.ui. However, direct usage of these modules introduces undesirable dependencies.
We propose a pair of API/SPI that allows a client that knows a FileSystem to obtain a file chooser for that file system.
Comment 1 danilasergeyev 2016-11-21 16:58:32 UTC
I'm going to push changes into cnd-main, if there is no objections
Comment 2 danilasergeyev 2016-11-25 15:19:56 UTC
Implemented in changeset:
http://hg.netbeans.org/cnd-main/rev/7ec1ca8ab1ac
Comment 3 Quality Engineering 2016-11-27 02:51:24 UTC
Integrated into 'main-silver', will be available in build *201611270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/7ec1ca8ab1ac
User: Danila Sergeyev <danilasergeyev@netbeans.org>
Log: Bug #268811 Service provider for FileChooserBuilder
Comment 4 danilasergeyev 2016-12-08 14:02:05 UTC
Verified in internal NetBeans 8,2 patch 1 build