DoNotShowCompilerWarningAgainActionQuery.st
author Claus Gittinger <cg@exept.de>
Tue, 23 Apr 2019 23:14:55 +0200
changeset 4407 cf8780f42d7e
parent 2834 7c7f2a83f0c6
permissions -rw-r--r--
#UI_ENHANCEMENT by cg class: Parser changed: #warnIfPossiblyUninitializedLocal:
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2330
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
     1
"
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
     2
 COPYRIGHT (c) 2009 by eXept Software AG
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
     3
              All Rights Reserved
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
     4
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
     5
 This software is furnished under a license and may be used
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
     6
 only in accordance with the terms of that license and with the
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
     8
 be provided or otherwise made available to, or used by, any
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
     9
 other person.  No title to or ownership of the software is
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
    10
 hereby transferred.
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
    11
"
2294
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libcomp' }"
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
Query subclass:#DoNotShowCompilerWarningAgainActionQuery
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
	instanceVariableNames:''
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	category:'System-Compiler'
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
!
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!DoNotShowCompilerWarningAgainActionQuery class methodsFor:'documentation'!
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
2330
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
    23
copyright
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
    24
"
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
    25
 COPYRIGHT (c) 2009 by eXept Software AG
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
    26
              All Rights Reserved
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
    27
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
    28
 This software is furnished under a license and may be used
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
    29
 only in accordance with the terms of that license and with the
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
    31
 be provided or otherwise made available to, or used by, any
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
    32
 other person.  No title to or ownership of the software is
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
    33
 hereby transferred.
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
    34
"
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
    35
!
55d370558bfe added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2294
diff changeset
    36
2294
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
documentation
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
"
2834
7c7f2a83f0c6 changed: #documentation
Claus Gittinger <cg@exept.de>
parents: 2330
diff changeset
    39
    Used to ask if a warning should be shown again.
7c7f2a83f0c6 changed: #documentation
Claus Gittinger <cg@exept.de>
parents: 2330
diff changeset
    40
    When the compiler makes an error notification, it raises this query to
7c7f2a83f0c6 changed: #documentation
Claus Gittinger <cg@exept.de>
parents: 2330
diff changeset
    41
    ask for an actionblock. If the query is not answered, the 'no not show again' dialog
7c7f2a83f0c6 changed: #documentation
Claus Gittinger <cg@exept.de>
parents: 2330
diff changeset
    42
    is not shown.
7c7f2a83f0c6 changed: #documentation
Claus Gittinger <cg@exept.de>
parents: 2330
diff changeset
    43
    If it is answered, the returned value must be the block.
7c7f2a83f0c6 changed: #documentation
Claus Gittinger <cg@exept.de>
parents: 2330
diff changeset
    44
    The dialog is shown, and if the user confirms (do not show again), the block is called.
7c7f2a83f0c6 changed: #documentation
Claus Gittinger <cg@exept.de>
parents: 2330
diff changeset
    45
    The block is typically provided from the warning generation code, which sets/clears
7c7f2a83f0c6 changed: #documentation
Claus Gittinger <cg@exept.de>
parents: 2330
diff changeset
    46
    some flag in the user preferences.
2294
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
"
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
! !
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
!DoNotShowCompilerWarningAgainActionQuery class methodsFor:'queries'!
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
actionQuery
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
    ^ self query
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
! !
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
!DoNotShowCompilerWarningAgainActionQuery class methodsFor:'documentation'!
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
version_CVS
2834
7c7f2a83f0c6 changed: #documentation
Claus Gittinger <cg@exept.de>
parents: 2330
diff changeset
    59
    ^ '$Header: /cvs/stx/stx/libcomp/DoNotShowCompilerWarningAgainActionQuery.st,v 1.3 2012-02-28 17:42:08 cg Exp $'
2294
4e6d37e9d883 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
! !