ResourcePack.st
changeset 5642 494cea2296dc
parent 5603 0945abfddb9a
child 5652 fb909281b8f3
equal deleted inserted replaced
5641:b03c7d938fca 5642:494cea2296dc
   260     pack packsClassOrFileName:nm.
   260     pack packsClassOrFileName:nm.
   261     cached ifTrue:[
   261     cached ifTrue:[
   262         self addToCache:pack.
   262         self addToCache:pack.
   263     ].
   263     ].
   264     pack projectPack:(self forPackage:(aClass resourcePackage) cached:true).
   264     pack projectPack:(self forPackage:(aClass resourcePackage) cached:true).
   265 
       
   266     ^ pack
   265     ^ pack
   267 
   266 
   268     "                   
   267     "                   
   269      ResourcePack forPackage:'bosch:dapasx' cached:true
   268      ResourcePack forPackage:'bosch:dapasx' cached:true
   270 
   269 
   275      ResourcePack for:ErrorLogger 
   274      ResourcePack for:ErrorLogger 
   276      ResourcePack for:NewLauncher 
   275      ResourcePack for:NewLauncher 
   277      Workspace classResources
   276      Workspace classResources
   278     "
   277     "
   279 
   278 
   280     "Modified: / 19-10-2006 / 23:10:02 / cg"
   279     "Modified: / 01-11-2010 / 09:09:43 / cg"
   281 !
   280 !
   282 
   281 
   283 forPackage:package 
   282 forPackage:package 
   284     "get the full resource definitions given a package id (such as stx:libbasic').
   283     "get the full resource definitions given a package id (such as stx:libbasic').
   285      Also leave the resulting pack in the cache for faster access next time."
   284      Also leave the resulting pack in the cache for faster access next time."
  1341 ! !
  1340 ! !
  1342 
  1341 
  1343 !ResourcePack class methodsFor:'documentation'!
  1342 !ResourcePack class methodsFor:'documentation'!
  1344 
  1343 
  1345 version
  1344 version
  1346     ^ '$Header: /cvs/stx/stx/libview/ResourcePack.st,v 1.145 2010-09-21 06:57:31 stefan Exp $'
  1345     ^ '$Header: /cvs/stx/stx/libview/ResourcePack.st,v 1.146 2010-11-01 08:09:50 cg Exp $'
  1347 !
  1346 !
  1348 
  1347 
  1349 version_CVS
  1348 version_CVS
  1350     ^ '$Header: /cvs/stx/stx/libview/ResourcePack.st,v 1.145 2010-09-21 06:57:31 stefan Exp $'
  1349     ^ '$Header: /cvs/stx/stx/libview/ResourcePack.st,v 1.146 2010-11-01 08:09:50 cg Exp $'
  1351 ! !
  1350 ! !
  1352 
  1351 
  1353 ResourcePack initialize!
  1352 ResourcePack initialize!