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.
Summary: | Allow language specific GoTo File providers | ||
---|---|---|---|
Product: | editor | Reporter: | Tomas Zezula <tzezula> |
Component: | Navigation | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | hmichel, jtulach, vv159170 |
Priority: | P1 | ||
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Issue Type: | TASK | Exception Reporter: | |
Bug Depends on: | 183344 | ||
Bug Blocks: | |||
Attachments: | GoTo File SPI |
Description
Tomas Zezula
2010-03-26 12:16:18 UTC
Aren't this related to 182880? *** Bug 182880 has been marked as a duplicate of this bug. *** Created attachment 96472 [details]
GoTo File SPI
Vladimir can you look to the attached new SPI? If it's OK for you I will add the apichanges and create an apireview request tomorrow and possibly integrate it on the Friday. The cnd will need to implement FileProvider which computeFiles(...,...) method should return true for roots handled by cnd and false otherwise. You will also need to remove ClassPath registration from the MakeProject. The Implementation of FileProvider is similar to TypeProvider. You need to implement FileProviderFactory which creates a new TypeProvider for each GoTo File session. The TypeProvider has two methods cancel and computeFiles which are nearly the same as in TypeProvider or SymbolProvider. The only difference is that the computeFiles returns a bool as a result as the FileProvider shoud not do merges. Fixed in jet-main: 9a59d1812167 |