`NewSystemBrowser`: improve what's considered a "real project"
Consider all project "items" with project definition class as real
projects. This enables project-related tools to work with
Pharo / Tonel packages as well (as they use flat package naming
contrary to St/X) given that there's a package manifest for them.
--- a/Tools__NewSystemBrowser.st Fri Nov 26 11:19:21 2021 +0000
+++ b/Tools__NewSystemBrowser.st Fri Nov 26 12:12:59 2021 +0000
@@ -23369,7 +23369,10 @@
hasSingleRealProjectSelectedHolder
^ [ self hasSingleProjectSelected
and:[ self theSingleSelectedProject notNil
- and:[ self theSingleSelectedProject string asPackageId isModuleId not ]]]
+ and:[ self theSingleSelectedProject string asPackageId isModuleId not
+ or:[ (ProjectDefinition definitionClassForPackage: self theSingleSelectedProject string) notNil ]]]]
+
+ "Modified: / 26-11-2021 / 11:46:23 / Jan Vrany <jan.vrany@labware.com>"
!
hasSingleRealProtocolSelected