Community
Participate
Working Groups
the attached patch adds a method to the IScriptModel interface (and implementation) that retrieves all script projects based upon the project nature id. this will be used by a forth coming patch that will only display projects associated with the specified launch configuration (instead of showing all dltk script projects like it does now). and it seems like it would be a useful method to have in general :)
Created attachment 74023 [details] implemenation patch
oh yeah, this patch also replaces the javadoc @see comments w/ regular old comments since it makes mousing over the method to read it's javadoc somewhat useless - that information is inherited by default if nothing is specified.
Created attachment 74025 [details] implemenation patch d'oh - submitted the wrong patch
Changing OS from Mac OS to Mac OS X as per bug 185991
Thanks for patch, but your code has problems with closed projects because 'hasNature' method can be called without the CoreException only when project is opened. So, I've added method 'IScriptProject[] getOpenedScriptProjects(String natureId) throws ModelException' to IScriptModel interface. I think this method has the same semantic as you mean.
bulk change: fixed in 0.95