DoEnableCompilerOptionActionQuery.st
author Stefan Vogel <sv@exept.de>
Tue, 03 Dec 2019 16:39:04 +0100
changeset 4605 2a55645d55eb
parent 4489 e96387661c07
permissions -rw-r--r--
#BUGFIX by stefan class: ByteCodeCompiler changed: #compile:forClass:inCategory:notifying:install:skipIfSame:silent:foldConstants:ifFail: #isHandled not understood by exception instance (only by class)

"{ Package: 'stx:libcomp' }"

"{ NameSpace: Smalltalk }"

Query subclass:#DoEnableCompilerOptionActionQuery
	instanceVariableNames:''
	classVariableNames:''
	poolDictionaries:''
	category:'System-Compiler'
!

!DoEnableCompilerOptionActionQuery class methodsFor:'documentation'!

documentation
"
    Used to ask if a parser option should be enabled.
    When the compiler makes an error notification, it raises this query to
    ask for an actionblock. If the query is not answered, the 'enable in compiler options' dialog
    is not shown.
    If it is answered, the returned value must be the block.
    The dialog is shown, and if the user confirms (do not show again), the block is called.
    The block is typically provided from the warning generation code, which sets/clears
    some flag in the user preferences.
"
! !

!DoEnableCompilerOptionActionQuery class methodsFor:'queries'!

actionQuery
    ^ self query
! !

!DoEnableCompilerOptionActionQuery class methodsFor:'documentation'!

version_CVS
    ^ '$Header$'
! !