ApplicationController.st
author Jan Vrany <jan.vrany@labware.com>
Tue, 04 Apr 2023 14:22:18 +0200
branchjv
changeset 4473 3675eb1de41b
parent 3855 1db7742d33ad
permissions -rw-r--r--
Cherry-picked `WindowBuilder >> #isWebPageBuilder`
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
50
53bc56e07e8f Initial revision
claus
parents:
diff changeset
     1
"
53bc56e07e8f Initial revision
claus
parents:
diff changeset
     2
 COPYRIGHT (c) 1995 by Claus Gittinger
53bc56e07e8f Initial revision
claus
parents:
diff changeset
     3
	      All Rights Reserved
53bc56e07e8f Initial revision
claus
parents:
diff changeset
     4
53bc56e07e8f Initial revision
claus
parents:
diff changeset
     5
 This software is furnished under a license and may be used
53bc56e07e8f Initial revision
claus
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
53bc56e07e8f Initial revision
claus
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
53bc56e07e8f Initial revision
claus
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
53bc56e07e8f Initial revision
claus
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    10
 hereby transferred.
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    11
"
3855
1db7742d33ad Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 114
diff changeset
    12
"{ Package: 'stx:libview2' }"
1db7742d33ad Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 114
diff changeset
    13
1db7742d33ad Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 114
diff changeset
    14
"{ NameSpace: Smalltalk }"
50
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    15
56
405a86416674 *** empty log message ***
claus
parents: 52
diff changeset
    16
ControllerWithMenu subclass:#ApplicationController
3855
1db7742d33ad Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 114
diff changeset
    17
	instanceVariableNames:''
1db7742d33ad Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 114
diff changeset
    18
	classVariableNames:''
1db7742d33ad Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 114
diff changeset
    19
	poolDictionaries:''
1db7742d33ad Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 114
diff changeset
    20
	category:'Interface-Framework'
50
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    21
!
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    22
52
6dc870beba69 *** empty log message ***
claus
parents: 50
diff changeset
    23
!ApplicationController class methodsFor:'documentation'!
50
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    24
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    25
copyright
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    26
"
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    27
 COPYRIGHT (c) 1995 by Claus Gittinger
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    28
	      All Rights Reserved
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    29
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    30
 This software is furnished under a license and may be used
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    31
 only in accordance with the terms of that license and with the
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    33
 be provided or otherwise made available to, or used by, any
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    34
 other person.  No title to or ownership of the software is
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    35
 hereby transferred.
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    36
"
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    37
!
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    38
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    39
documentation
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    40
"
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    41
    Since many ST-80 classes are subclasses of ApplicationController, 
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    42
    this class is provided here to allow easier porting of ST-80 code.
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    43
    It does not (currently) provide any functionality; therefore, manual
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    44
    changes have to be made to get those applications to run under ST/X.
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    45
    (but at least, this enables you to fileIn that code)
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    46
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    47
    Instance variables:
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    48
"
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    49
! !
53bc56e07e8f Initial revision
claus
parents:
diff changeset
    50
63
claus
parents: 56
diff changeset
    51
!ApplicationController methodsFor:'closing'!
claus
parents: 56
diff changeset
    52
claus
parents: 56
diff changeset
    53
close
claus
parents: 56
diff changeset
    54
    "close the application"
claus
parents: 56
diff changeset
    55
claus
parents: 56
diff changeset
    56
    self view destroy
claus
parents: 56
diff changeset
    57
! !
claus
parents: 56
diff changeset
    58
3855
1db7742d33ad Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 114
diff changeset
    59
!ApplicationController class methodsFor:'documentation'!
63
claus
parents: 56
diff changeset
    60
3855
1db7742d33ad Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 114
diff changeset
    61
version
1db7742d33ad Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 114
diff changeset
    62
    ^ '$Header: /cvs/stx/stx/libview2/ApplicationController.st,v 1.6 1995-11-11 16:04:12 cg Exp $'
1db7742d33ad Win32: Build libjpeg in its own directory, out-of-source-tree.
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 114
diff changeset
    63
! !
63
claus
parents: 56
diff changeset
    64