PackageId.st
branchjv
changeset 17734 406b1590afe8
parent 17732 a1892eeca6c0
child 17735 6a5bc05f696a
--- a/PackageId.st	Mon Oct 26 21:51:17 2009 +0000
+++ b/PackageId.st	Thu Nov 05 14:41:30 2009 +0000
@@ -177,6 +177,15 @@
     "Modified: / 28-11-2006 / 11:39:14 / cg"
 !
 
+isModuleId
+    "true if this is a module-id only (i.e. no directory component present).
+     These are not allowed to be used as real projects, but only for organization.
+     The reason is that this is used as selector to select the sourceCodeManager and
+     also the managers repository"
+
+    ^ self directory isEmptyOrNil
+!
+
 libraryName
     "return the name of the library, when compiled to a binary (i.e. dll/so).
      To avoid conflicts with the projectDefinition class 
@@ -270,10 +279,11 @@
 !PackageId class methodsFor:'documentation'!
 
 version
-    ^ '$Id: PackageId.st 10473 2009-10-24 15:48:19Z vranyj1 $'
+    ^ '$Id: PackageId.st 10477 2009-11-05 14:41:30Z vranyj1 $'
 !
 
 version_CVS
-    ^ '§Header: /cvs/stx/stx/libbasic/PackageId.st,v 1.15 2009/10/12 17:17:14 cg Exp §'
+    ^ '$Id: PackageId.st 10477 2009-11-05 14:41:30Z vranyj1 $'
 ! !
 
+