ClassLoadInProgressQuery.st
author sr
Wed, 19 Feb 2020 16:17:53 +0100
changeset 25270 abd76d94ad4f
parent 23868 f7295016cf59
permissions -rw-r--r--
#FEATURE by Stefan Reise class: CharacterEncoderImplementations::ISO10646_to_UTF16BE removed: #isUtf16EncoderEncoder class: ISO10646_to_UTF16BE added: #isUtf16Encoder #isUtf16EncoderEncoder #isUtfEncoder

"{ Encoding: utf8 }"

"{ Package: 'stx:libbasic' }"

"{ NameSpace: Smalltalk }"

LoadInProgressQuery subclass:#ClassLoadInProgressQuery
	instanceVariableNames:'classNameBeingLoaded'
	classVariableNames:''
	poolDictionaries:''
	category:'Kernel-Exceptions-Queries'
!

!ClassLoadInProgressQuery class methodsFor:'documentation'!

documentation
"
    This query is answered during class loading,
    and allows for browsers to defer their updates.
    E.g. to bundle redraws when multiple changes are to come
    for a class or package.
"
! !

!ClassLoadInProgressQuery class methodsFor:'answering queries during load'!

answerNotifyLoading:what do:aBlock
    ^ [
        Smalltalk changed:#preClassLoad with:what.
        self answer:true do:aBlock
    ] ensure:[
        Smalltalk changed:#postClassLoad with:what.
    ].

    "Modified: / 12-03-2019 / 17:51:25 / Stefan Vogel"
! !

!ClassLoadInProgressQuery class methodsFor:'documentation'!

version
    ^ '$Header$'
!

version_CVS
    ^ '$Header$'
! !