MetacelloSpecLoader.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 05 Sep 2012 16:35:54 +0000
changeset 7 759ff40b4754
parent 1 9e312de5f694
permissions -rw-r--r--
- stx_goodies_metacello_stx added: #extensionMethodNames changed: #classNamesAndAttributes #preRequisites

"{ Package: 'stx:goodies/metacello' }"

Object subclass:#MetacelloSpecLoader
	instanceVariableNames:'spec'
	classVariableNames:''
	poolDictionaries:''
	category:'Metacello-Core-Loaders'
!


!MetacelloSpecLoader class methodsFor:'instance creation'!

on: aMetacelloPackagesSpec

	^(self new) 
		spec: aMetacelloPackagesSpec;
		yourself
! !

!MetacelloSpecLoader methodsFor:'accessing'!

loadType
	"#atomic or #linear"
	
	^self project loadType
!

project

	^self spec project
!

spec

	^spec
!

spec: aMetacelloPackagesSpec

	spec := aMetacelloPackagesSpec
! !

!MetacelloSpecLoader methodsFor:'actions'!

load

	self subclassResponsibility
!

unload

	self subclassResponsibility
! !

!MetacelloSpecLoader class methodsFor:'documentation'!

version_SVN
    ^ '$Id::                                                                                                                        $'
! !