MetacelloScriptImageExecutor.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 03 Sep 2012 13:10:51 +0000
changeset 3 504152ada1fc
parent 1 9e312de5f694
permissions -rw-r--r--
fixed stc-compilability
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
9e312de5f694 - Initial commit
jv
parents:
diff changeset
     1
"{ Package: 'stx:goodies/metacello' }"
9e312de5f694 - Initial commit
jv
parents:
diff changeset
     2
9e312de5f694 - Initial commit
jv
parents:
diff changeset
     3
MetacelloScriptExecutor subclass:#MetacelloScriptImageExecutor
9e312de5f694 - Initial commit
jv
parents:
diff changeset
     4
	instanceVariableNames:''
9e312de5f694 - Initial commit
jv
parents:
diff changeset
     5
	classVariableNames:''
9e312de5f694 - Initial commit
jv
parents:
diff changeset
     6
	poolDictionaries:''
9e312de5f694 - Initial commit
jv
parents:
diff changeset
     7
	category:'Metacello-Core-Scripts'
9e312de5f694 - Initial commit
jv
parents:
diff changeset
     8
!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
     9
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    10
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    11
!MetacelloScriptImageExecutor methodsFor:'execution callback'!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    12
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    13
projectSpecSelectBlock
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    14
    ^ [ :projectSpec | 
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    15
    projectSpec
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    16
        ifNil: [ false ]
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    17
        ifNotNil: [ 
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    18
            MetacelloProjectRegistration
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    19
                registrationForProjectSpec: projectSpec
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    20
                ifAbsent: [ false ]
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    21
                ifPresent: [ :existingRegistration :newRegistration | existingRegistration loadedInImage ] ] ]
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    22
! !
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    23
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    24
!MetacelloScriptImageExecutor class methodsFor:'documentation'!
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    25
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    26
version_SVN
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    27
    ^ '$Id::                                                                                                                        $'
9e312de5f694 - Initial commit
jv
parents:
diff changeset
    28
! !