neilcsmith-net commented on PR #9737: URL: https://github.com/apache/netbeans/pull/9737#issuecomment-6361497781
Thanks. Generally going in the right direction in my opinion. Initial comments after quick glance through - - `DirectoryProjectProvider` should probably be an SPI in `projectapi` in https://github.com/apache/netbeans/tree/master/ide/projectapi/src/org/netbeans/spi/project The docs should be more general, and not special case groups - there are other potential use cases (at least one in the fallback PR). - The SPI method might be better named something like `findOrCreateProject` to convey what it does? On the other hand, depends what the API side does .... - General usage of the SPI should be via the project API, possibly `ProjectManager::findOrCreateProject` adjacent to [`ProjectManager::findProject` ](https://github.com/apache/netbeans/blob/master/ide/projectapi/src/org/netbeans/api/project/ProjectManager.java#L135) ? Groups should use this via the API. - The API should use lookup all, first wins, to support 0, 1 or multiple `DirectoryProjectProvider` implementations. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
