NewLauncher.st
author Claus Gittinger <cg@exept.de>
Tue, 18 Aug 1998 16:34:32 +0200
changeset 1842 b4bd3ccd2f3d
parent 1841 952d20d44c1b
child 1843 d30c77926b35
permissions -rw-r--r--
fixed active help (must be a value holder)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
     1
"
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
     2
 COPYRIGHT (c) 1997-1998 by eXept Software AG
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
     3
              All Rights Reserved
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
     4
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
     5
 This software is furnished under a license and may be used
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
     7
 inclusion of the above copyright notice. This software may not
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
     9
 other person. No title to or ownership of the software is
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    10
 hereby transferred.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    11
"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    12
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    13
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    14
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    15
ToolApplicationModel subclass:#NewLauncher
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
    16
	instanceVariableNames:'transcript isMainLauncher helpIsOn'
1767
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
    17
	classVariableNames:'OpenLaunchers NotifyingEmergencyHandler UserAddedTools'
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    18
	poolDictionaries:''
1469
415d35e62db6 class category changed
tz
parents: 1467
diff changeset
    19
	category:'Interface-Smalltalk'
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    20
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    21
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    22
!NewLauncher class methodsFor:'documentation'!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    23
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    24
copyright
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    25
"
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
    26
 COPYRIGHT (c) 1997-1998 by eXept Software AG
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    27
              All Rights Reserved
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    28
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    29
 This software is furnished under a license and may be used
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    30
 only in accordance with the terms of that license and with the
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    31
 inclusion of the above copyright notice. This software may not
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    32
 be provided or otherwise made available to, or used by, any
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    33
 other person. No title to or ownership of the software is
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    34
 hereby transferred.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    35
"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    36
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    37
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    38
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    39
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    40
documentation
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    41
"
1411
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
    42
    The future launcher.
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
    43
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
    44
    [start with:]
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
    45
        NewLauncher open
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
    46
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
    47
    [see also:]
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
    48
        Launcher
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
    49
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
    50
    [author:]
1453
6abe92727df3 info bars redesigned
tz
parents: 1449
diff changeset
    51
        Thomas Zwick, eXept Software AG
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    52
"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    53
! !
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    54
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    55
!NewLauncher class methodsFor:'accessing'!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    56
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    57
current
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    58
    "return the launcher running on the current screen.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    59
     (for access via addMenu/ removeMenu)"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    60
1434
8746ba3896d7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
    61
    OpenLaunchers notNil ifTrue:[
8746ba3896d7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
    62
        OpenLaunchers do:[:aLauncher |
8746ba3896d7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
    63
            aLauncher window graphicsDevice == Screen current ifTrue:[
8746ba3896d7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
    64
                ^ aLauncher
8746ba3896d7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
    65
            ]
8746ba3896d7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
    66
        ].
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    67
    ].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    68
    ^ nil
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    69
1434
8746ba3896d7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
    70
    "Modified: / 29.1.1998 / 22:08:12 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    71
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    72
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    73
label
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    74
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    75
    ^'Launcher'
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    76
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    77
1434
8746ba3896d7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
    78
!
8746ba3896d7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
    79
8746ba3896d7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
    80
openLaunchers
8746ba3896d7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
    81
8746ba3896d7 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1433
diff changeset
    82
    ^OpenLaunchers ? (OpenLaunchers := OrderedCollection new)
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    83
! !
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    84
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    85
!NewLauncher class methodsFor:'defaults'!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    86
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    87
notifyingEmergencyHandler
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    88
    "return a block (used as an emergency handler
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    89
     for exceptions), which does errorNotification before going
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    90
     into the debugger."
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    91
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    92
    "Remember the handlerBlock, to be able to determine if the current
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    93
     handler is the notifying one."
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    94
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
    95
    ^ NotifyingEmergencyHandler ? (NotifyingEmergencyHandler := Exception notifyingEmergencyHandler)
1836
5f36df45604f added #windowIcon - which can be redefined in a subclass.
Claus Gittinger <cg@exept.de>
parents: 1819
diff changeset
    96
!
5f36df45604f added #windowIcon - which can be redefined in a subclass.
Claus Gittinger <cg@exept.de>
parents: 1819
diff changeset
    97
5f36df45604f added #windowIcon - which can be redefined in a subclass.
Claus Gittinger <cg@exept.de>
parents: 1819
diff changeset
    98
windowIcon
5f36df45604f added #windowIcon - which can be redefined in a subclass.
Claus Gittinger <cg@exept.de>
parents: 1819
diff changeset
    99
    ^ Icon stxIcon
5f36df45604f added #windowIcon - which can be redefined in a subclass.
Claus Gittinger <cg@exept.de>
parents: 1819
diff changeset
   100
5f36df45604f added #windowIcon - which can be redefined in a subclass.
Claus Gittinger <cg@exept.de>
parents: 1819
diff changeset
   101
    "Created: / 16.8.1998 / 13:11:58 / cg"
5f36df45604f added #windowIcon - which can be redefined in a subclass.
Claus Gittinger <cg@exept.de>
parents: 1819
diff changeset
   102
    "Modified: / 17.8.1998 / 10:07:09 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   103
! !
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   104
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   105
!NewLauncher class methodsFor:'help specs'!
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   106
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   107
helpSpec
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   108
    "This resource specification was automatically generated
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   109
     by the UIHelpTool of ST/X."
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   110
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   111
    "Do not manually edit this!! If it is corrupted,
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   112
     the UIHelpTool may not be able to read the specification."
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   113
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   114
    "
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   115
     UIHelpTool openOnClass:NewLauncher    
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   116
    "
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   117
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   118
    <resource: #help>
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   119
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   120
    ^super helpSpec addPairsFrom:#(
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   121
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   122
#aboutLicenseConditions
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   123
'Open an HTML-Browser showing the license conditions of ST/X.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   124
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   125
#classes
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   126
'Class functions.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   127
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   128
#classesClassBrowser
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   129
'Open a dialog for defining and opening a Class Browser on a class.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   130
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   131
#classesClassHierarchyBrowser
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   132
'Open a dialog for defining and opening a Class Hierarchy Browser on a class.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   133
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   134
#classesClassTreeBrowser
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   135
'Open a Class Tree on the classes of ST/X.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   136
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   137
#classesFullClassBrowser
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   138
'Open a dialog for defining and opening a Full Class Browser on a class.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   139
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   140
#classesImplementors
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   141
'Find all methods which implement a particular message'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   142
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   143
#classesRemoveAllTracePoints
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   144
'Remove all trace- and break-points.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   145
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   146
#classesResourceMethods
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   147
'Open a dialog for searching resource methods.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   148
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   149
#classesSenders
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   150
'Find all methods which send a particular message.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   151
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   152
#classesShowTracePoints
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   153
'Open a list showing all trace- and break-points on methods.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   154
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   155
#classesSpecial
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   156
'Special class functions.'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   157
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   158
#classesSpecialReferencesToUndeclared
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   159
'Open a list of methods refering to undeclared variables.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   160
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   161
#classesSystemBrowser
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   162
'Open a System Browser for editing sources of the classes.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   163
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   164
#classesSystemBrowserOnClass
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   165
'Open a System Browser on a previously modified class.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   166
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   167
#demos
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   168
'Demo functions.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   169
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   170
#demos3D
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   171
'3D graphic demos.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   172
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   173
#demos3DcubeSolid
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   174
'A rotating solid cube.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   175
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   176
#demos3DcubeWire
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   177
'A rotating wireframe cube.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   178
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   179
#demos3Ddoughnut
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   180
'A rotating wireframe doughnut.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   181
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   182
#demos3Dlogo
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   183
'The ST/X logo.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   184
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   185
#demos3Dplane
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   186
'A rotating plane.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   187
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   188
#demos3Dplanet
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   189
'Two spheres - one rotating around the other.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   190
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   191
#demos3Drubics
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   192
'A rubics cube - with interaction.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   193
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   194
#demos3Dsphere
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   195
'A rotating wireframe sphere.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   196
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   197
#demos3Dteapot
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   198
'A teopot.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   199
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   200
#demos3Dtetra
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   201
'A rotating tetrahedron.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   202
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   203
#demosAnimations
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   204
'Simple animation demos.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   205
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   206
#demosCalculator
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   207
'Opens a calculator with decimal to hex conversion.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   208
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   209
#demosCalendar
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   210
'Opens a GUI on the cal unix program.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   211
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   212
#demosClock
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   213
'Opens an analog clock application.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   214
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   215
#demosCommander
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   216
'Opens a demo for the Commander class.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   217
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   218
#demosDigitalClock
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   219
'Opens a digital clock application'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   220
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   221
#demosFTP
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   222
'Opens a simple FTP interface demo.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   223
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   224
#demosFractalPatterns
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   225
'Opens a view displaying fractals patterns.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   226
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   227
#demosFractalPlants
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   228
'Opens a view displaying fractal plants (iterated function systems).'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   229
1794
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   230
#demosGUI
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   231
'GUI builder demos.'
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   232
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   233
#demosGUICalculator
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   234
'Calculator built using the GUI builder.'
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   235
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   236
#demosGUIWidgets
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   237
'GUI widgets usage.'
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   238
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   239
#demosGames
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   240
'Games.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   241
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   242
#demosGeometric
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   243
'Various demos displaying geometric designs.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   244
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   245
#demosGlobe
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   246
'Opens a rotating globe animation demo.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   247
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   248
#demosGoodies
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   249
'Goodies and Utilities.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   250
1777
37850beccf0a help texts
Claus Gittinger <cg@exept.de>
parents: 1774
diff changeset
   251
#demosGraphicEditors
37850beccf0a help texts
Claus Gittinger <cg@exept.de>
parents: 1774
diff changeset
   252
'Graphic editing demos.'
37850beccf0a help texts
Claus Gittinger <cg@exept.de>
parents: 1774
diff changeset
   253
37850beccf0a help texts
Claus Gittinger <cg@exept.de>
parents: 1774
diff changeset
   254
#demosGraphicEditorsDrawTool
37850beccf0a help texts
Claus Gittinger <cg@exept.de>
parents: 1774
diff changeset
   255
'Object drawing demo.'
37850beccf0a help texts
Claus Gittinger <cg@exept.de>
parents: 1774
diff changeset
   256
37850beccf0a help texts
Claus Gittinger <cg@exept.de>
parents: 1774
diff changeset
   257
#demosGraphicEditorsLogicTool
37850beccf0a help texts
Claus Gittinger <cg@exept.de>
parents: 1774
diff changeset
   258
'Simulating Logic demo.'
37850beccf0a help texts
Claus Gittinger <cg@exept.de>
parents: 1774
diff changeset
   259
37850beccf0a help texts
Claus Gittinger <cg@exept.de>
parents: 1774
diff changeset
   260
#demosGraphicEditorsPaintTool
37850beccf0a help texts
Claus Gittinger <cg@exept.de>
parents: 1774
diff changeset
   261
'Painting demo.'
37850beccf0a help texts
Claus Gittinger <cg@exept.de>
parents: 1774
diff changeset
   262
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   263
#demosMail
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   264
'Opens a simple mail viewer demo.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   265
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   266
#demosMandel
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   267
'Opens a view displaying the mandelbrot set.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   268
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   269
#demosMoreFractalPatterns
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   270
'Opens a view with more fractal patterns.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   271
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   272
#demosNews
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   273
'Opens a simple news reader demo.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   274
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   275
#demosPen
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   276
'Opens a demo for the Pen class.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   277
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   278
#demosTelnet
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   279
'Opens a Telnet terminal demo.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   280
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   281
#demosWalkingMan
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   282
'Opens a walking man animation demo.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   283
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   284
#fileApplicationBuilder
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   285
'Open an Application Builder for building stand alone ST/X-applications.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   286
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   287
#fileFileBrowser
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   288
'Open a File Browser for loading, saving, and editing source files, etc.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   289
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   290
#fileLibraryBuilder
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   291
'Open a Library Builder for building binary class libraries.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   292
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   293
#fileModules
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   294
'Open a dialog for showing (and unloading) class libraries and other modules.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   295
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   296
#fileSaveImage
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   297
'Save the current snapshot image of ST/X.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   298
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   299
#fileSaveImageAs
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   300
'Open a file dialog to save the current snapshot image of ST/X.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   301
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   302
#gamesTetris
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   303
'The tetris game - written in Smalltalk.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   304
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   305
#gamesTicTacToe
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   306
'Play TicTacToe against the computer.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   307
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   308
#gamesTicTacToe2
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   309
'Play TicTacToe against a friend.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   310
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   311
#helpClassDocumentation
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   312
'Open an HTML-Browser showing smalltalk class documentation.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   313
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   314
#helpIndex
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   315
'Open an HTML-Browser showing the online documentation index.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   316
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   317
#helpPrintDocumentation
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   318
'Open a dialog to print various parts of the ST/X documentation.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   319
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   320
#helpSTXOnlineDocumentation
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   321
'Open an HTML-Browser showing the ST/X online documentation.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   322
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   323
#helpWhatsNew
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   324
'Open an HTML-Browser showing latest news about ST/X.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   325
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   326
#settingsCompilation
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   327
'Open a dialog for changing compiler settings.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   328
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   329
#settingsFonts
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   330
'Open a dialog for changing of the font defaults.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   331
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   332
#settingsKeyboardMappings
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   333
'Open a dialog for inspecting the mappings of the keyboard.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   334
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   335
#settingsLanguage
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   336
'Open a dialog for changing the national language.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   337
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   338
#settingsLoadSettings
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   339
'Open a dialog to restore the settings from a file.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   340
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   341
#settingsMessages
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   342
'Open a dialog for changing the settings for reporting infos/errors.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   343
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   344
#settingsMisc
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   345
'Open a dialog for changing other settings.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   346
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   347
#settingsObjectMemory
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   348
'Open a dialog for changing the object memory settings.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   349
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   350
#settingsPrinter
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   351
'Open a dialog for changing the printer settings.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   352
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   353
#settingsSaveSettings
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   354
'Open a dialog for saving the current settings to a file.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   355
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   356
#settingsScreen
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   357
'Open a dialog for changing the display screen settings.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   358
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   359
#settingsSourceAndDebugger
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   360
'Open a dialog for changing the settings of the source code management.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   361
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   362
#settingsViewStyle
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   363
'Open a dialog for changing the current view style.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   364
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   365
#system
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   366
'System functions.'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   367
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   368
#systemEventTrace
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   369
'Select a view to toggle the event trace for it.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   370
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   371
#systemEventView
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   372
'Open a view and trace its window events on the console.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   373
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   374
#systemGarbageCollect
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   375
'Reclaim unused memory.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   376
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   377
#systemGarbageCollectAndCompress
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   378
'Reclaim unused memory and minimize the amount of used memory.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   379
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   380
#systemInterruptLatency
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   381
'Open an Interrupt Latency Monitor displaying methods which block interrupts for longer than a given time goal.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   382
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   383
#systemMemory
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   384
'Display object memory statistics.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   385
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   386
#systemMemoryUsage
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   387
'Display object memory usage by class.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   388
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   389
#systemProcesses
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   390
'Open a Process Monitor displaying ST/X processes.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   391
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   392
#systemSemaphores
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   393
'Open a Semaphore Monitor displaying ST/X semaphores.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   394
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   395
#tools
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   396
'Tool functions.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   397
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   398
#toolsChangesBrowser
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   399
'Open a Changes Browser on changes made to the current smalltalk environment.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   400
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   401
#toolsGUIPainter
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   402
'Open a GUI Painter for graphical user interface construction.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   403
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   404
#toolsImageEditor
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   405
'Open a Bitmap Image Editor.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   406
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   407
#toolsMenuEditor
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   408
'Open a Menu Editor for building menu bars, popup menus, and tool bars.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   409
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   410
#toolsMisc
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   411
'Misc Tool functions.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   412
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   413
#toolsMiscNewLauncher
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   414
'(Re-)open a new launcher.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   415
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   416
#toolsMiscOldLauncher
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   417
'Open an old launcher.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   418
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   419
#toolsMiscProjects
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   420
'Project functions.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   421
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   422
#toolsMiscProjectsNewProject
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   423
'Create a new project.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   424
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   425
#toolsMiscProjectsSelectProject
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   426
'Select an existing project and reopen its windows.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   427
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   428
#toolsOldChangesBrowser
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   429
'Open the old changes browser.'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   430
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   431
#toolsProjects
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   432
''
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   433
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   434
#toolsTerminal
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   435
'Open a terminal view (aka xterm)'
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   436
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   437
#toolsWorkspace
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   438
'Open a Workspace for evaluating smalltalk expressions.'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   439
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   440
#windows
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   441
'Window functions.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   442
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   443
#windowsDeiconifyAll
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   444
'Restore all minimized ST/X windows.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   445
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   446
#windowsFindAndDestroy
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   447
'Open a dialog for selecting an ST/X window by label and destroy it.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   448
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   449
#windowsFindAndRaise
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   450
'Open dialog for selecting an ST/X window by label and raise it.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   451
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   452
#windowsGrapScreen
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   453
'Grab the whole screen and save it to a bitmap-file.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   454
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   455
#windowsGrapScreenArea
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   456
'Grab an area of the screen and save it to a bitmap-file.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   457
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   458
#windowsGrapWindow
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   459
'Grab a window and save it to a bitmap-file.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   460
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   461
#windowsIconifyAll
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   462
'Minimize all ST/X windows to icons.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   463
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   464
#windowsSelectAndDestroy
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   465
'Select a window and destroys it.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   466
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   467
#windowsSelectAndInspect
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   468
'Select an ST/X window and opens an Inspector on it.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   469
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   470
#windowsViewTree
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   471
'Select an ST/X window and display its widget hierarchyin.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   472
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   473
#windowsViewTreeAllViews
1616
5a884bfb437c help texts
Claus Gittinger <cg@exept.de>
parents: 1609
diff changeset
   474
'Display the widget hierarchies of all ST/X windows.'
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   475
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   476
)
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   477
1794
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   478
    "Modified: / 4.8.1998 / 01:30:38 / cg"
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   479
! !
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   480
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   481
!NewLauncher class methodsFor:'image specs'!
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   482
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   483
helpIcon
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   484
    "This resource specification was automatically generated
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   485
     by the ImageEditor of ST/X."
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   486
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   487
    "Do not manually edit this!! If it is corrupted,
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   488
     the ImageEditor may not be able to read the specification."
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   489
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   490
    "
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   491
     self helpIcon inspect
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   492
     ImageEditor openOnClass:self andSelector:#helpIcon
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   493
    "
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   494
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   495
    <resource: #image>
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   496
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   497
    ^Icon
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
   498
        constantNamed:#'NewLauncher helpIcon'
1814
08d0ce7e6b9b smaller helpImage
Claus Gittinger <cg@exept.de>
parents: 1813
diff changeset
   499
        ifAbsentPut:[(Depth4Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@Q@@@@@@@@@@@@@"H"H @P@@@@@@@@@@H"H"H"H!!D@@@@@@@@@@@@@@"H"@Q@@@@@@@@@#H2H0@"H DP@@@@@@L#H2L2L H"@Q@@@@@@@#H2L"L#HBH DP@@@@@"L#H2H2L#@"@Q@@@@@#L#H@@2L#HBHAD@@@@CH#H@@BL#H0H DP@@@@H3H@@@@#H2@"@Q@@@@@2H0@@@CH2LB@Q@@@@@BL2@@@@H2LCHAD@@@@@@@@@@@H2L HADP@@@@@@@@@@H#H2LAD@@@@@@@@@@@H3H2LAD@@@@@@@@@@@@2H2L@D@@@@@@@@@@@@2L2LB@P@@@@@@@@@@@BL"L HA@@@@@@@@@@@@L#L H D@@@@@@@@@@@@#H#@ @@@@@@@@@@@@@@@@@B@A@@@@@@@@@@@@@"H"@ D@@@@@@@@@@@@@@@@"@P@@@@@@@@@@@CH3HBHA@@@@@@@@@@@@H2H0H @@@@@@@@@@@@@2L2@ @@@@@@@@@@@@@@@@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0 63 79 96 255 255 0 255 255 255]; mask:((ImageMask new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@?8@@@??@@@_?8@@O??@@G??8@C??>@@???0@_??<@O???@C>O?0@?C?<@O0?>@C<O? @?C?8@@C?8@@A?<@@@_>@@@O? @@C?8@@@?>@@@O>@@@C?8@@@_>@@@O? @@C?8@@@?<@@@O>@@@C?@@@@a') ; yourself); yourself]
08d0ce7e6b9b smaller helpImage
Claus Gittinger <cg@exept.de>
parents: 1813
diff changeset
   500
08d0ce7e6b9b smaller helpImage
Claus Gittinger <cg@exept.de>
parents: 1813
diff changeset
   501
    "Modified: / 7.8.1998 / 12:34:56 / cg"
1817
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   502
!
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   503
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   504
helpIcon2
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   505
    "This resource specification was automatically generated
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   506
     by the ImageEditor of ST/X."
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   507
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   508
    "Do not manually edit this!! If it is corrupted,
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   509
     the ImageEditor may not be able to read the specification."
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   510
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   511
    "
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   512
     self helpIcon2 inspect
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   513
     ImageEditor openOnClass:self andSelector:#helpIcon2
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   514
    "
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   515
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   516
    <resource: #image>
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   517
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   518
    ^Icon
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   519
        constantNamed:#'NewLauncher helpIcon2'
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   520
        ifAbsentPut:[(Depth8Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(8 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@PDA@PDA@@@A@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@P@@0@@A@PDA@PDA@PDA@PDA@PDA@PDA@PDA@PD@@DA@0@DA@PDA@PDA@PDA@PDA@PDA@PDA@PDA@@A@PDC@@PDA@PDA@PDA@PDA@PDA@PDA@PDA@P@@PDA@PL@A@PDA@PDA@PDA@PDA@PDA@PDA@@@@@DA@PDA@@PDA@PDA@P@@@@DA@PDA@PDA@@C@P@A@PDA@PD@A@P@@@@@@PDA@@PDA@PD@@@A@PD@@PDA@PDA@@@@@0DA@PDA@P@@@@@D@@H@@PDA@@DA@PDA@P@C@0LA@PDA@PDC@@H@A@@B@@DA@P@A@PDA@PD@@0LC@PDA@PDA@P@B@@P@@ @A@PD@@PDA@PDA@@LC@ DA@PDE@PD@@ @D@@H@@PDA@@DA@PDA@P@C@0LE@PDE@PDA@@H@A@@B@@DA@P@A@PDA@PD@@0LC@0TE@PDA@P@B@@P@@ @A@PD@@PDA@PDA@@LC@0LAAPDA@PD@@ @D@@H@@PDA@@DA@PDA@P@C@0LCAPDE@PDA@@H@@@H@@0DA@P@A@PDA@PD@@0LC@ DA@PTA@P@B@@@B@@DA@PD@@@LA@PDA@@LC@ LA@PDAAPD@@ @@@ @A@PDA@PD@@@LA@P@C@0LC@PDA@PDA@@H@@@H@@PDA@PDA@0L@@0D@@0LC@0DA@PDA@P@B@@@B@@DA@PDA@PLC@0@C@@LC@0LA@PDA@PD@@ @@@ @@@@@@@PDC@0LC@@@C@0LC@PDA@@@@@@H@@@H@@0LC@0@@@@LC@0L@@0LC@0@@@@LC@0@B@@@B@@@@@0LC@0L@@@@C@@L@@@@C@0LC@0@@@ @@@@HB@ @@@0LC@0LC@@@@@0LC@0L@@@@B@ H@A@P@@@@B@ @@@@LC@0LC@0LC@0@@@ H@@@@@A@PDA@PD@@@@@ H@@@@C@0L@@@@B@ @@A@PDA@PDA@PDA@PDA@@@@@HB@@@@@ H@@@@DA@PDA@PDA@PDA@PDA@PDA@P@@@@@@@@@A@PDA@PDA@PDA@@a') ; colorMapFromArray:#[0 0 0 253 253 253 191 191 0 192 192 192 0 0 0 0 204 51]; mask:((ImageMask new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@X@@@@G @@@A<@@@@_ @@@G<@@@G?@\@C?9? C????A????0_???<G????A????0_???<G????A????0????<O????C????0????<O????C????0????<O????C????0O???8@_?? @@?? @@A?@@@@a') ; yourself); yourself]
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   521
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
   522
    "Created: / 7.8.1998 / 19:40:08 / cg"
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   523
! !
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   524
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   525
!NewLauncher class methodsFor:'interface specs'!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   526
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   527
windowSpec
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   528
    "This resource specification was automatically generated
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   529
     by the UIPainter of ST/X."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   530
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   531
    "Do not manually edit this!! If it is corrupted,
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   532
     the UIPainter may not be able to read the specification."
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   533
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   534
    "
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   535
     UIPainter new openOnClass:NewLauncher andSelector:#windowSpec
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   536
     NewLauncher new openInterface:#windowSpec
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   537
     NewLauncher open
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   538
    "
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   539
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   540
    <resource: #canvas>
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   541
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   542
    ^
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   543
     
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   544
       #(#FullSpec
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   545
          #window: 
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   546
           #(#WindowSpec
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   547
              #name: 'Launcher'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   548
              #layout: #(#LayoutFrame 407 0 353 0 697 0 554 0)
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   549
              #label: 'Launcher'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   550
              #min: #(#Point 374 240)
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   551
              #max: #(#Point 1152 900)
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   552
              #bounds: #(#Rectangle 407 353 698 555)
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   553
              #menu: #menu
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   554
              #usePreferredExtent: false
1836
5f36df45604f added #windowIcon - which can be redefined in a subclass.
Claus Gittinger <cg@exept.de>
parents: 1819
diff changeset
   555
              #icon: #windowIcon
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   556
          )
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   557
          #component: 
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   558
           #(#SpecCollection
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   559
              #collection: 
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   560
               #(
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   561
                 #(#MenuPanelSpec
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   562
                    #name: 'menuToolbarView'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   563
                    #layout: #(#LayoutFrame 0 0.0 0 0 0 1.0 38 0)
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   564
                    #menu: #menuToolbar
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   565
                    #style: #(#FontDescription #helvetica #medium #roman 10)
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   566
                )
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   567
                 #(#ArbitraryComponentSpec
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   568
                    #name: 'transcriptView'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   569
                    #layout: #(#LayoutFrame 0 0.0 40 0.0 0 1.0 -26 1.0)
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   570
                    #hasHorizontalScrollBar: true
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   571
                    #hasVerticalScrollBar: true
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   572
                    #miniScrollerHorizontal: true
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   573
                    #component: #TextCollector
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   574
                    #hasBorder: false
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   575
                )
1422
bd1798d4454c exit dialog changed + info bar as subSpec to class ToolApplicationModel moved
tz
parents: 1420
diff changeset
   576
                 #(#UISubSpecification
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   577
                    #name: 'infoBarSubSpec'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   578
                    #layout: #(#LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0)
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   579
                    #majorKey: #ToolApplicationModel
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   580
                    #minorKey: #windowSpecForInfoBarWithClock
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   581
                )
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   582
              )
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   583
          )
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   584
      )
1836
5f36df45604f added #windowIcon - which can be redefined in a subclass.
Claus Gittinger <cg@exept.de>
parents: 1819
diff changeset
   585
5f36df45604f added #windowIcon - which can be redefined in a subclass.
Claus Gittinger <cg@exept.de>
parents: 1819
diff changeset
   586
    "Modified: / 17.8.1998 / 10:07:08 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   587
! !
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
   588
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   589
!NewLauncher class methodsFor:'menu specs'!
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   590
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   591
menu
1515
293aa84c6b80 application builder stuff moved to a separate class
tz
parents: 1497
diff changeset
   592
    "This resource specification was automatically generated
293aa84c6b80 application builder stuff moved to a separate class
tz
parents: 1497
diff changeset
   593
     by the MenuEditor of ST/X."
293aa84c6b80 application builder stuff moved to a separate class
tz
parents: 1497
diff changeset
   594
293aa84c6b80 application builder stuff moved to a separate class
tz
parents: 1497
diff changeset
   595
    "Do not manually edit this!! If it is corrupted,
293aa84c6b80 application builder stuff moved to a separate class
tz
parents: 1497
diff changeset
   596
     the MenuEditor may not be able to read the specification."
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   597
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   598
    "
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   599
     MenuEditor new openOnClass:NewLauncher andSelector:#menu
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   600
     (Menu new fromLiteralArrayEncoding:(NewLauncher menu)) startUp
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   601
    "
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   602
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   603
    <resource: #menu>
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   604
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   605
    ^
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   606
     
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   607
       #(#Menu
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   608
          
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   609
           #(
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   610
             #(#MenuItem
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   611
                #label: 'About'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   612
                #activeHelpKey: #about
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   613
                #labelImage: #(#ResourceRetriever nil #menuIcon)
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   614
                #submenu: 
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   615
                 #(#Menu
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   616
                    
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   617
                     #(
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   618
                       #(#MenuItem
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   619
                          #label: 'About Smalltalk/X...'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   620
                          #translateLabel: true
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   621
                          #value: #openAbout
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   622
                          #activeHelpKey: #aboutSTX
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   623
                      )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   624
                       #(#MenuItem
1590
066d51ad85f5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1589
diff changeset
   625
                          #label: '-'
066d51ad85f5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1589
diff changeset
   626
                      )
066d51ad85f5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1589
diff changeset
   627
                       #(#MenuItem
1582
59598ede02ac checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1580
diff changeset
   628
                          #label: 'Licence Conditions'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   629
                          #translateLabel: true
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   630
                          #value: #openLicenseConditions
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   631
                          #activeHelpKey: #aboutLicenseConditions
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   632
                      )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   633
                    ) nil
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   634
                    nil
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   635
                )
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   636
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   637
             #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   638
                #label: 'File'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   639
                #translateLabel: true
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   640
                #activeHelpKey: #file
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   641
                #submenu: 
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   642
                 #(#Menu
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   643
                    
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   644
                     #(
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   645
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   646
                          #label: 'File Browser'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   647
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   648
                          #value: #openApplication:
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   649
                          #activeHelpKey: #fileFileBrowser
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   650
                          #argument: 'FileBrowser'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   651
                          #labelImage: #(#ResourceRetriever nil #startFileBrowserIcon 'File Browser')
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   652
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   653
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   654
                          #label: '-'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   655
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   656
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   657
                          #label: 'Modules...'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   658
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   659
                          #value: #objectModuleDialog
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   660
                          #activeHelpKey: #fileModules
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   661
                          #enabled: #enableDangerousMenuItemsInRemoteLauncher
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   662
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   663
                       #(#MenuItem
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   664
                          #label: '-'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   665
                      )
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
   666
                       #(#MenuItem
1531
9cc7272b9162 define syntax colors from the settings
tz
parents: 1527
diff changeset
   667
                          #label: 'Library Builder'
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   668
                          #translateLabel: true
1711
a4318a71e939 hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents: 1710
diff changeset
   669
                          #isVisible: #libraryBuilderAvailable
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   670
                          #value: #openApplication:
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   671
                          #activeHelpKey: #fileLibraryBuilder
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   672
                          #argument: 'LibraryBuilder'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   673
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   674
                       #(#MenuItem
1531
9cc7272b9162 define syntax colors from the settings
tz
parents: 1527
diff changeset
   675
                          #label: 'Application Builder'
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   676
                          #translateLabel: true
1711
a4318a71e939 hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents: 1710
diff changeset
   677
                          #isVisible: #libraryBuilderAvailable
1515
293aa84c6b80 application builder stuff moved to a separate class
tz
parents: 1497
diff changeset
   678
                          #value: #openApplication:
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   679
                          #activeHelpKey: #fileApplicationBuilder
1515
293aa84c6b80 application builder stuff moved to a separate class
tz
parents: 1497
diff changeset
   680
                          #argument: 'ApplicationBuilder'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   681
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   682
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   683
                          #label: '-'
1711
a4318a71e939 hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents: 1710
diff changeset
   684
                          #isVisible: #libraryBuilderAvailable
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   685
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   686
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   687
                          #label: 'Save Image'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   688
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   689
                          #value: #saveImage
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   690
                          #activeHelpKey: #fileSaveImage
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   691
                          #enabled: #enableDangerousMenuItemsInRemoteLauncher
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   692
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   693
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   694
                          #label: 'Save Image As...'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   695
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   696
                          #value: #saveImageAs
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   697
                          #activeHelpKey: #fileSaveImageAs
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   698
                          #enabled: #enableDangerousMenuItemsInRemoteLauncher
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   699
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   700
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   701
                          #label: '-'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   702
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   703
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   704
                          #label: 'Exit...'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   705
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   706
                          #value: #exit
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   707
                          #activeHelpKey: #fileExit
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   708
                          #enabled: #enableDangerousMenuItemsInRemoteLauncher
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   709
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   710
                    ) nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   711
                    nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   712
                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   713
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   714
             #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   715
                #label: 'Classes'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   716
                #translateLabel: true
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   717
                #activeHelpKey: #classes
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   718
                #submenu: 
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   719
                 #(#Menu
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   720
                    
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   721
                     #(
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   722
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   723
                          #label: 'System Browser'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   724
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   725
                          #value: #openApplication:
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   726
                          #activeHelpKey: #classesSystemBrowser
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   727
                          #argument: 'SystemBrowser'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   728
                          #labelImage: #(#ResourceRetriever nil #startSystemBrowserIcon 'System Browser')
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   729
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   730
                       #(#MenuItem
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   731
                          #label: 'System Browser On Class'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   732
                          #translateLabel: true
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   733
                          #activeHelpKey: #classesSystemBrowserOnClass
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   734
                          #labelImage: #(#ResourceRetriever nil #startSystemBrowserOnHistoryClassIcon 'System Browser On Class')
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   735
                          #submenuChannel: #menuClassHistory
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   736
                      )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   737
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   738
                          #label: '-'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   739
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   740
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   741
                          #label: 'Class Browser...'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   742
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   743
                          #value: #startClassBrowser
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   744
                          #activeHelpKey: #classesClassBrowser
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   745
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   746
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   747
                          #label: 'Full Class Browser...'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   748
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   749
                          #value: #startFullClassBrowser
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   750
                          #activeHelpKey: #classesFullClassBrowser
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   751
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   752
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   753
                          #label: 'Class Hierarchy Browser...'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   754
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   755
                          #value: #startClassHierarchyBrowser
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   756
                          #activeHelpKey: #classesClassHierarchyBrowser
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   757
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   758
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   759
                          #label: 'Class Tree'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   760
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   761
                          #value: #openApplication:
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   762
                          #activeHelpKey: #classesClassTreeBrowser
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   763
                          #argument: 'ClassTreeGraphView'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   764
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   765
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   766
                          #label: '-'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   767
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   768
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   769
                          #label: 'Implementors...'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   770
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   771
                          #value: #browseImplementors
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   772
                          #activeHelpKey: #classesImplementors
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   773
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   774
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   775
                          #label: 'Senders...'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   776
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   777
                          #value: #browseSenders
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   778
                          #activeHelpKey: #classesSenders
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   779
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   780
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   781
                          #label: '-'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   782
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   783
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   784
                          #label: 'Special'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   785
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   786
                          #value: #special
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   787
                          #activeHelpKey: #classesSpecial
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   788
                          #submenu: 
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   789
                           #(#Menu
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   790
                              
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   791
                               #(
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   792
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   793
                                    #label: 'References To Undeclared'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   794
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   795
                                    #value: #browseUndeclared
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   796
                                    #activeHelpKey: #classesSpecialReferencesToUndeclared
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   797
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   798
                                 #(#MenuItem
1774
ee9461e4a920 menu names
Claus Gittinger <cg@exept.de>
parents: 1772
diff changeset
   799
                                    #label: 'Find Resource Methods...'
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   800
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   801
                                    #value: #browseResources
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   802
                                    #activeHelpKey: #classesResourceMethods
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   803
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   804
                                 #(#MenuItem
1819
153a784fbc42 double &'s in menu labels.
Claus Gittinger <cg@exept.de>
parents: 1817
diff changeset
   805
                                    #label: 'Show All Break && Trace Points'
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   806
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   807
                                    #value: #browseAllBreakAndTracePoints
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   808
                                    #activeHelpKey: #classesShowTracePoints
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   809
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   810
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   811
                                    #label: '-'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   812
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   813
                                 #(#MenuItem
1819
153a784fbc42 double &'s in menu labels.
Claus Gittinger <cg@exept.de>
parents: 1817
diff changeset
   814
                                    #label: 'Remove All Break && Trace Points'
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   815
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   816
                                    #value: #removeAllBreakAndTracePoints
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   817
                                    #activeHelpKey: #classesRemoveAllTracePoints
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   818
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   819
                              ) nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   820
                              nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   821
                          )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   822
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   823
                    ) nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   824
                    nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   825
                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   826
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   827
             #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   828
                #label: 'Tools'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   829
                #translateLabel: true
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   830
                #activeHelpKey: #tools
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   831
                #submenu: 
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   832
                 #(#Menu
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   833
                    
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   834
                     #(
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   835
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   836
                          #label: 'Workspace'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   837
                          #value: #openApplication:
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   838
                          #activeHelpKey: #toolsWorkspace
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   839
                          #argument: 'Workspace'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   840
                          #labelImage: #(#ResourceRetriever nil #startWorkspaceIcon 'Workspace')
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   841
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   842
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   843
                          #label: '-'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   844
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   845
                       #(#MenuItem
1480
9d80831a1df4 *** empty log message ***
tz
parents: 1479
diff changeset
   846
                          #label: 'GUI Painter'
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   847
                          #value: #openApplication:
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   848
                          #activeHelpKey: #toolsGUIPainter
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   849
                          #argument: 'UIPainter'
1480
9d80831a1df4 *** empty log message ***
tz
parents: 1479
diff changeset
   850
                          #labelImage: #(#ResourceRetriever nil #startUIPainterIcon 'GUI Painter')
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   851
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   852
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   853
                          #label: 'Menu Editor'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   854
                          #value: #openApplication:
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   855
                          #activeHelpKey: #toolsMenuEditor
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   856
                          #argument: 'MenuEditor'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   857
                          #labelImage: #(#ResourceRetriever nil #startMenuEditorIcon 'Menu Editor')
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   858
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   859
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   860
                          #label: 'Image Editor'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   861
                          #value: #openApplication:
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   862
                          #activeHelpKey: #toolsImageEditor
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   863
                          #argument: 'ImageEditor'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   864
                          #labelImage: #(#ResourceRetriever nil #startImageEditorIcon 'Image Editor')
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   865
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   866
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   867
                          #label: '-'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   868
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   869
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   870
                          #label: 'Changes Browser'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   871
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   872
                          #value: #openApplication:
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   873
                          #activeHelpKey: #toolsChangesBrowser
1637
51e3020a03b1 use the NewChangesBrowser
tz
parents: 1616
diff changeset
   874
                          #argument: 'NewChangesBrowser'
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   875
                          #labelImage: #(#ResourceRetriever nil #startChangesBrowserIcon 'Changes Browser')
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   876
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   877
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   878
                          #label: '-'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   879
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   880
                       #(#MenuItem
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   881
                          #label: 'Misc'
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   882
                          #translateLabel: true
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   883
                          #activeHelpKey: #toolsMisc
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   884
                          #submenu: 
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   885
                           #(#Menu
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   886
                              
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   887
                               #(
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   888
                                 #(#MenuItem
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   889
                                    #label: 'Projects'
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   890
                                    #translateLabel: true
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   891
                                    #activeHelpKey: #toolsMiscProjects
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   892
                                    #submenu: 
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   893
                                     #(#Menu
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   894
                                        
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   895
                                         #(
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   896
                                           #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   897
                                              #label: 'New Project'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   898
                                              #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   899
                                              #value: #newProject
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   900
                                              #activeHelpKey: #toolsMiscProjectsNewProject
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   901
                                          )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   902
                                           #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   903
                                              #label: '-'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   904
                                          )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   905
                                           #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   906
                                              #label: 'Select Project...'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   907
                                              #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   908
                                              #value: #selectProject
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   909
                                              #activeHelpKey: #toolsMiscProjectsSelectProject
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   910
                                          )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   911
                                        ) nil
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   912
                                        nil
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   913
                                    )
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   914
                                )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   915
                                 #(#MenuItem
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   916
                                    #label: '-'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   917
                                )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   918
                                 #(#MenuItem
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   919
                                    #label: 'New Launcher'
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   920
                                    #translateLabel: true
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   921
                                    #value: #startNewLauncher
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   922
                                    #activeHelpKey: #toolsMiscNewLauncher
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   923
                                )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   924
                                 #(#MenuItem
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   925
                                    #label: 'Old Launcher'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   926
                                    #translateLabel: true
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   927
                                    #value: #startOldLauncher
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   928
                                    #activeHelpKey: #toolsMiscOldLauncher
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
   929
                                )
1680
b1156fe1df3b added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents: 1679
diff changeset
   930
                                 #(#MenuItem
b1156fe1df3b added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents: 1679
diff changeset
   931
                                    #label: '-'
b1156fe1df3b added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents: 1679
diff changeset
   932
                                )
b1156fe1df3b added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents: 1679
diff changeset
   933
                                 #(#MenuItem
b1156fe1df3b added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents: 1679
diff changeset
   934
                                    #label: 'Old Changes Browser'
b1156fe1df3b added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents: 1679
diff changeset
   935
                                    #translateLabel: true
b1156fe1df3b added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents: 1679
diff changeset
   936
                                    #value: #startOldChangesBrowser
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   937
                                    #activeHelpKey: #toolsOldChangesBrowser
1680
b1156fe1df3b added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents: 1679
diff changeset
   938
                                )
1752
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
   939
                                 #(#MenuItem
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
   940
                                    #label: '-'
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
   941
                                )
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
   942
                                 #(#MenuItem
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
   943
                                    #label: 'Terminal'
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
   944
                                    #translateLabel: true
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
   945
                                    #isVisible: #canDoTerminal
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
   946
                                    #value: #openTerminal
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
   947
                                    #activeHelpKey: #toolsTerminal
1752
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
   948
                                )
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   949
                              ) nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   950
                              nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   951
                          )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   952
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   953
                    ) nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   954
                    nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   955
                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   956
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   957
             #(#MenuItem
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   958
                #label: 'System'
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   959
                #translateLabel: true
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   960
                #activeHelpKey: #system
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   961
                #submenu: 
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   962
                 #(#Menu
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   963
                    
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   964
                     #(
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   965
                       #(#MenuItem
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   966
                          #label: 'Memory'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   967
                          #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   968
                          #value: #openApplication:
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   969
                          #activeHelpKey: #systemMemory
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   970
                          #argument: 'MemoryMonitor'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   971
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   972
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   973
                          #label: 'Memory Usage'
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   974
                          #translateLabel: true
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   975
                          #value: #openApplication:
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   976
                          #activeHelpKey: #systemMemoryUsage
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   977
                          #argument: 'MemoryUsageView'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   978
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   979
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   980
                          #label: '-'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   981
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   982
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   983
                          #label: 'Processes'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   984
                          #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   985
                          #value: #openApplication:
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   986
                          #activeHelpKey: #systemProcesses
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   987
                          #argument: 'ProcessMonitor'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   988
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   989
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   990
                          #label: 'Semaphores'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   991
                          #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   992
                          #value: #openApplication:
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   993
                          #activeHelpKey: #systemSemaphores
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
   994
                          #argument: 'SemaphoreMonitor'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   995
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   996
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
   997
                          #label: '-'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   998
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
   999
                       #(#MenuItem
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1000
                          #label: 'Interrupt Latency'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1001
                          #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1002
                          #value: #startLatencyMonitor
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1003
                          #activeHelpKey: #systemInterruptLatency
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1004
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1005
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1006
                          #label: '-'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1007
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1008
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1009
                          #label: 'Event View'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1010
                          #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1011
                          #value: #openApplication:
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1012
                          #activeHelpKey: #systemEventView
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1013
                          #argument: 'EventMonitor'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1014
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1015
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1016
                          #label: 'Event Trace'
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1017
                          #translateLabel: true
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1018
                          #value: #startStopEventTrace
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1019
                          #activeHelpKey: #systemEventTrace
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1020
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1021
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1022
                          #label: '-'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1023
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1024
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1025
                          #label: 'Collect Garbage'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1026
                          #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1027
                          #value: #garbageCollect
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1028
                          #activeHelpKey: #systemGarbageCollect
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1029
                          #labelImage: #(#ResourceRetriever nil #garbageCollectIcon 'Collect Garbage')
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1030
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1031
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1032
                          #label: 'Collect Garbage And Compress'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1033
                          #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1034
                          #value: #compressingGarbageCollect
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1035
                          #activeHelpKey: #systemGarbageCollectAndCompress
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1036
                          #labelImage: #(#ResourceRetriever nil #garbageCollectIcon 'Collect Garbage And Compress')
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1037
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1038
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1039
                          #label: '-'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1040
                          #isVisible: #javaSupportPresent
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1041
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1042
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1043
                          #label: 'Reinit Java VM'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1044
                          #isVisible: #javaSupportPresent
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1045
                          #value: #initJavaVM
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1046
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1047
                    ) nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1048
                    nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1049
                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1050
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1051
             #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1052
                #label: 'Settings'
1582
59598ede02ac checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1580
diff changeset
  1053
                #translateLabel: true
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1054
                #activeHelpKey: #settings
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1055
                #submenu: 
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1056
                 #(#Menu
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1057
                    
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1058
                     #(
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1059
                       #(#MenuItem
1658
fb1bfa92f34f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1652
diff changeset
  1060
                          #label: 'Language...'
fb1bfa92f34f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1652
diff changeset
  1061
                          #translateLabel: true
fb1bfa92f34f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1652
diff changeset
  1062
                          #value: #languageSetting
fb1bfa92f34f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1652
diff changeset
  1063
                          #activeHelpKey: #settingsLanguage
fb1bfa92f34f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1652
diff changeset
  1064
                          #enabled: #enableDangerousMenuItemsInRemoteLauncher
fb1bfa92f34f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1652
diff changeset
  1065
                      )
fb1bfa92f34f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1652
diff changeset
  1066
                       #(#MenuItem
fb1bfa92f34f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1652
diff changeset
  1067
                          #label: 'Keyboard Mappings...'
fb1bfa92f34f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1652
diff changeset
  1068
                          #translateLabel: true
fb1bfa92f34f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1652
diff changeset
  1069
                          #value: #keyboardSetting
fb1bfa92f34f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1652
diff changeset
  1070
                          #activeHelpKey: #settingsKeyboardMappings
fb1bfa92f34f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1652
diff changeset
  1071
                      )
fb1bfa92f34f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1652
diff changeset
  1072
                       #(#MenuItem
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1073
                          #label: 'View Style...'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1074
                          #translateLabel: true
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1075
                          #value: #viewStyleSetting
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1076
                          #activeHelpKey: #settingsViewStyle
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1077
                          #enabled: #enableDangerousMenuItemsInRemoteLauncher
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1078
                      )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1079
                       #(#MenuItem
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1080
                          #label: 'Fonts...'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1081
                          #translateLabel: true
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1082
                          #value: #fontSettings
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1083
                          #activeHelpKey: #settingsFonts
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1084
                          #enabled: #enableDangerousMenuItemsInRemoteLauncher
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1085
                      )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1086
                       #(#MenuItem
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1087
                          #label: '-'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1088
                      )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1089
                       #(#MenuItem
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1090
                          #label: 'Messages...'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1091
                          #translateLabel: true
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1092
                          #value: #messageSettings
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1093
                          #activeHelpKey: #settingsMessages
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1094
                          #enabled: #enableDangerousMenuItemsInRemoteLauncher
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1095
                      )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1096
                       #(#MenuItem
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1097
                          #label: 'Compilation...'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1098
                          #translateLabel: true
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1099
                          #value: #compilerSettings
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1100
                          #activeHelpKey: #settingsCompilation
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1101
                          #enabled: #enableDangerousMenuItemsInRemoteLauncher
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1102
                      )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1103
                       #(#MenuItem
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1104
                          #label: 'Object Memory...'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1105
                          #translateLabel: true
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1106
                          #value: #memorySettings
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1107
                          #activeHelpKey: #settingsObjectMemory
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1108
                          #enabled: #enableDangerousMenuItemsInRemoteLauncher
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1109
                      )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1110
                       #(#MenuItem
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1111
                          #label: 'Source And Debugger...'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1112
                          #translateLabel: true
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1113
                          #value: #sourceAndDebuggerSettings
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1114
                          #activeHelpKey: #settingsSourceAndDebugger
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1115
                          #enabled: #enableDangerousMenuItemsInRemoteLauncher
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1116
                      )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1117
                       #(#MenuItem
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1118
                          #label: '-'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1119
                      )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1120
                       #(#MenuItem
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1121
                          #label: 'Printer...'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1122
                          #translateLabel: true
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1123
                          #value: #printerSettings
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1124
                          #activeHelpKey: #settingsPrinter
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1125
                          #enabled: #enableDangerousMenuItemsInRemoteLauncher
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1126
                      )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1127
                       #(#MenuItem
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1128
                          #label: 'Screen...'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1129
                          #translateLabel: true
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1130
                          #value: #displaySettings
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1131
                          #activeHelpKey: #settingsScreen
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1132
                          #enabled: #enableDangerousMenuItemsInRemoteLauncher
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1133
                      )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1134
                       #(#MenuItem
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1135
                          #label: '-'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1136
                      )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1137
                       #(#MenuItem
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1138
                          #label: 'Misc...'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1139
                          #translateLabel: true
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1140
                          #value: #miscSettings
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1141
                          #activeHelpKey: #settingsMisc
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1142
                          #enabled: #enableDangerousMenuItemsInRemoteLauncher
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1143
                      )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1144
                       #(#MenuItem
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1145
                          #label: '-'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1146
                      )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1147
                       #(#MenuItem
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1148
                          #label: 'Save Settings...'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1149
                          #translateLabel: true
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1150
                          #value: #saveSettings
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1151
                          #activeHelpKey: #settingsSaveSettings
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1152
                      )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1153
                       #(#MenuItem
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1154
                          #label: 'Load Settings...'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1155
                          #translateLabel: true
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1156
                          #value: #loadSettings
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1157
                          #activeHelpKey: #settingsLoadSettings
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1158
                          #enabled: #enableDangerousMenuItemsInRemoteLauncher
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1159
                      )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1160
                    ) nil
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1161
                    nil
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1162
                )
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1163
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1164
             #(#MenuItem
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1165
                #label: 'Windows'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1166
                #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1167
                #activeHelpKey: #windows
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1168
                #submenu: 
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1169
                 #(#Menu
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1170
                    
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1171
                     #(
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1172
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1173
                          #label: 'Iconify All'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1174
                          #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1175
                          #value: #iconifyAllWindows
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1176
                          #activeHelpKey: #windowsIconifyAll
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1177
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1178
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1179
                          #label: 'De-iconify All'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1180
                          #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1181
                          #value: #deIconifyAllWindows
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1182
                          #activeHelpKey: #windowsDeiconifyAll
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1183
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1184
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1185
                          #label: '-'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1186
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1187
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1188
                          #label: 'View Tree'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1189
                          #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1190
                          #value: #startWindowTreeView
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1191
                          #activeHelpKey: #windowsViewTree
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1192
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1193
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1194
                          #label: 'View Tree (all windows)'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1195
                          #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1196
                          #value: #openApplication:
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1197
                          #activeHelpKey: #windowsViewTreeAllViews
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1198
                          #argument: 'WindowTreeView'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1199
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1200
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1201
                          #label: '-'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1202
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1203
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1204
                          #label: 'Select And Inspect'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1205
                          #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1206
                          #value: #viewInspect
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1207
                          #activeHelpKey: #windowsSelectAndInspect
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1208
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1209
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1210
                          #label: 'Select And Destroy'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1211
                          #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1212
                          #value: #viewDestroy
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1213
                          #activeHelpKey: #windowsSelectAndDestroy
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1214
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1215
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1216
                          #label: '-'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1217
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1218
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1219
                          #label: 'Find And Raise...'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1220
                          #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1221
                          #value: #findAndRaiseWindow
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1222
                          #activeHelpKey: #windowsFindAndRaise
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1223
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1224
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1225
                          #label: 'Find And Destroy...'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1226
                          #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1227
                          #value: #findAndDestroyWindow
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1228
                          #activeHelpKey: #windowsFindAndDestroy
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1229
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1230
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1231
                          #label: '-'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1232
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1233
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1234
                          #label: 'Grab Window...'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1235
                          #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1236
                          #value: #viewHardcopy
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1237
                          #activeHelpKey: #windowsGrapWindow
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1238
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1239
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1240
                          #label: 'Grab Screen...'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1241
                          #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1242
                          #value: #fullScreenHardcopy
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1243
                          #activeHelpKey: #windowsGrapScreen
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1244
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1245
                       #(#MenuItem
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1246
                          #label: 'Grab Screen Area...'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1247
                          #translateLabel: true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1248
                          #value: #screenHardcopy
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1249
                          #activeHelpKey: #windowsGrapScreenArea
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1250
                      )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1251
                    ) nil
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1252
                    nil
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1253
                )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1254
            )
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1255
             #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1256
                #label: 'Demos'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1257
                #translateLabel: true
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1258
                #activeHelpKey: #demos
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1259
                #submenu: 
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1260
                 #(#Menu
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1261
                    
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1262
                     #(
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1263
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1264
                          #label: 'Goodies'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1265
                          #translateLabel: true
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1266
                          #activeHelpKey: #demosGoodies
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1267
                          #submenu: 
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1268
                           #(#Menu
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1269
                              
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1270
                               #(
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1271
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1272
                                    #label: 'Clock'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1273
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1274
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1275
                                    #activeHelpKey: #demosClock
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1276
                                    #argument: 'Clock'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1277
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1278
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1279
                                    #label: 'Digital Clock'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1280
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1281
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1282
                                    #activeHelpKey: #demosDigitalClock
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1283
                                    #argument: 'DigitalClockView'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1284
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1285
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1286
                                    #label: 'Calendar'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1287
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1288
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1289
                                    #activeHelpKey: #demosCalendar
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1290
                                    #argument: 'Calendar'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1291
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1292
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1293
                                    #label: 'Calculator'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1294
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1295
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1296
                                    #activeHelpKey: #demosCalculator
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1297
                                    #argument: 'CalculatorView'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1298
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1299
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1300
                                    #label: '-'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1301
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1302
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1303
                                    #label: 'Mail Tool'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1304
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1305
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1306
                                    #activeHelpKey: #demosMail
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1307
                                    #argument: 'MailView'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1308
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1309
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1310
                                    #label: 'News Tool'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1311
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1312
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1313
                                    #activeHelpKey: #demosNews
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1314
                                    #argument: 'NewsView'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1315
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1316
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1317
                                    #label: 'FTP Tool'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1318
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1319
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1320
                                    #activeHelpKey: #demosFTP
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1321
                                    #argument: 'FTPTool'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1322
                                )
1755
3e0a522d55ec added telnet-tool to demos menu.
Claus Gittinger <cg@exept.de>
parents: 1752
diff changeset
  1323
                                 #(#MenuItem
3e0a522d55ec added telnet-tool to demos menu.
Claus Gittinger <cg@exept.de>
parents: 1752
diff changeset
  1324
                                    #label: 'Telnet Tool'
3e0a522d55ec added telnet-tool to demos menu.
Claus Gittinger <cg@exept.de>
parents: 1752
diff changeset
  1325
                                    #translateLabel: true
3e0a522d55ec added telnet-tool to demos menu.
Claus Gittinger <cg@exept.de>
parents: 1752
diff changeset
  1326
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1327
                                    #activeHelpKey: #demosTelnet
1755
3e0a522d55ec added telnet-tool to demos menu.
Claus Gittinger <cg@exept.de>
parents: 1752
diff changeset
  1328
                                    #argument: 'TelnetTool'
3e0a522d55ec added telnet-tool to demos menu.
Claus Gittinger <cg@exept.de>
parents: 1752
diff changeset
  1329
                                )
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1330
                              ) nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1331
                              nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1332
                          )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1333
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1334
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1335
                          #label: 'Games'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1336
                          #translateLabel: true
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1337
                          #activeHelpKey: #demosGames
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1338
                          #submenu: 
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1339
                           #(#Menu
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1340
                              
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1341
                               #(
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1342
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1343
                                    #label: 'Tetris'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1344
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1345
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1346
                                    #activeHelpKey: #gamesTetris
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1347
                                    #argument: 'Games::Tetris'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1348
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1349
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1350
                                    #label: 'Tic Tac Toe'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1351
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1352
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1353
                                    #activeHelpKey: #gamesTicTacToe
1588
e5c5413e545a *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1587
diff changeset
  1354
                                    #argument: 'Games::TicTacToeGame'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1355
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1356
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1357
                                    #label: 'Tic Tac Toe (2 players)'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1358
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1359
                                    #value: #startTicTacToe2
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1360
                                    #activeHelpKey: #gamesTicTacToe2
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1361
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1362
                              ) nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1363
                              nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1364
                          )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1365
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1366
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1367
                          #label: 'Geometric Designs'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1368
                          #translateLabel: true
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1369
                          #activeHelpKey: #demosGeometric
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1370
                          #submenu: 
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1371
                           #(#Menu
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1372
                              
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1373
                               #(
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1374
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1375
                                    #label: 'Pen Demo'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1376
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1377
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1378
                                    #activeHelpKey: #demosPen
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1379
                                    #argument: 'PenDemo'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1380
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1381
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1382
                                    #label: 'Commander Demo'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1383
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1384
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1385
                                    #activeHelpKey: #demosCommander
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1386
                                    #argument: 'CommanderDemo'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1387
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1388
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1389
                                    #label: '-'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1390
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1391
                                 #(#MenuItem
1716
a6cbe3d33ca2 disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents: 1711
diff changeset
  1392
                                    #label: 'Mandel'
a6cbe3d33ca2 disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents: 1711
diff changeset
  1393
                                    #translateLabel: true
a6cbe3d33ca2 disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents: 1711
diff changeset
  1394
                                    #value: #openMandelbrotDemo
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1395
                                    #activeHelpKey: #demosMandel
1716
a6cbe3d33ca2 disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents: 1711
diff changeset
  1396
                                )
a6cbe3d33ca2 disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents: 1711
diff changeset
  1397
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1398
                                    #label: 'Fractal Plants Demo'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1399
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1400
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1401
                                    #activeHelpKey: #demosFractalPlants
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1402
                                    #argument: 'FractalPlantsDemo'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1403
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1404
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1405
                                    #label: 'Fractal Patterns Demo'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1406
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1407
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1408
                                    #activeHelpKey: #demosFractalPatterns
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1409
                                    #argument: 'FractalPatternsDemo'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1410
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1411
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1412
                                    #label: 'More Fractal Patterns Demo'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1413
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1414
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1415
                                    #activeHelpKey: #demosMoreFractalPatterns
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1416
                                    #argument: 'ArmchairUniverseDemo'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1417
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1418
                              ) nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1419
                              nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1420
                          )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1421
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1422
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1423
                          #label: 'Simple Animations'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1424
                          #translateLabel: true
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1425
                          #activeHelpKey: #demosAnimations
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1426
                          #submenu: 
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1427
                           #(#Menu
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1428
                              
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1429
                               #(
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1430
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1431
                                    #label: 'Walking Man'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1432
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1433
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1434
                                    #activeHelpKey: #demosWalkingMan
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1435
                                    #argument: 'Animation'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1436
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1437
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1438
                                    #label: 'Globe Demo'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1439
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1440
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1441
                                    #activeHelpKey: #demosGlobe
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1442
                                    #argument: 'GlobeDemo'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1443
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1444
                              ) nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1445
                              nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1446
                          )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1447
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1448
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1449
                          #label: '3D Graphics'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1450
                          #translateLabel: true
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1451
                          #activeHelpKey: #demos3D
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1452
                          #submenu: 
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1453
                           #(#Menu
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1454
                              
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1455
                               #(
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1456
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1457
                                    #label: 'Plane'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1458
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1459
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1460
                                    #activeHelpKey: #demos3Dplane
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1461
                                    #argument: 'GLPlaneDemoView2'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1462
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1463
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1464
                                    #label: 'Tetra'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1465
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1466
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1467
                                    #activeHelpKey: #demos3Dtetra
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1468
                                    #argument: 'GLTetraDemoView'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1469
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1470
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1471
                                    #label: 'Cube (wireframe)'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1472
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1473
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1474
                                    #activeHelpKey: #demos3DcubeWire
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1475
                                    #argument: 'GLWireCubeDemoView'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1476
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1477
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1478
                                    #label: 'Cube (solid)'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1479
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1480
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1481
                                    #activeHelpKey: #demos3DcubeSolid
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1482
                                    #argument: 'GLCubeDemoView'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1483
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1484
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1485
                                    #label: 'Sphere (wireframe)'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1486
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1487
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1488
                                    #activeHelpKey: #demos3Dsphere
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1489
                                    #argument: 'GLWireSphereDemoView'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1490
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1491
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1492
                                    #label: 'Doughnut (wireframe)'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1493
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1494
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1495
                                    #activeHelpKey: #demos3Ddoughnut
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1496
                                    #argument: 'GLDoughnutDemoView'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1497
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1498
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1499
                                    #label: 'Planet'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1500
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1501
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1502
                                    #activeHelpKey: #demos3Dplanet
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1503
                                    #argument: 'GLPlanetDemoView'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1504
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1505
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1506
                                    #label: 'Teapot'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1507
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1508
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1509
                                    #activeHelpKey: #demos3Dteapot
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1510
                                    #argument: 'GLTeapotDemo'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1511
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1512
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1513
                                    #label: 'Logo'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1514
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1515
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1516
                                    #activeHelpKey: #demos3Dlogo
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1517
                                    #argument: 'Logo3DView1'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1518
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1519
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1520
                                    #label: 'Rubics Cube'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1521
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1522
                                    #value: #openDemo:
1759
25de6f71c2f2 help texts
Claus Gittinger <cg@exept.de>
parents: 1755
diff changeset
  1523
                                    #activeHelpKey: #demosCommander
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1524
                                    #argument: 'RubicsCubeView'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1525
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1526
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1527
                                    #label: 'X/Y Graph'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1528
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1529
                                    #value: #openDemo:
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1530
                                    #argument: 'GLXYGraph'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1531
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1532
                                 #(#MenuItem
1679
8b2dffb35e01 two more 3D demos
Claus Gittinger <cg@exept.de>
parents: 1659
diff changeset
  1533
                                    #label: 'X/Y Graph Widget'
8b2dffb35e01 two more 3D demos
Claus Gittinger <cg@exept.de>
parents: 1659
diff changeset
  1534
                                    #translateLabel: true
8b2dffb35e01 two more 3D demos
Claus Gittinger <cg@exept.de>
parents: 1659
diff changeset
  1535
                                    #value: #openDemo:
8b2dffb35e01 two more 3D demos
Claus Gittinger <cg@exept.de>
parents: 1659
diff changeset
  1536
                                    #argument: 'CodingExamples_GUI::GLXYGraph3DDemo'
8b2dffb35e01 two more 3D demos
Claus Gittinger <cg@exept.de>
parents: 1659
diff changeset
  1537
                                )
8b2dffb35e01 two more 3D demos
Claus Gittinger <cg@exept.de>
parents: 1659
diff changeset
  1538
                                 #(#MenuItem
8b2dffb35e01 two more 3D demos
Claus Gittinger <cg@exept.de>
parents: 1659
diff changeset
  1539
                                    #label: 'X/Y Graph Animated'
8b2dffb35e01 two more 3D demos
Claus Gittinger <cg@exept.de>
parents: 1659
diff changeset
  1540
                                    #translateLabel: true
8b2dffb35e01 two more 3D demos
Claus Gittinger <cg@exept.de>
parents: 1659
diff changeset
  1541
                                    #value: #openDemo:
8b2dffb35e01 two more 3D demos
Claus Gittinger <cg@exept.de>
parents: 1659
diff changeset
  1542
                                    #argument: 'CodingExamples_GUI::AnimatedGLXYGraph3DDemo'
8b2dffb35e01 two more 3D demos
Claus Gittinger <cg@exept.de>
parents: 1659
diff changeset
  1543
                                )
8b2dffb35e01 two more 3D demos
Claus Gittinger <cg@exept.de>
parents: 1659
diff changeset
  1544
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1545
                                    #label: '-'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1546
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1547
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1548
                                    #label: 'Cube (light)'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1549
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1550
                                    #value: #openDemo:
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1551
                                    #argument: 'GLCubeDemoView2'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1552
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1553
                                 #(#MenuItem
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1554
                                    #label: 'Cube (light and texture)'
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1555
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1556
                                    #value: #openDemo:
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1557
                                    #argument: 'GLBrickCubeDemoView'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1558
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1559
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1560
                                    #label: 'Sphere (light)'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1561
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1562
                                    #value: #openDemo:
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1563
                                    #argument: 'GLSphereDemoView2'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1564
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1565
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1566
                                    #label: 'Colored Octahedron'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1567
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1568
                                    #value: #openDemo:
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1569
                                    #argument: 'GLOctaHedronDemoView'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1570
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1571
                              ) nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1572
                              nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1573
                          )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1574
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1575
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1576
                          #label: 'Graphic Editors'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1577
                          #translateLabel: true
1777
37850beccf0a help texts
Claus Gittinger <cg@exept.de>
parents: 1774
diff changeset
  1578
                          #activeHelpKey: #demosGraphicEditors
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1579
                          #submenu: 
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1580
                           #(#Menu
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1581
                              
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1582
                               #(
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1583
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1584
                                    #label: 'Draw Tool'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1585
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1586
                                    #value: #openDemo:
1817
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
  1587
                                    #activeHelpKey: #demosGraphicEditorsDrawTool
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1588
                                    #argument: 'DrawTool'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1589
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1590
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1591
                                    #label: 'Logic Tool'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1592
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1593
                                    #value: #openDemo:
1817
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
  1594
                                    #activeHelpKey: #demosGraphicEditorsLogicTool
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1595
                                    #argument: 'LogicTool'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1596
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1597
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1598
                                    #label: 'Paint Demo'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1599
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1600
                                    #value: #openDemo:
1817
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
  1601
                                    #activeHelpKey: #demosGraphicEditorsPaintTool
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1602
                                    #argument: 'ColorDrawDemo3'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1603
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1604
                              ) nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1605
                              nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1606
                          )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1607
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1608
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1609
                          #label: 'GUI'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1610
                          #translateLabel: true
1777
37850beccf0a help texts
Claus Gittinger <cg@exept.de>
parents: 1774
diff changeset
  1611
                          #activeHelpKey: #demosGUI
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1612
                          #submenu: 
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1613
                           #(#Menu
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1614
                              
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1615
                               #(
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1616
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1617
                                    #label: 'Widget Gallery'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1618
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1619
                                    #value: #openDemo:
1817
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
  1620
                                    #activeHelpKey: #demosGUIWidgets
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1621
                                    #argument: 'CodingExamples_GUI::GUIDemo'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1622
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1623
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1624
                                    #label: '-'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1625
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1626
                                 #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1627
                                    #label: 'Calculator'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1628
                                    #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1629
                                    #value: #openDemo:
1817
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
  1630
                                    #activeHelpKey: #demosGUICalculator
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1631
                                    #argument: 'CodingExamples_GUI::GUIDemoCalculator'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1632
                                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1633
                              ) nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1634
                              nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1635
                          )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1636
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1637
                    ) nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1638
                    nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1639
                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1640
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1641
             #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1642
                #label: 'Help'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1643
                #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1644
                #startGroup: #right
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1645
                #activeHelpKey: #help
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1646
                #submenu: 
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1647
                 #(#Menu
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1648
                    
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1649
                     #(
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1650
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1651
                          #label: 'What''s New'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1652
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1653
                          #value: #startWhatsNewDocumentation
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1654
                          #activeHelpKey: #helpWhatsNew
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1655
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1656
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1657
                          #label: 'Index'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1658
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1659
                          #value: #startDocumentationIndex
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1660
                          #activeHelpKey: #helpIndex
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1661
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1662
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1663
                          #label: '-'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1664
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1665
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1666
                          #label: 'ST/X Online Documentation'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1667
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1668
                          #value: #startDocumentationTool
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1669
                          #activeHelpKey: #helpSTXOnlineDocumentation
1817
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
  1670
                          #labelImage: #(#ResourceRetriever nil #helpIcon2 'ST/X Online Documentation')
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1671
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1672
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1673
                          #label: 'Class Documentation'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1674
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1675
                          #value: #startClassDocumentation
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1676
                          #activeHelpKey: #helpClassDocumentation
1817
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
  1677
                          #labelImage: #(#ResourceRetriever nil #helpIcon 'Class Documentation')
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1678
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1679
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1680
                          #label: '-'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1681
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1682
                       #(#MenuItem
1651
9172526207bf *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1637
diff changeset
  1683
                          #label: 'Print Documentation...'
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1684
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1685
                          #value: #showBookPrintDocument
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1686
                          #activeHelpKey: #helpPrintDocumentation
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1687
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1688
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1689
                          #label: '-'
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1690
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1691
                       #(#MenuItem
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1692
                          #label: 'Active Help'
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1693
                          #translateLabel: true
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1694
                          #value: #toggleActiveHelp:
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1695
                          #activeHelpKey: #helpShowHelp
1479
00a496a27c4e some works for the app builder
tz
parents: 1477
diff changeset
  1696
                          #indication: #activeHelp
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1697
                      )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1698
                    ) nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1699
                    nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1700
                )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1701
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1702
          ) nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1703
          nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1704
      )
1679
8b2dffb35e01 two more 3D demos
Claus Gittinger <cg@exept.de>
parents: 1659
diff changeset
  1705
1819
153a784fbc42 double &'s in menu labels.
Claus Gittinger <cg@exept.de>
parents: 1817
diff changeset
  1706
    "Modified: / 8.8.1998 / 13:43:04 / cg"
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1707
!
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1708
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1709
menuToolbar
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1710
    "This resource specification was automatically generated
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1711
     by the MenuEditor of ST/X."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1712
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1713
    "Do not manually edit this!! If it is corrupted,
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1714
     the MenuEditor may not be able to read the specification."
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1715
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1716
    "
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1717
     MenuEditor new openOnClass:NewLauncher andSelector:#menuToolbar
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1718
     (Menu new fromLiteralArrayEncoding:(NewLauncher menuToolbar)) startUp
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1719
    "
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1720
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1721
    <resource: #menu>
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1722
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1723
    ^
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1724
     
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1725
       #(#Menu
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1726
          
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1727
           #(
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1728
             #(#MenuItem
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1729
                #label: 'open workspace'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1730
                #isButton: true
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1731
                #value: #openApplication:
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1732
                #activeHelpKey: #toolsWorkspace
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1733
                #argument: 'Workspace'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1734
                #labelImage: #(#ResourceRetriever nil #startWorkspaceIcon)
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1735
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1736
             #(#MenuItem
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1737
                #label: 'open file browser'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1738
                #isButton: true
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1739
                #value: #openApplication:
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1740
                #activeHelpKey: #fileFileBrowser
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1741
                #argument: 'FileBrowser'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1742
                #labelImage: #(#ResourceRetriever nil #startFileBrowserIcon)
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1743
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1744
             #(#MenuItem
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1745
                #label: 'save image'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1746
                #isButton: true
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1747
                #value: #saveImageAs
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1748
                #activeHelpKey: #fileSaveImageAs
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1749
                #labelImage: #(#ResourceRetriever nil #saveImageIcon)
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1750
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1751
             #(#MenuItem
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1752
                #label: ''
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1753
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1754
             #(#MenuItem
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1755
                #label: 'open system browser'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1756
                #isButton: true
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1757
                #value: #openApplication:
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1758
                #activeHelpKey: #classesSystemBrowser
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1759
                #argument: 'SystemBrowser'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1760
                #labelImage: #(#ResourceRetriever nil #startSystemBrowserIcon)
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1761
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1762
             #(#MenuItem
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1763
                #label: 'System Browser On Class'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1764
                #isButton: true
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1765
                #activeHelpKey: #classesSystemBrowserOnClass
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1766
                #labelImage: #(#ResourceRetriever nil #startSystemBrowserOnHistoryClassIcon)
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1767
                #submenuChannel: #menuClassHistory
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1768
            )
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1769
             #(#MenuItem
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1770
                #label: 'open changes browser'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1771
                #isButton: true
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1772
                #value: #openApplication:
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1773
                #activeHelpKey: #toolsChangesBrowser
1637
51e3020a03b1 use the NewChangesBrowser
tz
parents: 1616
diff changeset
  1774
                #argument: 'NewChangesBrowser'
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1775
                #labelImage: #(#ResourceRetriever nil #startChangesBrowserIcon)
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1776
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1777
             #(#MenuItem
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1778
                #label: ''
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1779
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1780
             #(#MenuItem
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1781
                #label: 'open GUI Builder'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1782
                #isButton: true
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1783
                #value: #openApplication:
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1784
                #activeHelpKey: #toolsGUIPainter
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1785
                #argument: 'UIPainter'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1786
                #labelImage: #(#ResourceRetriever nil #startUIPainterIcon)
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1787
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1788
             #(#MenuItem
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1789
                #label: 'open menu editor'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1790
                #isButton: true
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1791
                #value: #openApplication:
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1792
                #activeHelpKey: #toolsMenuEditor
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1793
                #argument: 'MenuEditor'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1794
                #labelImage: #(#ResourceRetriever nil #startMenuEditorIcon)
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1795
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1796
             #(#MenuItem
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1797
                #label: 'open image editor'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1798
                #isButton: true
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1799
                #value: #openApplication:
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1800
                #activeHelpKey: #toolsImageEditor
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1801
                #argument: 'ImageEditor'
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1802
                #labelImage: #(#ResourceRetriever nil #startImageEditorIcon)
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1803
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1804
             #(#MenuItem
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1805
                #label: ''
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1806
            )
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1807
             #(#MenuItem
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1808
                #label: 'garbage collect and compress'
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1809
                #isButton: true
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1810
                #value: #compressingGarbageCollect
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  1811
                #activeHelpKey: #systemGarbageCollectAndCompress
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1812
                #labelImage: #(#ResourceRetriever nil #garbageCollectIcon)
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1813
            )
1794
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
  1814
             #(#MenuItem
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
  1815
                #label: 'help'
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
  1816
                #translateLabel: true
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
  1817
                #isButton: true
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
  1818
                #startGroup: #right
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
  1819
                #value: #startDocumentationTool
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
  1820
                #activeHelpKey: #helpSTXOnlineDocumentation
1817
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
  1821
                #labelImage: #(#ResourceRetriever nil #helpIcon2)
1794
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
  1822
            )
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1823
          ) nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1824
          nil
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1825
      )
1794
8f8c1faac686 added help button.
Claus Gittinger <cg@exept.de>
parents: 1782
diff changeset
  1826
1817
21da204c1b7a checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1814
diff changeset
  1827
    "Modified: / 7.8.1998 / 19:40:36 / cg"
1441
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1828
! !
b39eb6200d20 calculates preferredExtent depending on screen extent
tz
parents: 1437
diff changeset
  1829
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1830
!NewLauncher class methodsFor:'resources'!
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1831
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1832
garbageCollectIcon
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1833
    "This resource specification was automatically generated
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1834
     by the ImageEditor of ST/X."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1835
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1836
    "Do not manually edit this!! If it is corrupted,
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1837
     the ImageEditor may not be able to read the specification."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1838
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1839
    "
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1840
     ImageEditor openOnClass:self andSelector:#garbageCollectIcon
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1841
    "
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1842
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1843
    <resource: #image>
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1844
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1845
    ^Icon
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1846
        constantNamed:#'NewLauncher garbageCollectIcon'
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1847
        ifAbsentPut:[(Depth4Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'DQD@@@.;.1D[DQDQD@@QDP@@.;.;,[,@@ADP@ADQ@@.;@@.;.1@@@A@@DQD@B;@@@[.;DCH@D@@QDP@K,@@K.;,Q@2@P@ADQ@K.;@@DQDQDPL @@DQDKB;B0@QDQ@@@C@@@QD[B0B0,ADP@"H"@@@ADQ@@@@@@DQ@P@@@0@@DQ@@@@C 8@@ADQL3@@@Q@@@@;.;.@@DCL0H@@@@@@@@NC @@@PLC@ @@@@@@C.;.8@@A@0LB@@@@@@@@8N@@@@DC@0H@@@@@B (@@AD@@PLC@ @@@@****@LG@@A@0LB@@@@@JB CL3L0@DC@0H@@@B***(@0L@Q@SLCL @@@@(J@L3L3AD@L"H @@@@@QDQC@0QDQD@@@DP@@@ADQD@@@@QD@@@@@@@@ @B@ @B@@HB@ H@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@B@@H@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @@@@@@@@H@@@H@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 127 127 127 170 170 170 255 0 0 0 255 0 0 0 255 0 255 255 255 255 0 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@G1@@@C>0@@A1=0@@XO^@@FG30@C0@^@AZ@? @)P?8@@@O>@@B#? @C<?8@@TO>@@_#? @B ?8@E@O>@G9S? @)>?8@?JO>@EO3? @APO @@@@@@]7]7\DUUUDAEUUQ@U7]5\EUUUTAUUUU@]U]W\@@a') ; yourself); yourself]!
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1848
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1849
saveImageIcon
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1850
    "This resource specification was automatically generated
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1851
     by the ImageEditor of ST/X."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1852
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1853
    "Do not manually edit this!! If it is corrupted,
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1854
     the ImageEditor may not be able to read the specification."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1855
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1856
    "
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1857
     ImageEditor openOnClass:self andSelector:#saveImageIcon
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1858
    "
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1859
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1860
    <resource: #image>
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1861
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1862
    ^Icon
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1863
        constantNamed:#'NewLauncher saveImageIcon'
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1864
        ifAbsentPut:[(Depth2Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'UPSL3L0A@ET7L3L0?PAUML3L3OT@US\3L3C5@ET43L3L?PAUM3L3LO4@USSL3L3=@ET7L3L0?PAUML3L3O4@US\3L3C=@ET43L3L?PAUM@@@@O4@US?????=@ET?UUUU?PAUO7??6?4@US=T?=+=@ET?ZO?Z?PAUO4C?6/4@U]U**)WU@ET@@@@@@@AUUUUUUUUU%Y%UUUTE%%UUUUTU)UEUUUUEUUUUUUVYUUTEUTUUUUDUAUUUUUUQUPUUVUUUUUTU%P@a') ; colorMapFromArray:#[255 255 255 0 0 0 127 127 127 170 170 170]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'C???@@???0@O??<@C???@@???0@O??<@C???@@???0@O??<@C???@@???0@O??<@C???@@???0@O??<@C???@@???0@O??<@C??>@@@@@@@@@@@@;*9R<H*(W)BJ*E:@S.9R,B)HT)@*REJP:$9R<@@a') ; yourself); yourself]!
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1865
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1866
startChangesBrowserIcon
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1867
    "This resource specification was automatically generated
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1868
     by the ImageEditor of ST/X."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1869
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1870
    "Do not manually edit this!! If it is corrupted,
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1871
     the ImageEditor may not be able to read the specification."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1872
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1873
    "
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1874
     ImageEditor openOnClass:self andSelector:#startChangesBrowserIcon
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1875
    "
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1876
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1877
    <resource: #image>
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1878
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1879
    ^Icon
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1880
        constantNamed:#'NewLauncher startChangesBrowserIcon'
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1881
        ifAbsentPut:[(Depth2Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(2 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@B****@@@@@@@@@ @@@B****H@@@@@@@@"@@@C????H @@@@@@@2H@@C????L"@@@@@@@3H@@AUUUUL2@@@@@@@SL@@AUUUUD3@@@_=UUQL@@@EUUUTS@@@A]7UUD@@@@U7]5Q@@@@E7]5T@@@@AUUUU@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@BH@@@@@@@@LB@L@@@@@@@@@@@@@@@@J@@@@@@@@@@@@@@@@@@H@@@@@@@@@@@@@@@a') ; colorMapFromArray:#[0 0 0 255 255 255 127 127 127 170 170 170]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@??8@@O?>@@O?? @C??8@C??>@@??? @???8@O??>@O??? C??? C???8@???8@O??>@C??>@@??? @O?? @C??8@@??8@@O?>@@@@@@@@@@@@@Z.$7LH+-YDBJ+TQ@#.=WHH*+UABJ*5PPZ*$7X@@a') ; yourself); yourself]!
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1882
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1883
startFileBrowserIcon
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1884
    "This resource specification was automatically generated
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1885
     by the ImageEditor of ST/X."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1886
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1887
    "Do not manually edit this!! If it is corrupted,
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1888
     the ImageEditor may not be able to read the specification."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1889
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1890
    "
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1891
     ImageEditor openOnClass:self andSelector:#startFileBrowserIcon
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1892
    "
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1893
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1894
    <resource: #image>
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1895
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1896
    ^Icon
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1897
        constantNamed:#'NewLauncher startFileBrowserIcon'
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1898
        ifAbsentPut:[(Depth4Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@@@CLA&Y&Y&Y&X@@@@@@@@L0F@@@@@@A @@@@@@@@3@XN;.;.8F@@@@@@@@CLA ;.@@@@@@@@@@@@@L0FC.8O[6=/[0@@@@@@3@X@; [6=/[6@@@@@@CLA DNC6<@@F<@@@@@@L0F@A@F= [0= @@@@@@3@X@@P=/[6=/@@@@@@CLA @@A/[6=/X@@@@@@L0FC0@O[6=/[0@@@@@@3@XF<@@@@@@@@@@@@@CLA = @@@@@@@@@@@@@L0FA/[6=/A @@@@@@@@3@XO[6=/XF@@@@@@@@CLA @@@@@@X@@@@@@@@L0FY&Y&Y&Y @@@@@@@@C@Y&Y&Y&Y&@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@N@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C @b') ; colorMapFromArray:#[0 0 0 255 255 255 255 0 0 0 255 0 0 0 255 0 255 255 255 255 0 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127 127 127 127 170 170 170]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'A??<@@_??@@G??0@A??<@@_??8@G??>@A??? @_??8@G??>@A??? @_??8@G??>@A??? @_??@@G??0@A??<@@_??@@G??0@@??<@@G??@@@@@@@G.P=0AADHP@PQBD@GDP8 AADHD@PQBA@DN^=0@@a') ; yourself); yourself]!
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1899
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1900
startImageEditorIcon
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1901
    "This resource specification was automatically generated
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1902
     by the ImageEditor of ST/X."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1903
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1904
    "Do not manually edit this!! If it is corrupted,
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1905
     the ImageEditor may not be able to read the specification."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1906
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1907
    "
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1908
     ImageEditor openOnClass:self andSelector:#startImageEditorIcon
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1909
    "
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1910
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1911
    <resource: #image>
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1912
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1913
    ^Icon
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1914
        constantNamed:#'NewLauncher startImageEditorIcon'
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1915
        ifAbsentPut:[(Depth4Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@M7]7]7]7]7]7]@@@@@@@@@@@@@@@@@@@@@@@@@"H"H"HDQEUVY @@@@@BH"H3L QDUUY&@@@@@@HA@#L2ADQUU&X@@@@@@"H"H"HH"I&W]0@@@@@BL3L3L "H&Y]7@@@@@@H"H"H"BH"Y%7\@@@@@@#L3L3HDQEUVY @@@@@BH"H"H QDUUY&@@@@@@H3L3L2ADQUU&X@@@@@@"H"H"HH"I&W]0@@@@@BL#L3L "H&Y]7@@@@@@H2L3L2BH"Y%7\@@@@@@"H"H"HBH"H"H @@@@@@@@@@@@@@@@@@@@@@@@H"H"H"H"H"H"H@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C@0@0@0L@L@@@@@@@@@@0@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@L@@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 127 127 127 255 0 0 0 255 0 0 0 255 0 255 255 255 255 0 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???8@O??>@C??? @???8@O??>PC???&@???90O??>^C???''0???90O??>TC???  ???8HO??>AC??? P???8@O??>@C??? @???8@@@@@@@@@@@@;[7/@D>%J@AJ)P @RK5.@D"%J@AH)R @:JW/@@@a') ; yourself); yourself]!
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1916
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1917
startMenuEditorIcon
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1918
    "This resource specification was automatically generated
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1919
     by the ImageEditor of ST/X."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1920
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1921
    "Do not manually edit this!! If it is corrupted,
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1922
     the ImageEditor may not be able to read the specification."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1923
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1924
    "
1600
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  1925
     self startMenuEditorIcon inspect
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1926
     ImageEditor openOnClass:self andSelector:#startMenuEditorIcon
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1927
    "
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1928
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1929
    <resource: #image>
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1930
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1931
    ^Icon
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1932
        constantNamed:#'NewLauncher startMenuEditorIcon'
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1933
        ifAbsentPut:[(Depth4Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@DQDQDQDQDQDQD@@@@@@@@@@@@@@@@@@@@@@@@@QH"H DQHQD"H @@@@@ATBH"@RHBH H"@@@@@@H@H"HAT%UUUUT@@@@@@%H"H D%IRT%IP@@@@@BUQIU@UIRT%IR@@@@@@IRHBHAIRT%IRT@@@@@@%H"H ERT%IRT @@@@@BUQIU@RT%IRT%@@@@@@IRHBHAT%IRT%H@@@@@@%H"H D%IRT%IP@@@@@BUQIU@UIRT%IR@@@@@@H"HBHAIRT%IRT@@@@@@"H"H IRT%IRT @@@@@@@@@@@@@@@@@@@@@@@@H"H"H"H"H"H"H@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@APT@@@@@@@@@@@@@@@@@T@@@@@@@@@@@@@@@@@@@@@@@@@T@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@E@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@T@T@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 255 255 0 0 127 127 127 127 127 255 0 0 0 255 0 0 0 255 0 255 255 255 0 255 127 0 0 0 127 0 0 0 127 127 127 0 127 0 0]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???8@O??>@C??? @???8@O??>PC???&@???90O??>^C???''0???90O??>TC???  ???8HO??>AC??? P???8@O??>@C??? @???8@@@@@@@@@@@@6=D$@O(YI@B*GRP@"9T$@H(WI@BJD2P@"=D<@@@a') ; yourself); yourself]!
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1934
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1935
startSystemBrowserIcon
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1936
    "This resource specification was automatically generated
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1937
     by the ImageEditor of ST/X."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1938
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1939
    "Do not manually edit this!! If it is corrupted,
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1940
     the ImageEditor may not be able to read the specification."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1941
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1942
    "
1600
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  1943
     self startSystemBrowserIcon inspect
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1944
     ImageEditor openOnClass:self andSelector:#startSystemBrowserIcon
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1945
    "
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1946
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1947
    <resource: #image>
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1948
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1949
    ^Icon
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1950
        constantNamed:#'NewLauncher startSystemBrowserIcon'
1600
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  1951
        ifAbsentPut:[(Depth4Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@ADQDQDQG0@@@@@@@@@@D"H"H"H.@@@@@@@@@@@RH"H"H"8@@@@@@@@@@O;.;.;.; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@8@@@@@@@@@@@@@@@@@C @@@@@@@@@@@@@@@@@N@@@@@@@@@@@@@@@@@@@@@@@@DQDQDQG0@@@@@P;.;.@SL3L3L>@@@@@@@@@@@O;.;.;.8@@@@@8@@@@@@@@@@@@@@@@@C @@@@@@@@@@@@@@@@@N@@@@@@@@@@@@@@@@@@@@@@@@DQDQDQG0@@@@@P;.;.@VY&Y&Y.@@@@@@@@@@@O;.;.;.8@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@8@@@@N@NC @@8@@@C @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@8@@@@@@@@@8@C @@@@8b') ; colorMapFromArray:#[0 0 0 255 255 255 255 0 0 0 255 0 0 0 255 0 255 255 255 255 0 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127 127 127 127 170 170 170]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'??0@@O?<@@C??@@@??0@@O?<@@C??@@@@ @@@@H@@@@B@?? A0O?8@_??>@G@?? @ O?8@H@@@@B@?? A0O?8@_??>@G@?? @@O?8@@@@@@@@@@@9O\7\IRTQDBD%DQ@!!OH''HHRQEABT$QPP99]7\@@a') ; yourself); yourself]
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  1952
!
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1953
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1954
startSystemBrowserOnHistoryClassIcon
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1955
    "This resource specification was automatically generated
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1956
     by the ImageEditor of ST/X."
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1957
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1958
    "Do not manually edit this!! If it is corrupted,
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1959
     the ImageEditor may not be able to read the specification."
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1960
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1961
    "
1609
839730f03809 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1608
diff changeset
  1962
     self startSystemBrowserOnHistoryClassIcon inspect
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1963
     ImageEditor openOnClass:self andSelector:#startSystemBrowserOnHistoryClassIcon
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1964
    "
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1965
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1966
    <resource: #image>
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1967
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1968
    ^Icon
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1969
        constantNamed:#'NewLauncher startSystemBrowserOnHistoryClassIcon'
1609
839730f03809 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1608
diff changeset
  1970
        ifAbsentPut:[(Depth4Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@ADQDQDQG0@@@@@@@@@@D"H"H"H.@@@@@@@@@@@RH"H"H"8@@@@@@@@@@O;.;.;.; @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@8@@@@@@@@@@@@@@@@@C @@@@@@@@@@@@@@@@@N@@@@@@@@@@@@@@@@@@@@@@@@DQ@@@QG0@@@@@P;.;.@SL@@CL>@@@@@@@@@@@O; @@;.8@@@@@8@@@@@@@@@@@@@@@@@C @@@@@@@@@@@@@@@@@N@@@@@@@@@@@@@@@@@@@@@@@@DQ@@@QG0@@@@@P;.;.@VX@@FY.@@@@@@@@@@@O8@@@C.8@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C @@@@8@8@@N@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@N@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@8@@@8@8@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 255 0 0 0 255 0 0 0 255 0 255 255 255 255 0 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127 127 127 127 170 170 170]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'??0^@O?<O0C??FF@??1!! O?<XXC??CF@@ @C@@H@A @B@>7 A0O[8@_?6>@G@=/ @ O[8@H@@@@B@<O A0O[8@_??>@G@;7 @@NY8@@@@@@@@@@@%]7/TITIJUBUBR%P=H$/TIQIJRBTRR$ %\'')P@@a') ; yourself); yourself]!
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  1971
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1972
startUIPainterIcon
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1973
    "This resource specification was automatically generated
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1974
     by the ImageEditor of ST/X."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1975
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1976
    "Do not manually edit this!! If it is corrupted,
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1977
     the ImageEditor may not be able to read the specification."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1978
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1979
    "
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1980
     ImageEditor openOnClass:self andSelector:#startUIPainterIcon
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1981
    "
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1982
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1983
    <resource: #image>
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1984
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1985
    ^Icon
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1986
        constantNamed:#'NewLauncher startUIPainterIcon'
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1987
        ifAbsentPut:[(Depth4Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@DQDQDQDQDQDQD@@@@@@@@@@@@@@@@@@@@@@@@@3H"H DQHQD"H @@@@@CLBH"@RHBH H"@@@@@@H@H"HAT%UUUUT@@@@@@%H"H D%IRT%IP@@@@@BUSMU@UIRT%IR@@@@@@IRLBHAIRT%IRT@@@@@@%H"H ERT%IRT @@@@@BUSMU@RT%IRT%@@@@@@IRLBHAT%IRT%H@@@@@@%H"H D%IRT%IP@@@@@BUSMU@UIRT%IR@@@@@@H"LBHAIRT%IRT@@@@@@"H"H IRT%IRT @@@@@@@@@@@@@@@@@@@@@@@@H"H"H"H"H"H"H@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@T@AP@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@T@@@AP@E@@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 255 255 0 0 127 127 127 127 127 255 0 0 0 255 0 0 0 255 0 255 255 255 0 255 127 0 0 0 127 0 0 0 127 127 127 0 127 0 0]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'???8@O??>@C??? @???8@O??>PC???&@???90O??>^C???''8???90O??>TC???  ???8HO??>A#??? X???8@O??>@C??? @???8@@@@@@@@@@@@>QN@@H$Q@@BADP@@.QD@@H$Q@@BIDP@@>_N@@@@a') ; yourself); yourself]!
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1988
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1989
startWorkspaceIcon
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1990
    "This resource specification was automatically generated
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1991
     by the ImageEditor of ST/X."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1992
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1993
    "Do not manually edit this!! If it is corrupted,
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1994
     the ImageEditor may not be able to read the specification."
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1995
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1996
    "
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  1997
     ImageEditor openOnClass:self andSelector:#startWorkspaceIcon
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1998
    "
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  1999
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  2000
    <resource: #image>
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  2001
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  2002
    ^Icon
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  2003
        constantNamed:#'NewLauncher startWorkspaceIcon'
1527
58d10367b84d syntax coloring
tz
parents: 1515
diff changeset
  2004
        ifAbsentPut:[(Depth4Image new) width: 28; height: 28; photometric:(#palette); bitsPerSample:(#(4 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@M7]7]7]7]7]7]7]@@@@@@@@@@@@@@@@@@@@@@@QDQDQDQDQDQDQ@0@@@AUPUUUUAUAQDQDB@@@@EUAUUUTE@@DQDPH@@@@P@E@@UPUPTQDQ@ @@@AAPTEAUAUAQDQDB@@@@D@AP@ETET@DQDPH@@@@QDQDQDQDQEADQ@ @@@ADQDQDQDQDTPQDB@@@@DQDQDQDQDQQDDPH@@@@QDQDQDQDQEDDQ@ @@@ADQDQDQDQDQEADB@@@@DQDQDQDQDQDTDPH@@@@QDQDQDQDQDQDQ@0@@@@@@@@@@@@@@@@@@@@@@L"H"H"H"H"H"H0L@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C@@L@@C@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@C@@L@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0 255 255 255 170 170 170 127 127 127 255 0 0 0 255 0 0 0 255 0 255 255 255 255 0 255 0 255 127 0 0 0 127 0 0 0 127 0 127 127 127 127 0 127 0 127]; mask:((Depth1Image new) width: 28; height: 28; photometric:(#blackIs0); bitsPerSample:(#(1 )); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'????@O???0C???<@????@O???0C???<@????@O???0C???<@????@O???0C???<@????@O???0C???<@????@O???0C???<@????@@@@@@@@@@@@ //R@HJJT BB"%P@$(/X@IJJU@BR"%H@[O)R@@@a') ; yourself); yourself]! !
1424
0312a2765a42 new icon method format applied
tz
parents: 1423
diff changeset
  2005
1659
4ec8e2f10dbb add instance method:
ca
parents: 1658
diff changeset
  2006
!NewLauncher methodsFor:'accessing'!
4ec8e2f10dbb add instance method:
ca
parents: 1658
diff changeset
  2007
4ec8e2f10dbb add instance method:
ca
parents: 1658
diff changeset
  2008
menuToolbar
4ec8e2f10dbb add instance method:
ca
parents: 1658
diff changeset
  2009
    |menu item|
4ec8e2f10dbb add instance method:
ca
parents: 1658
diff changeset
  2010
4ec8e2f10dbb add instance method:
ca
parents: 1658
diff changeset
  2011
    menu := Menu new fromLiteralArrayEncoding:(self class menuToolbar).
4ec8e2f10dbb add instance method:
ca
parents: 1658
diff changeset
  2012
    menu receiver:self.
4ec8e2f10dbb add instance method:
ca
parents: 1658
diff changeset
  2013
    menu findGuiResourcesIn:self.
4ec8e2f10dbb add instance method:
ca
parents: 1658
diff changeset
  2014
4ec8e2f10dbb add instance method:
ca
parents: 1658
diff changeset
  2015
    ^ menu
4ec8e2f10dbb add instance method:
ca
parents: 1658
diff changeset
  2016
4ec8e2f10dbb add instance method:
ca
parents: 1658
diff changeset
  2017
4ec8e2f10dbb add instance method:
ca
parents: 1658
diff changeset
  2018
! !
4ec8e2f10dbb add instance method:
ca
parents: 1658
diff changeset
  2019
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2020
!NewLauncher methodsFor:'aspects'!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2021
1752
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
  2022
canDoTerminal
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
  2023
    ^ [OperatingSystem isUNIXlike]
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
  2024
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
  2025
    "Created: / 27.7.1998 / 12:47:54 / cg"
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
  2026
!
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
  2027
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2028
enableDangerousMenuItemsInRemoteLauncher
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2029
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2030
    |holder|
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2031
    (holder := builder bindingAt:#enableDangerousMenuItemsInRemoteLauncher) isNil ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2032
        builder aspectAt:#enableDangerousMenuItemsInRemoteLauncher put:(holder :=  true asValue).
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2033
    ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2034
    ^ holder
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2035
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2036
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2037
javaSupportPresent
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2038
    ^ (JavaVM notNil and:[JavaVM isBehavior and:[JavaVM isLoaded]]) asValue
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2039
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2040
    "Created: / 13.2.1998 / 14:25:59 / cg"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2041
    "Modified: / 13.2.1998 / 14:26:31 / cg"
1711
a4318a71e939 hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents: 1710
diff changeset
  2042
!
a4318a71e939 hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents: 1710
diff changeset
  2043
a4318a71e939 hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents: 1710
diff changeset
  2044
libraryBuilderAvailable
a4318a71e939 hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents: 1710
diff changeset
  2045
    ^ false
a4318a71e939 hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents: 1710
diff changeset
  2046
a4318a71e939 hide appBuilder & libBuilder
Claus Gittinger <cg@exept.de>
parents: 1710
diff changeset
  2047
    "Created: / 20.6.1998 / 16:54:31 / cg"
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2048
! !
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2049
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2050
!NewLauncher methodsFor:'change & update'!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2051
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2052
update:something with:aParameter from:changedObject
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2053
    "care for project changes & update my infoView"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2054
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2055
    ((something == #currentProject) or:[changedObject == Project]) ifTrue: [self updateInfo]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2056
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2057
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2058
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2059
updateInfo
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2060
    "update the infoView from the current project"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2061
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2062
    |project projectName projectDir packageName defNameSpace msg args projectInfo|
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2063
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2064
    (Project isNil or:[(project := Project current) isNil]) ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2065
        projectName := '* none *'.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2066
        projectDir := '.'.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2067
        packageName := '* none *'.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2068
    ] ifFalse:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2069
        projectName := project name.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2070
        projectDir := project directory.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2071
        packageName := project packageName.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2072
        defNameSpace := project defaultNameSpace.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2073
    ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2074
    defNameSpace isNil ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2075
        defNameSpace := Smalltalk.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2076
    ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2077
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2078
    defNameSpace == Smalltalk ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2079
        msg := 'Project: ''%1'' fileOut to: ''%3'' package: ''%2'''.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2080
        args := Array 
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2081
                    with:projectName
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2082
                    with:packageName 
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2083
                    with:(projectDir contractTo:30).
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2084
    ] ifFalse:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2085
        msg := 'Project: ''%1'' fileOut to: ''%3'' package: ''%2''  nameSpace: %4'.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2086
        args := Array 
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2087
                        with:projectName
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2088
                        with:packageName 
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2089
                        with:(projectDir contractTo:30)
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2090
                        with:defNameSpace name.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2091
    ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2092
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2093
    self valueOfInfoLabel value:(projectInfo := resources string:msg withArgs:args).
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2094
    ^projectInfo
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2095
! !
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2096
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2097
!NewLauncher methodsFor:'help'!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2098
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2099
defaultInfoLabel
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2100
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2101
    ^self updateInfo
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2102
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2103
! !
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2104
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2105
!NewLauncher methodsFor:'private'!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2106
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2107
findWindow:title
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2108
    "a helper for find & destroy and find & raise operations;
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2109
     let user choose a view and return it; return nil on cancel"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2110
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2111
    |knownTopViews nameList box|
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2112
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2113
    knownTopViews := IdentitySet new.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2114
    Screen allScreens do:[:aScreen |
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2115
        aScreen knownViews do:[:aView |
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2116
            |top showIt wg|
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2117
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2118
            aView notNil ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2119
                top := aView topView.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2120
                (top isKindOf:DebugView) ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2121
                    "/ although modal, show it.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2122
                    showIt := top realized
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2123
                ] ifFalse:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2124
                    wg := top windowGroup.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2125
                    showIt := (wg notNil and:[wg isModal not]).
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2126
                ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2127
                showIt ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2128
                    knownTopViews add:top
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2129
                ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2130
            ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2131
        ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2132
    ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2133
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2134
    knownTopViews := knownTopViews asOrderedCollection.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2135
    knownTopViews sort:[:v1 :v2 | |l1 l2|
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2136
                                l1 := v1 label ? 'aView'.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2137
                                l2 := v2 label ? 'aView'.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2138
                                l1 < l2
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2139
                       ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2140
    nameList := knownTopViews collect:[:v | 
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2141
                                        |isDead wg p l|
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2142
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2143
                                        l := v label ? 'aView'.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2144
                                        ((wg := v windowGroup) notNil
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2145
                                        and:[(p := wg process) notNil
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2146
                                        and:[p state ~~ #dead]]) ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2147
                                            l  
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2148
                                        ] ifFalse:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2149
                                            l , ' (dead ?)'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2150
                                        ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2151
                                      ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2152
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2153
    box := ListSelectionBox new.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2154
    box noEnterField.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2155
    box list:nameList.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2156
    box label:(resources string:'view selection').
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2157
    box title:(resources string:title) withCRs.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2158
    box action:[:selection |
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2159
        |v|
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2160
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2161
        v := knownTopViews at:box selectionIndex.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2162
        box destroy.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2163
        ^ v
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2164
    ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2165
    box extent:400@300.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2166
    box showAtPointer.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2167
    ^ nil
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2168
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2169
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2170
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2171
menuClassHistory
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2172
    "returns a sub menu on the history of the classes"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2173
1716
a6cbe3d33ca2 disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents: 1711
diff changeset
  2174
    |menu history|
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2175
1576
534ad27a7b4a check the class history
tz
parents: 1549
diff changeset
  2176
    BrowserView checkClassHistory.
534ad27a7b4a check the class history
tz
parents: 1549
diff changeset
  2177
1716
a6cbe3d33ca2 disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents: 1711
diff changeset
  2178
    history := BrowserView classHistory.
a6cbe3d33ca2 disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents: 1711
diff changeset
  2179
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2180
    menu := Menu new receiver: self.
1716
a6cbe3d33ca2 disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents: 1711
diff changeset
  2181
    menu addItemGroup: (history collect:
1576
534ad27a7b4a check the class history
tz
parents: 1549
diff changeset
  2182
        [:histEntry|
534ad27a7b4a check the class history
tz
parents: 1549
diff changeset
  2183
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2184
            MenuItem new 
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2185
                label: (histEntry upTo: $ ); 
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2186
                value: [SystemBrowser open loadFromMessage: histEntry]; 
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2187
                activeHelpKey: #classesSystemBrowserOnClass
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2188
        ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2189
    ).
1652
c12aa281d822 also translate the Empty-History menu item.
Claus Gittinger <cg@exept.de>
parents: 1651
diff changeset
  2190
    menu addItem: (MenuItem new 
c12aa281d822 also translate the Empty-History menu item.
Claus Gittinger <cg@exept.de>
parents: 1651
diff changeset
  2191
                        label: 'Empty History'; 
c12aa281d822 also translate the Empty-History menu item.
Claus Gittinger <cg@exept.de>
parents: 1651
diff changeset
  2192
                        value: [BrowserView classHistory removeAll]; 
c12aa281d822 also translate the Empty-History menu item.
Claus Gittinger <cg@exept.de>
parents: 1651
diff changeset
  2193
                        translateLabel: true;
1716
a6cbe3d33ca2 disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents: 1711
diff changeset
  2194
                        enabled:(history notEmpty);
1652
c12aa281d822 also translate the Empty-History menu item.
Claus Gittinger <cg@exept.de>
parents: 1651
diff changeset
  2195
                        activeHelpKey: #historyEmptyMenu).
c12aa281d822 also translate the Empty-History menu item.
Claus Gittinger <cg@exept.de>
parents: 1651
diff changeset
  2196
c12aa281d822 also translate the Empty-History menu item.
Claus Gittinger <cg@exept.de>
parents: 1651
diff changeset
  2197
    menu findGuiResourcesIn:self.
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2198
    ^menu
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2199
1716
a6cbe3d33ca2 disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents: 1711
diff changeset
  2200
    "Modified: / 8.7.1998 / 00:59:50 / cg"
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2201
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2202
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2203
openApplication: className
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2204
     "open an application, given by the classe name."
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2205
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2206
    self openApplication:className nameSpace:nil
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2207
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2208
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2209
openApplication:className nameSpace:aNameSpace
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2210
    "open some application, given the classes name.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2211
     Look for it in Smalltalk and the given nameSpace"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2212
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2213
    self openApplication:className nameSpace:aNameSpace with:#open
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2214
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2215
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2216
openApplication:className nameSpace:aNameSpace with:aSelector
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2217
    "open some application, given the classes name.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2218
     Look for it in Smalltalk and the given nameSpace"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2219
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2220
    |cls|
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2221
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2222
    cls := Smalltalk at:className asSymbol.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2223
    cls isNil ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2224
        "/ look if its in the nameSpace
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2225
        aNameSpace notNil ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2226
            cls := aNameSpace at:className asSymbol
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2227
        ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2228
    ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2229
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2230
    cls isNil ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2231
        self warn:(resources string:'Sorry, the %1 class is not available.' with:className).
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2232
    ] ifFalse:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2233
        Autoload autoloadFailedSignal handle:[:ex |
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2234
            self warn:(resources string:'Sorry, the %1 class seems to be not available.' with:className)
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2235
        ] do:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2236
            self withWaitCursorDo:[cls perform:aSelector]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2237
        ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2238
    ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2239
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2240
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2241
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2242
saveAllViews
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2243
    "tell each topview that we are going to terminate and give it chance
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2244
     to save its contents."
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2245
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2246
    ObjectMemory changed:#aboutToExit
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2247
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2248
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2249
saveScreenImage:anImage defaultName:defaultName
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2250
    "save an image into a file 
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2251
     - ask user for filename using a fileSelectionBox."
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2252
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2253
    |fileName|
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2254
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2255
    fileName := Dialog
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2256
                    requestFileName:(resources string:'save image in:')
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2257
                    default:(defaultName , '.tiff')
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2258
                    ok:(resources string:'save')
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2259
                    abort:(resources string:'cancel')
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2260
                    pattern:'*.tiff'.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2261
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2262
    fileName notNil ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2263
        anImage saveOn:fileName
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2264
    ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2265
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2266
    "Modified: / 21.2.1996 / 13:09:28 / cg"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2267
    "Created: / 29.1.1998 / 23:20:36 / cg"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2268
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2269
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2270
showDocumentation:aRelativeDocFilePath
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2271
    "open an HTML browser on some document"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2272
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2273
    "
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2274
     although that one is not yet finished,
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2275
     its better than nothing ...
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2276
    "
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2277
    HTMLDocumentView notNil ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2278
        self withWaitCursorDo:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2279
            "
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2280
             temporary kludge;
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2281
             not all machines can autoload binaries;
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2282
             however, on my SGI (which can) we want it
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2283
             to load automatically.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2284
            "
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2285
            HTMLDocumentView isLoaded ifFalse:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2286
                ErrorSignal catch:[HTMLDocumentView autoload]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2287
            ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2288
            HTMLDocumentView isLoaded ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2289
                HTMLDocumentView openFullOnDocumentationFile:aRelativeDocFilePath. 
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2290
                ^ self
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2291
            ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2292
        ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2293
    ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2294
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2295
    self warn:'Sorry, the ST/X HTML reader is not
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2296
included in this release.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2297
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2298
Please use Mosaic, netscape, chimera or any
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2299
other HTML viewer to see the documentation.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2300
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2301
The documentation is found in the ''doc/online'' directory.'.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2302
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2303
    "Modified: / 25.2.1998 / 21:24:20 / cg"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2304
! !
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2305
1600
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2306
!NewLauncher methodsFor:'private - settings callBacks'!
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2307
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2308
changeViewStyleTo:newStyle
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2309
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2310
    newStyle notNil ifTrue:[
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2311
        self withWaitCursorDo:[
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2312
            transcript showCR:'change style to ' , newStyle , ' ...'.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2313
            View defaultStyle:newStyle asSymbol.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2314
        ].
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2315
        self reOpen
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2316
    ]
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2317
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2318
!
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2319
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2320
fontBoxForEncoding:encodingMatch
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2321
    "open a fontBox, showing fonts which match some encoding
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2322
     (used when changing to japanese ...)"
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2323
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2324
    |box y b
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2325
     labelDef buttonDef listDef menuDef textDef
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2326
     models labels allOfThem filter|
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2327
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2328
    encodingMatch notNil ifTrue:[
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2329
        filter := [:f | f encoding notNil 
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2330
                        and:[encodingMatch match:f encoding]].
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2331
    ].
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2332
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2333
    models := OrderedCollection new.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2334
    labels := OrderedCollection new.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2335
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2336
    models add:(allOfThem := nil asValue).
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2337
    models add:(labelDef := Label defaultFont asValue).
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2338
    models add:(buttonDef := Button defaultFont asValue).
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2339
    models add:(listDef := SelectionInListView defaultFont asValue).
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2340
    models add:(menuDef := MenuView defaultFont asValue).
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2341
    models add:(textDef := TextView defaultFont asValue).
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2342
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2343
    box := Dialog new.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2344
    box label:(resources string:'Font settings').
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2345
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2346
    models
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2347
    with:(resources array:#('all' 'labels' 'buttons' 'lists' 'menus' 'edit text'))
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2348
    do:[:model :title |
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2349
        |y2 lbl f i|
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2350
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2351
        f := model value.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2352
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2353
        (box addTextLabel:title) adjust:#left.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2354
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2355
        y := box yPosition.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2356
        b := box addComponent:(Button label:(resources string:'change ...')) tabable:true.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2357
        b relativeExtent:nil; extent:(b preferredExtent).
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2358
        y2 := box yPosition.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2359
        box yPosition:y.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2360
        i := box leftIndent.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2361
        box leftIndent:(b widthIncludingBorder + View viewSpacing).
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2362
        (lbl := box addTextLabel:'')
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2363
            adjust:#left;
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2364
            font:(model value);
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2365
            labelChannel:(BlockValue 
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2366
                            with:[:v | |f|
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2367
                                f := v value.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2368
                                f isNil ifTrue:[
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2369
                                    ''
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2370
                                ] ifFalse:[
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2371
                                    f userFriendlyName
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2372
                                ]
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2373
                            ]
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2374
                            argument:model).
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2375
        labels add:lbl.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2376
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2377
        box leftIndent:i.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2378
        box yPosition:(box yPosition max:y2).
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2379
        box addVerticalSpace.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2380
        box addHorizontalLine.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2381
        box addVerticalSpace.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2382
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2383
        b action:[
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2384
            |f|
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2385
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2386
            f := FontPanel 
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2387
                fontFromUserInitial:(model value) 
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2388
                              title:(resources string:'font for %1' with:title)
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2389
                             filter:filter.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2390
            f notNil ifTrue:[
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2391
                model == allOfThem ifTrue:[
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2392
                    models do:[:m | m value:f].
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2393
                    labels do:[:l | l font:f]
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2394
                ] ifFalse:[
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2395
                    model value:f.  
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2396
                    lbl font:f.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2397
                ].
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2398
            ]
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2399
        ].
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2400
        model == allOfThem ifTrue:[
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2401
            box addVerticalSpace
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2402
        ]
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2403
    ].
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2404
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2405
    box addAbortButton; addOkButton.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2406
    (box addButton:(Button label:(resources string:'defaults')) before:nil)
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2407
        action:[
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2408
            "/ fetch defaults
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2409
            View updateAllStyleCaches.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2410
            labelDef value: Label defaultFont.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2411
            buttonDef value: Button defaultFont.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2412
            listDef value: SelectionInListView defaultFont.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2413
            menuDef value: MenuView defaultFont.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2414
            textDef value: TextView defaultFont.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2415
        ].
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2416
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2417
    box open.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2418
    box accepted ifTrue:[
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2419
        Label defaultFont:labelDef value.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2420
        Button defaultFont:buttonDef value.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2421
        Toggle defaultFont:buttonDef value.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2422
        SelectionInListView defaultFont:listDef value.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2423
        MenuView defaultFont:menuDef value.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2424
        PullDownMenu defaultFont:menuDef value.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2425
        TextView defaultFont:textDef value.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2426
        EditTextView defaultFont:textDef value.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2427
        CodeView defaultFont:textDef value.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2428
    ].
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2429
    box destroy.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2430
    ^ box accepted
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2431
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2432
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2433
!
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2434
1603
6a49f338be82 need compatible reopen protocol.
Claus Gittinger <cg@exept.de>
parents: 1600
diff changeset
  2435
reopenLauncher
1600
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2436
    "reopen a new launcher.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2437
     for now (since style & language settings currently do
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2438
     not affect living views ...)
1782
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  2439
     WARNING: bad design: Message known in LauncherDialogs"
1600
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2440
1800
fd190328277d pass showingHelp down to new launcher when reopening.
Claus Gittinger <cg@exept.de>
parents: 1794
diff changeset
  2441
    |contents builder newLauncher wasShowingHelp|
fd190328277d pass showingHelp down to new launcher when reopening.
Claus Gittinger <cg@exept.de>
parents: 1794
diff changeset
  2442
fd190328277d pass showingHelp down to new launcher when reopening.
Claus Gittinger <cg@exept.de>
parents: 1794
diff changeset
  2443
    wasShowingHelp := self showingHelp.
1600
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2444
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2445
    contents := transcript endEntry; list.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2446
    builder := self class openAt:(self window origin).
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2447
    builder window waitUntilVisible.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2448
    newLauncher := builder application.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2449
    newLauncher transcript list:contents; hideCursor; scrollToBottom; cursorToEnd; showCursor.
1800
fd190328277d pass showingHelp down to new launcher when reopening.
Claus Gittinger <cg@exept.de>
parents: 1794
diff changeset
  2450
    newLauncher showingHelp:wasShowingHelp.
1600
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2451
    DebugView newDebugger.
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2452
1800
fd190328277d pass showingHelp down to new launcher when reopening.
Claus Gittinger <cg@exept.de>
parents: 1794
diff changeset
  2453
    "Modified: / 4.8.1998 / 17:08:33 / cg"
1600
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2454
! !
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2455
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2456
!NewLauncher methodsFor:'queries'!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2457
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2458
preferredExtent
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2459
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2460
    ^super preferredExtent max: Screen current extent//(2.5@3.5)
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2461
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2462
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2463
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2464
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2465
processName
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2466
    "for monitors only - my name"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2467
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2468
    ^ 'ST/X Launcher'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2469
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2470
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2471
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2472
transcript
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2473
    "my transcript"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2474
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2475
    ^ transcript
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2476
! !
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2477
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2478
!NewLauncher methodsFor:'startup / release'!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2479
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2480
addTopViewsToCurrentProject
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2481
    "ignored here - the launcher is always global (i.e. not project private)."
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2482
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2483
    ^ self
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2484
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2485
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2486
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2487
allButOpenInterface:anInterface
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2488
    "sent by my superclass to open up my interface"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2489
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2490
    "/ if there is already a transcript on my device,
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2491
    "/ I am a slave launcher with limited functionality.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2492
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2493
    Transcript notNil ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2494
        Transcript ~~ Stderr ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2495
            isMainLauncher := (Transcript graphicsDevice == device).
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2496
            self enableDangerousMenuItemsInRemoteLauncher value: isMainLauncher.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2497
        ] ifFalse:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2498
            isMainLauncher := true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2499
        ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2500
    ] ifFalse:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2501
        isMainLauncher := true
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2502
    ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2503
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2504
    super allButOpenInterface:anInterface.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2505
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2506
    self setupTranscript; updateInfo.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2507
    Project notNil ifTrue: [Project addDependent:self].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2508
    self class openLaunchers add: self.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2509
    ^ builder
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2510
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2511
    "Created: / 5.2.1998 / 19:45:07 / cg"
1710
1b5921fd12e2 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1708
diff changeset
  2512
    "Modified: / 20.6.1998 / 14:53:58 / cg"
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2513
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2514
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2515
closeRequest
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2516
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2517
    (self confirm:(resources string:'really close %1 ?' with:self class name)) ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2518
        super closeRequest
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2519
    ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2520
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2521
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2522
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2523
postOpenWith:aBuilder
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2524
    "increase my priority"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2525
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2526
    self builder window windowGroup process priority:(Processor userSchedulingPriority + 1).
1772
6ab4a13490ed care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents: 1767
diff changeset
  2527
    UserAddedTools notNil ifTrue:[
6ab4a13490ed care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents: 1767
diff changeset
  2528
        UserAddedTools associationsDo: 
6ab4a13490ed care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents: 1767
diff changeset
  2529
        [:userTool| 
6ab4a13490ed care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents: 1767
diff changeset
  2530
            self addUserTool: userTool key 
6ab4a13490ed care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents: 1767
diff changeset
  2531
                action: (userTool value at: 1)  
6ab4a13490ed care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents: 1767
diff changeset
  2532
                in:     (userTool value at: 2) 
6ab4a13490ed care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents: 1767
diff changeset
  2533
                icon:   (userTool value at: 3)
6ab4a13490ed care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents: 1767
diff changeset
  2534
                space:  (userTool value at: 4)
6ab4a13490ed care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents: 1767
diff changeset
  2535
        ].
1767
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  2536
    ].
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2537
    super postOpenWith:aBuilder.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2538
    self startClockOnTimedBlock: 
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2539
    [
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2540
        |now hours minutes suffix|
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2541
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2542
        now := Time now.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2543
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2544
        hours := now hours.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2545
        minutes := now minutes printString.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2546
        suffix := ''.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2547
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2548
        (resources at:'TIME_FORMAT' ifAbsent:12) == 12 ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2549
            suffix := ' am '.  
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2550
            hours > 12 ifTrue: [hours := hours - 12. suffix := ' pm '].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2551
        ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2552
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2553
        minutes size = 1 ifTrue: [minutes := '0', minutes].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2554
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2555
        self valueOfTimeLabel value: hours printString, ':', minutes, suffix.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2556
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2557
        Processor removeTimedBlock: timeBlock.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2558
        Processor addTimedBlock: timeBlock afterSeconds: 1
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2559
    ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2560
1772
6ab4a13490ed care for UserAdd-stuff being nonNil.
Claus Gittinger <cg@exept.de>
parents: 1767
diff changeset
  2561
    "Modified: / 30.7.1998 / 21:46:43 / cg"
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2562
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2563
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2564
reOpen
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2565
    "reopen a new launcher.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2566
     for now (since style & language settings currently do
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2567
     not affect living views ...)"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2568
1782
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  2569
    self reopenLauncher "/ WARNING: bad design: Message known in LauncherDialogs
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  2570
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  2571
    "Modified: / 31.7.1998 / 22:48:12 / cg"
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2572
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2573
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2574
restarted
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2575
    "image restart - since WindowGroup recreates the process with
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2576
     the default priority, we have to raise the prio again.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2577
     Mhmh - this looks like a bug to me ...
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2578
     Also, the cursor (which was stored as a write or waitCursor) must
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2579
     be reset to normal."
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2580
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2581
    Processor activeProcess priority:(Processor userSchedulingPriority + 1).
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2582
    builder window extent: self preferredExtent.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2583
    super restarted
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2584
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2585
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2586
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2587
saveAndTerminateRequest
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2588
    "some windowManagers can send this, to shutDown an application
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2589
     but let it save its state before, for later restart. 
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2590
     Although I have not yet encountered such a windowManager,
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2591
     we are already prepared for this ;-)"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2592
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2593
    self snapshot.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2594
    super saveAndTerminateRequest
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2595
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2596
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2597
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2598
setupTranscript 
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2599
    "create the transcript view"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2600
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2601
    |launcher oldLauncher|
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2602
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2603
    "/ check if this is an additional launcher on a remote display.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2604
    "/ if so, do not close the real launcher.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2605
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2606
    (Transcript notNil and:[Transcript ~~ Stderr]) ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2607
        isMainLauncher ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2608
            launcher := Transcript topView application
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2609
        ] ifFalse:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2610
            launcher := self class current.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2611
        ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2612
        launcher notNil ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2613
            launcher window graphicsDevice == device ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2614
                OpenLaunchers notNil ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2615
                    OpenLaunchers removeIdentical:launcher ifAbsent:nil.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2616
                ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2617
                (oldLauncher := Smalltalk at: #Launcher) notNil
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2618
                    ifTrue: [oldLauncher openLaunchers removeIdentical:launcher ifAbsent:nil].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2619
                launcher close
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2620
            ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2621
        ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2622
    ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2623
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2624
    transcript := (builder componentAt: #transcriptView) subViews first.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2625
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2626
    isMainLauncher ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2627
        transcript beTranscript.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2628
    ] ifFalse:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2629
        transcript showCR:'**************** Notice ***********************'.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2630
        transcript showCR:'**       this is NOT the Transcript          **'.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2631
        transcript showCR:'** The real Transcript is on the main screen **'.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2632
        transcript showCR:'**                                           **'.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2633
        transcript showCR:'** Menus affecting common state are disabled **'.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2634
        transcript showCR:'***********************************************'.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2635
    ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2636
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2637
    "Modified: / 29.1.1998 / 22:06:03 / cg"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2638
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2639
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2640
uninitialize
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2641
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2642
    super uninitialize.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2643
1604
3dfdb9e54e20 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1603
diff changeset
  2644
    Screen current beep.
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2645
    OpenLaunchers notNil ifTrue:[OpenLaunchers removeIdentical:self ifAbsent:nil].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2646
    Project notNil ifTrue:[Project removeDependent:self]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2647
! !
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2648
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2649
!NewLauncher methodsFor:'user actions - about'!
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  2650
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  2651
openLicenseConditions
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  2652
    "open an HTML browser on the 'LICENCE' document"
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  2653
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  2654
    self withWaitCursorDo:[
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  2655
        |lang doc|
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  2656
1580
3ad279fc384b care for DEMO-licence text
Claus Gittinger <cg@exept.de>
parents: 1576
diff changeset
  2657
        Smalltalk releaseIdentification = 'ST/X_free_demo_vsn' ifTrue:[
3ad279fc384b care for DEMO-licence text
Claus Gittinger <cg@exept.de>
parents: 1576
diff changeset
  2658
            doc := 'english/LICENCE_DEMO_STX.html'
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  2659
        ] ifFalse:[
1580
3ad279fc384b care for DEMO-licence text
Claus Gittinger <cg@exept.de>
parents: 1576
diff changeset
  2660
            ((lang := Smalltalk language) = 'de'
3ad279fc384b care for DEMO-licence text
Claus Gittinger <cg@exept.de>
parents: 1576
diff changeset
  2661
            or:[lang = 'german']) ifTrue:[
3ad279fc384b care for DEMO-licence text
Claus Gittinger <cg@exept.de>
parents: 1576
diff changeset
  2662
                doc := 'german/LICENCE_STX.html'
3ad279fc384b care for DEMO-licence text
Claus Gittinger <cg@exept.de>
parents: 1576
diff changeset
  2663
            ] ifFalse:[
3ad279fc384b care for DEMO-licence text
Claus Gittinger <cg@exept.de>
parents: 1576
diff changeset
  2664
                doc := 'english/LICENCE_STX.html'
3ad279fc384b care for DEMO-licence text
Claus Gittinger <cg@exept.de>
parents: 1576
diff changeset
  2665
            ].
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  2666
        ].
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  2667
        doc := resources at:'LICENCEFILE' default:doc.
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  2668
        self showDocumentation:('../' , doc)
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  2669
    ]
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  2670
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  2671
    "Created: / 5.2.1998 / 21:43:19 / cg"
1580
3ad279fc384b care for DEMO-licence text
Claus Gittinger <cg@exept.de>
parents: 1576
diff changeset
  2672
    "Modified: / 23.4.1998 / 11:45:53 / cg"
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  2673
! !
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  2674
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2675
!NewLauncher methodsFor:'user actions - classes'!
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2676
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2677
browseAllBreakAndTracePoints
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2678
    "open a browser showing all breakPointed/traced methods
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2679
     (but, to get rid of them, there is also a menu itme to remove them all)"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2680
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2681
    SystemBrowser browseMethods: WrappedMethod allInstances title:'all breakPointed/traced methods'
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2682
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2683
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2684
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2685
browseImplementors
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2686
    "open an implementors- browser after asking for a selector"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2687
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2688
    |enterBox selector|
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2689
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2690
    enterBox := EnterBox 
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2691
                    title:(resources at:'Browse implementors of:') withCRs
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2692
                    okText:(resources at:'browse')
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2693
                    action:[:acceptedString | selector := acceptedString].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2694
    enterBox showAtPointer.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2695
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2696
    selector notNil ifTrue:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2697
        self withWaitCursorDo:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2698
            SystemBrowser browseImplementorsOf:selector
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2699
        ]  
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2700
    ].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2701
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2702
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2703
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2704
browseResources
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2705
    "open a resource- browser after asking for a resource string"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2706
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2707
    |box resourceHolder valueHolder component rsrc value t anyString|
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2708
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2709
    anyString := resources string:'* any *'.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2710
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2711
    resourceHolder := ValueHolder newString.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2712
    valueHolder := '*' asValue.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2713
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2714
    box := DialogBox new.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2715
    box label:(resources at:'Resource search:').
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2716
    component := box addTextLabel:(resources at:'Search for methods which contain a\particular resource specification') withCRs.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2717
    component adjust:#left.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2718
    box addVerticalSpace:10.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2719
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2720
    component := box addTextLabel:(resources at:'Resource symbol (empty for any; no matchPattern allowed):') withCRs.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2721
    component adjust:#left.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2722
    component :=  box addComboBoxOn:resourceHolder tabable:true.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2723
    component list:((Array with:anyString) , #('canvas' 'menu' 'keyboard' 'style' 'image' 'programMenu' nil 'needsFix')).
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2724
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2725
    component := box addTextLabel:(resources at:'Resource value (* for any; matchPattern is allowed):') withCRs.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2726
    component adjust:#left.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2727
    box addInputFieldOn:valueHolder tabable:true.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2728
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2729
    box addVerticalSpace:10.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2730
    box addHelpButtonFor:'programming/language.html#RESOURCEDEFS'.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2731
    box addAbortButton; addOkButton.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2732
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2733
    box showAtPointer.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2734
    box destroy.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2735
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2736
    box accepted ifTrue:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2737
        rsrc := resourceHolder value.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2738
        value := valueHolder value.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2739
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2740
        (rsrc isNil or:[rsrc isEmpty or:[rsrc = '*' or:[rsrc = anyString]]]) ifTrue:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2741
            t := 'methods with any resource'.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2742
            rsrc := nil
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2743
        ] ifFalse:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2744
            t := 'methods with #' , rsrc , '-resource'.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2745
            rsrc := rsrc withoutSeparators asSymbol
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2746
        ].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2747
        (value isNil or:[value isEmpty or:[value = '*']]) ifTrue:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2748
            t := t , ' and any value'.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2749
            value := nil
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2750
        ] ifFalse:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2751
            t := t , ' and value ' , value.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2752
        ].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2753
        self withWaitCursorDo:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2754
            SystemBrowser browseForResource:rsrc
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2755
                          containing:value
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2756
                          in:(Smalltalk allClasses)
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2757
                          title:t
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2758
        ]  
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2759
    ].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2760
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2761
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2762
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2763
browseSenders
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2764
    "open a senders- browser after asking for a selector"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2765
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2766
    |enterBox selector|
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2767
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2768
    enterBox := EnterBox 
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2769
                    title:(resources at:'Browse senders of:') withCRs
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2770
                    okText:(resources at:'browse')
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2771
                    action:[:acceptedString | selector := acceptedString].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2772
    enterBox showAtPointer.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2773
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2774
    selector notNil ifTrue:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2775
        self withWaitCursorDo:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2776
            SystemBrowser browseAllCallsOn:selector
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2777
        ]  
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2778
    ].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2779
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2780
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2781
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2782
browseUndeclared
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2783
    "open a browser on methods refering to undeclared variables"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2784
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2785
    self withWaitCursorDo:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2786
        SystemBrowser 
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2787
            browseReferendsOf:(Smalltalk underclaredPrefix , '*')
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2788
            title:(resources string:'references to undeclared variables')
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2789
            warnIfNone:true
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2790
    ]
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2791
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2792
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2793
1467
59bf087a0423 missing call added + using own extent calc routine for opening
tz
parents: 1466
diff changeset
  2794
removeAllBreakAndTracePoints
59bf087a0423 missing call added + using own extent calc routine for opening
tz
parents: 1466
diff changeset
  2795
    "remove all break- and trace points"
59bf087a0423 missing call added + using own extent calc routine for opening
tz
parents: 1466
diff changeset
  2796
1600
1d8cd3ef47d0 use settingsDialogs from Launcher
Claus Gittinger <cg@exept.de>
parents: 1593
diff changeset
  2797
    self withCursor:Cursor execute do:[ MessageTracer cleanup]
1467
59bf087a0423 missing call added + using own extent calc routine for opening
tz
parents: 1466
diff changeset
  2798
59bf087a0423 missing call added + using own extent calc routine for opening
tz
parents: 1466
diff changeset
  2799
!
59bf087a0423 missing call added + using own extent calc routine for opening
tz
parents: 1466
diff changeset
  2800
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2801
startClassBrowser
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2802
    "open a classBrowser; asks for class"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2803
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2804
    SystemBrowser askThenBrowseClass
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2805
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2806
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2807
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2808
startClassHierarchyBrowser
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2809
    "open a classHierarchyBrowser; asks for class"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2810
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2811
    SystemBrowser askThenBrowseClassHierarchy
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2812
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2813
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2814
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2815
startFullClassBrowser
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2816
    "open a fullClass systemBrowser; asks for class"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2817
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2818
    SystemBrowser askThenBrowseFullClassProtocol
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2819
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2820
! !
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2821
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2822
!NewLauncher methodsFor:'user actions - demos'!
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2823
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2824
openDemo:className
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2825
    "open a demo, given its name.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2826
     Looks in both the Smalltalk- and the Demos-Namespace
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2827
     for that class."
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2828
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2829
    self openApplication:className nameSpace:Demos
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2830
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2831
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2832
1716
a6cbe3d33ca2 disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents: 1711
diff changeset
  2833
openMandelbrotDemo
a6cbe3d33ca2 disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents: 1711
diff changeset
  2834
    Demos::ComplexIterationView new open
a6cbe3d33ca2 disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents: 1711
diff changeset
  2835
a6cbe3d33ca2 disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents: 1711
diff changeset
  2836
    "Created: / 8.7.1998 / 20:36:37 / cg"
a6cbe3d33ca2 disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents: 1711
diff changeset
  2837
!
a6cbe3d33ca2 disable class-history menu item, if there is no history;
Claus Gittinger <cg@exept.de>
parents: 1711
diff changeset
  2838
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2839
startTicTacToe2
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2840
    "opens a 2-user ticTacToe game"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2841
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2842
    self openApplication:'TicTacToeGame' nameSpace:Games with:#open2UserGame
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2843
! !
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2844
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2845
!NewLauncher methodsFor:'user actions - file'!
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2846
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2847
exit
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2848
    "saves a snapshot image and exits, after asking for a fileName"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2849
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2850
    |fileName saveAndExit box|
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2851
1593
65e25bbcda63 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1591
diff changeset
  2852
    box := EnterBox2 title:(resources string:'Save image before exiting?')
65e25bbcda63 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1591
diff changeset
  2853
        okText:(resources string:'Save & Exit') 
65e25bbcda63 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1591
diff changeset
  2854
        abortText:(resources string:'Cancel')
1422
bd1798d4454c exit dialog changed + info bar as subSpec to class ToolApplicationModel moved
tz
parents: 1420
diff changeset
  2855
        action:[:str|fileName := str. saveAndExit := true].
1593
65e25bbcda63 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1591
diff changeset
  2856
    box label: (resources string:'Exiting ST/X').
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2857
    box initialText: ObjectMemory nameForSnapshot.
1593
65e25bbcda63 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1591
diff changeset
  2858
    box okText2:(resources string:'Exit') action2:[:str|saveAndExit := false]; showAtPointer.
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2859
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2860
    saveAndExit notNil
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2861
    ifTrue:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2862
        saveAndExit
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2863
        ifTrue:
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2864
        [
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2865
            self saveImageAs: fileName
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2866
        ].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2867
        Smalltalk exit
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2868
    ]
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2869
1593
65e25bbcda63 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1591
diff changeset
  2870
    "Modified: / 23.4.1998 / 18:37:46 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2871
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2872
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2873
objectModuleDialog
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2874
    "opens a moduleInfo dialog"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2875
1780
1d3d4644f3c4 use objectModuleDialog from Launcher.
Claus Gittinger <cg@exept.de>
parents: 1777
diff changeset
  2876
    ^ Launcher::LauncherDialogs objectModuleDialogFor:self
1d3d4644f3c4 use objectModuleDialog from Launcher.
Claus Gittinger <cg@exept.de>
parents: 1777
diff changeset
  2877
1d3d4644f3c4 use objectModuleDialog from Launcher.
Claus Gittinger <cg@exept.de>
parents: 1777
diff changeset
  2878
    "Modified: / 31.7.1998 / 17:33:24 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2879
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2880
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2881
saveImage
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2882
    "save image"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2883
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2884
    self showCursor:Cursor write.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2885
    [
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2886
        (ObjectMemory snapShotOn:ObjectMemory nameForSnapshot) ifFalse:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2887
            self warn:(resources string:'Failed to save snapshot image (disk full or not writable)').
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2888
        ]
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2889
    ] valueNowOrOnUnwindDo:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2890
        self restoreCursors.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2891
    ].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2892
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2893
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2894
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2895
saveImageAs
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2896
    "save image, after asking for a file name"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2897
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2898
    self saveImageAs: (
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2899
        FileSelectionBrowser 
1593
65e25bbcda63 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1591
diff changeset
  2900
            request: (resources string:'Save Image As') 
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2901
            fileName: ObjectMemory nameForSnapshot
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2902
            inDirectory: Filename currentDirectory name
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2903
            withFileFilters: #('*.img'))
1593
65e25bbcda63 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1591
diff changeset
  2904
65e25bbcda63 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1591
diff changeset
  2905
    "Modified: / 23.4.1998 / 18:25:17 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2906
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2907
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2908
saveImageAs: aFileName
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2909
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2910
    aFileName notNil ifTrue:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2911
        self showCursor:Cursor write.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2912
        [       
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2913
            (ObjectMemory snapShotOn:aFileName) ifFalse:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2914
                self warn:(resources string:'Failed to save snapshot image (disk full or not writable)').
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2915
            ]
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2916
        ] valueNowOrOnUnwindDo:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2917
            self restoreCursors.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2918
        ].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2919
    ].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2920
! !
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2921
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2922
!NewLauncher methodsFor:'user actions - help'!
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2923
1429
aa6ce97097dc NewLauncher has got its own (global) active help
tz
parents: 1424
diff changeset
  2924
activeHelp
aa6ce97097dc NewLauncher has got its own (global) active help
tz
parents: 1424
diff changeset
  2925
1842
b4bd3ccd2f3d fixed active help (must be a value holder)
Claus Gittinger <cg@exept.de>
parents: 1841
diff changeset
  2926
    ^ helpIsOn ? (helpIsOn := false asValue)
b4bd3ccd2f3d fixed active help (must be a value holder)
Claus Gittinger <cg@exept.de>
parents: 1841
diff changeset
  2927
b4bd3ccd2f3d fixed active help (must be a value holder)
Claus Gittinger <cg@exept.de>
parents: 1841
diff changeset
  2928
    "Modified: / 18.8.1998 / 16:05:40 / cg"
1429
aa6ce97097dc NewLauncher has got its own (global) active help
tz
parents: 1424
diff changeset
  2929
!
aa6ce97097dc NewLauncher has got its own (global) active help
tz
parents: 1424
diff changeset
  2930
1411
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2931
showBookPrintDocument
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2932
    "open an HTML browser on the 'book'-printing document"
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2933
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2934
    self showDocumentation:'BOOK.html'
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2935
!
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2936
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2937
startClassDocumentation
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2938
    "open an HTML browser on the 'classDoc/TOP' document"
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2939
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2940
    self showDocumentation:'classDoc/TOP.html'
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2941
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2942
!
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2943
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2944
startDocumentationIndex
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2945
    "open an HTML browser on the 'index' document"
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2946
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2947
    self showDocumentation:'index.html'
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2948
!
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2949
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2950
startDocumentationTool
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2951
    "open an HTML browser on the 'TOP' document"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2952
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2953
    self showDocumentation:'TOP.html'
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2954
1411
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2955
!
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2956
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2957
startWhatsNewDocumentation
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2958
    "open an HTML browser on the 'whatsNew.html' document"
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2959
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2960
    self showDocumentation:'whatsNew.html'
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2961
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2962
!
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2963
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2964
toggleActiveHelp:aBoolean
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2965
    "turn on/off active help"
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2966
1429
aa6ce97097dc NewLauncher has got its own (global) active help
tz
parents: 1424
diff changeset
  2967
    ActiveHelp notNil ifTrue:[
1842
b4bd3ccd2f3d fixed active help (must be a value holder)
Claus Gittinger <cg@exept.de>
parents: 1841
diff changeset
  2968
        self activeHelp value:aBoolean.
b4bd3ccd2f3d fixed active help (must be a value holder)
Claus Gittinger <cg@exept.de>
parents: 1841
diff changeset
  2969
        aBoolean ifTrue:[
1429
aa6ce97097dc NewLauncher has got its own (global) active help
tz
parents: 1424
diff changeset
  2970
            ActiveHelp start
aa6ce97097dc NewLauncher has got its own (global) active help
tz
parents: 1424
diff changeset
  2971
        ] ifFalse:[
aa6ce97097dc NewLauncher has got its own (global) active help
tz
parents: 1424
diff changeset
  2972
            ActiveHelp stop
aa6ce97097dc NewLauncher has got its own (global) active help
tz
parents: 1424
diff changeset
  2973
        ]
aa6ce97097dc NewLauncher has got its own (global) active help
tz
parents: 1424
diff changeset
  2974
    ].
1411
da20bf21fb13 first offical release
tz
parents: 1406
diff changeset
  2975
1842
b4bd3ccd2f3d fixed active help (must be a value holder)
Claus Gittinger <cg@exept.de>
parents: 1841
diff changeset
  2976
    "Modified: / 18.8.1998 / 16:06:27 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2977
! !
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2978
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  2979
!NewLauncher methodsFor:'user actions - settings'!
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2980
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2981
compilerSettings
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2982
    "open a dialog on compiler related settings"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2983
1782
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  2984
    Launcher::LauncherDialogs compilerSettingsFor:self.
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  2985
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  2986
    "Modified: / 31.7.1998 / 22:45:16 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2987
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2988
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2989
displaySettings
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2990
    "open a dialog on display related settings"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2991
1782
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  2992
    Launcher::LauncherDialogs displaySettingsFor:self.
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  2993
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  2994
    "Modified: / 31.7.1998 / 22:45:38 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2995
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2996
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2997
fontSettings
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2998
    "open a dialog on font related settings"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  2999
1782
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3000
    Launcher::LauncherDialogs fontSettingsFor:self
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3001
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3002
    "Modified: / 31.7.1998 / 22:45:44 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3003
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3004
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3005
keyboardSetting 
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3006
    "open a dialog on keyboard related settings"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3007
1782
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3008
    Launcher::LauncherDialogs keyboardSettingsFor:self.
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3009
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3010
    "Modified: / 31.7.1998 / 22:45:56 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3011
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3012
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3013
languageSetting 
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3014
    "open a dialog on language related settings"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3015
1782
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3016
    Launcher::LauncherDialogs languageSettingsFor:self.
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3017
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3018
    "Modified: / 31.7.1998 / 22:46:13 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3019
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3020
1533
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3021
loadSettings
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3022
    "restore settings from a settings-file."
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3023
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3024
    "a temporary kludge - we need a central systemSettings object for this,
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3025
     which can be saved/restored with a single store/read."
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3026
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3027
    |fileName|
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3028
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3029
    fileName := Dialog 
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3030
        requestFileName:(resources string:'load settings from:') 
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3031
        default:'settings.stx'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3032
        ok:(resources string:'load') 
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3033
        abort:(resources string:'cancel') 
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3034
        pattern:'*.stx'
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3035
        fromDirectory:nil.
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3036
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3037
    (fileName isNil or:[fileName isEmpty]) ifTrue:[
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3038
        "/ canceled
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3039
        ^ self
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3040
    ].
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3041
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3042
    self withWaitCursorDo:[
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3043
        Smalltalk fileIn:fileName.
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3044
        self reOpen
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3045
    ].
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3046
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3047
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3048
!
d4b9776714f6 help texts + class history + new settings' stuff removed (no time to complete it)
tz
parents: 1532
diff changeset
  3049
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3050
memorySettings
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3051
    "open a dialog on objectMemory related settings"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3052
1782
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3053
    Launcher::LauncherDialogs memorySettingsFor:self.
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3054
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3055
    "Modified: / 31.7.1998 / 22:46:33 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3056
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3057
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3058
messageSettings
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3059
    "open a dialog on infoMessage related settings"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3060
1782
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3061
    Launcher::LauncherDialogs messageSettingsFor:self.
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3062
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3063
    "Modified: / 31.7.1998 / 22:46:45 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3064
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3065
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3066
miscSettings
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3067
    "open a dialog on misc other settings"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3068
1782
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3069
    Launcher::LauncherDialogs miscSettingsFor:self.
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3070
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3071
    "Modified: / 31.7.1998 / 22:46:56 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3072
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3073
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3074
printerSettings
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3075
    "open a dialog on printer related settings"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3076
1782
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3077
    Launcher::LauncherDialogs printerSettingsFor:self.
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3078
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3079
    "Modified: / 31.7.1998 / 22:47:05 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3080
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3081
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3082
saveSettings
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3083
    "save settings to a settings-file."
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3084
1782
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3085
    Launcher::LauncherDialogs saveSettingsFor:self.
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3086
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3087
    "Modified: / 31.7.1998 / 22:48:38 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3088
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3089
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3090
sourceAndDebuggerSettings
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3091
    "open a dialog on misc other settings"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3092
1782
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3093
    Launcher::LauncherDialogs sourceAndDebuggerSettingsFor:self.
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3094
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3095
    "Modified: / 31.7.1998 / 22:47:21 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3096
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3097
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3098
viewStyleSetting 
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3099
    "open a dialog on viewStyle related settings"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3100
1782
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3101
    Launcher::LauncherDialogs viewStyleSettingsFor:self.
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3102
4b1d6025c814 renamed SettingsDialogs to LauncherDialogs.
Claus Gittinger <cg@exept.de>
parents: 1780
diff changeset
  3103
    "Modified: / 31.7.1998 / 22:47:33 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3104
! !
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3105
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3106
!NewLauncher methodsFor:'user actions - system'!
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3107
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3108
compressingGarbageCollect
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3109
    "perform a compressing garbageCollect"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3110
1608
7f7ed00bbd4f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1604
diff changeset
  3111
    self withWaitCursorDo:[ObjectMemory verboseGarbageCollect]
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3112
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3113
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3114
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3115
garbageCollect
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3116
    "perform a non-compressing garbageCollect"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3117
1608
7f7ed00bbd4f checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1604
diff changeset
  3118
    self withWaitCursorDo:[ObjectMemory reclaimSymbols]
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3119
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3120
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3121
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3122
initJavaVM
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3123
    JavaVM initializeVM
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3124
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3125
    "Created: / 9.2.1998 / 12:06:07 / cg"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3126
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3127
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3128
startLatencyMonitor
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3129
    "open an interruptLatencyMonitor view"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3130
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3131
    InterruptLatencyMonitor notNil ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3132
        Autoload autoloadFailedSignal catch:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3133
            InterruptLatencyMonitor autoload.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3134
        ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3135
        InterruptLatencyMonitor isLoaded ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3136
            InterruptLatencyMonitor open.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3137
            ^ self.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3138
        ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3139
    ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3140
    self warn:'Sorry - the irq latency monitor is only available
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3141
in the full commercial release'.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3142
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3143
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3144
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3145
startStopEventTrace
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3146
    "start/stop event tracing for a particular view"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3147
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3148
    |v wg|
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3149
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3150
    v := Screen current viewFromUser.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3151
    v notNil ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3152
        v := v topView.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3153
        wg := v windowGroup.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3154
        wg notNil ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3155
            "/
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3156
            "/ toggle eventTrace in its windowGroup
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3157
            "/
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3158
            wg traceEvents:(wg preEventHook isNil)
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3159
        ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3160
    ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3161
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3162
! !
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3163
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3164
!NewLauncher methodsFor:'user actions - tools'!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3165
1767
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3166
addUserTool: toolName action: action icon: icon
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3167
    "adds a menu item labeled toolName, and action and icon both to the
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3168
     sub menu 'Tools' and the tool bar.
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3169
    "
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3170
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3171
    self addUserTool: toolName action: action in: nil icon: icon space: true
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3172
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3173
!
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3174
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3175
addUserTool: toolName action: action in: what icon: icon space: space
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3176
    "adds a menu item labeled toolName, and action and icon;
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3177
     for what == #menu    menu item is added at the end of the sub menu 'Tools',
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3178
     for what == #toolbar menu item is added at the end of the tool bar,
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3179
    "
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3180
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3181
    |menuPanel freeMenuIndex|
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3182
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3183
    (what isNil or: [what == #toolbar])
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3184
    ifTrue:
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3185
    [
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3186
        menuPanel := builder namedComponents at: #menuToolbarView.
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3187
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3188
        (menuPanel findFirst: [:i| i activeHelpKey = toolName]) == 0
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3189
        ifTrue:
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3190
        [
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3191
            freeMenuIndex := menuPanel numberOfItems + 1.
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3192
            space 
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3193
            ifTrue: 
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3194
            [
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3195
                (menuPanel createAtIndex: freeMenuIndex) menuItem: (MenuItem labeled: '').
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3196
                freeMenuIndex := freeMenuIndex + 1.
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3197
            ].
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3198
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3199
            (menuPanel createAtIndex: freeMenuIndex) menuItem:
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3200
                (MenuItem new 
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3201
                    label: toolName;
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3202
                    value: action;
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3203
                    isButton: true;
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3204
                    labelImage: icon;
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3205
                    activeHelpKey: toolName)
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3206
        ].
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3207
    ].
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3208
    (what isNil or: [what== #menu])
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3209
    ifTrue:
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3210
    [
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3211
        menuPanel := ((self builder window subViews at: 1 ifAbsent: [^self]) itemAt: 4) submenu.
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3212
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3213
        (menuPanel findFirst: [:i| i activeHelpKey = toolName]) == 0
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3214
        ifTrue:
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3215
        [       
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3216
            freeMenuIndex := menuPanel numberOfItems + 1.
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3217
            space 
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3218
            ifTrue: 
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3219
            [
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3220
                (menuPanel createAtIndex: freeMenuIndex) menuItem: (MenuItem labeled: '-').
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3221
                freeMenuIndex := freeMenuIndex + 1.
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3222
            ].
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3223
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3224
            (menuPanel createAtIndex: freeMenuIndex) menuItem:
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3225
                (MenuItem new 
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3226
                    label: toolName;
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3227
                    value: action;
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3228
                    labelImage: (LabelAndIcon icon: icon string: toolName);
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3229
                    activeHelpKey: toolName) 
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3230
        ].
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3231
    ].
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3232
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3233
    UserAddedTools isNil ifTrue: [UserAddedTools := Dictionary new].
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3234
    UserAddedTools at: toolName put: (Array with: action with: what with: icon with: space)
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3235
!
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3236
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3237
newProject 
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3238
    "creates a new project & opens a projectView for it"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3239
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3240
    Project notNil ifTrue: [(ProjectView for: Project new) open]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3241
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3242
1752
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
  3243
openTerminal
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
  3244
    VT100TerminalView open
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
  3245
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
  3246
    "Created: / 27.7.1998 / 12:48:30 / cg"
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
  3247
!
1602e27bb929 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1716
diff changeset
  3248
1767
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3249
removeUserTool: toolName
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3250
    "removes a menu item labeled toolName
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3251
    "
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3252
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3253
    |userTool space menuIndex removeInMenuBlock|
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3254
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3255
    UserAddedTools isNil ifTrue: [^nil].
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3256
    userTool  := UserAddedTools at: toolName ifAbsent: [^nil].
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3257
    space     := userTool at: 4.
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3258
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3259
    removeInMenuBlock := 
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3260
    [:menuPanel|
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3261
        (menuIndex := menuPanel findFirst: [:i| i activeHelpKey = toolName]) ~~ 0
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3262
        ifTrue:
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3263
        [              
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3264
            menuPanel remove: menuIndex.
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3265
            space ifTrue: [menuPanel remove: menuIndex - 1].
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3266
        ].
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3267
    ].
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3268
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3269
    removeInMenuBlock value: (builder namedComponents at: #menuToolbarView).
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3270
    removeInMenuBlock value: ((self builder window subViews at: 1 ifAbsent: [^self]) itemAt: 4) submenu.
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3271
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3272
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3273
    UserAddedTools removeKey: toolName 
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3274
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3275
!
95c3a43c6ba5 'add user tools' features added
tz
parents: 1759
diff changeset
  3276
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3277
selectProject
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3278
    "asks for and switch to another project"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3279
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3280
    |list box|
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3281
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3282
    Project notNil ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3283
        list := Project allInstances.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3284
        box := ListSelectionBox new.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3285
        box list:(list collect:[:p | p name]).
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3286
        box title:(resources string:'select a project').
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3287
        box action:[:selection |
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3288
            |project|
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3289
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3290
            project := list detect:[:p | p name = selection] ifNone:[nil].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3291
            project isNil ifTrue:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3292
                transcript showCR:'no such project.'
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3293
            ] ifFalse:[
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3294
                project showViews.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3295
                Project current:project
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3296
            ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3297
        ].
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3298
        box showAtPointer.
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3299
        box destroy
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3300
    ]
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3301
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3302
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3303
startNewLauncher
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3304
    "opens the new launcher"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3305
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3306
    NewLauncher openAt:(self window origin)
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3307
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3308
!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3309
1680
b1156fe1df3b added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents: 1679
diff changeset
  3310
startOldChangesBrowser
b1156fe1df3b added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents: 1679
diff changeset
  3311
    "opens the old changeBrowser"
b1156fe1df3b added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents: 1679
diff changeset
  3312
b1156fe1df3b added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents: 1679
diff changeset
  3313
    ChangesBrowser open
b1156fe1df3b added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents: 1679
diff changeset
  3314
b1156fe1df3b added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents: 1679
diff changeset
  3315
    "Created: / 6.6.1998 / 19:47:26 / cg"
b1156fe1df3b added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents: 1679
diff changeset
  3316
!
b1156fe1df3b added start-old changesBrowser item
Claus Gittinger <cg@exept.de>
parents: 1679
diff changeset
  3317
1544
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3318
startOldLauncher
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3319
    "opens the old launcher"
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3320
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3321
    Launcher openAt:(self window origin)
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3322
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3323
! !
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3324
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3325
!NewLauncher methodsFor:'user actions - windows'!
8f3dedc772af menu rearranged
tz
parents: 1538
diff changeset
  3326
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3327
deIconifyAllWindows
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3328
    |setOfViews|
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3329
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3330
    setOfViews := Project current views asIdentitySet.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3331
    setOfViews addAll:(Project defaultProject views).
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3332
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3333
    setOfViews do:[:aTopView |
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3334
        aTopView device == Screen current ifTrue:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3335
            aTopView expand
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3336
        ].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3337
    ].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3338
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3339
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3340
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3341
findAndDestroyWindow
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3342
    "find a window (by name) and destroy it"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3343
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3344
    |v|
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3345
    v := self findWindow:'select view to close:'.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3346
    v notNil ifTrue:[v destroy]
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3347
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3348
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3349
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3350
findAndRaiseWindow
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3351
    "find a window (by name) and raise it"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3352
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3353
    |v|
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3354
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3355
    v := self findWindow:'select view to raise deiconified:'.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3356
    v notNil ifTrue:[v raiseDeiconified]
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3357
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3358
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3359
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3360
fullScreenHardcopy
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3361
    "after a second (to allow redraw of views under menu ...),
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3362
     save the contents of the whole screen."
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3363
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3364
    Processor 
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3365
        addTimedBlock:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3366
                        self 
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3367
                            saveScreenImage:(Image fromScreen) 
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3368
                            defaultName:'screen'
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3369
                      ] 
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3370
        afterSeconds:1
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3371
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3372
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3373
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3374
iconifyAllWindows
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3375
    |setOfViews|
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3376
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3377
    setOfViews := Project current views asIdentitySet.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3378
    setOfViews addAll:(Project defaultProject views).
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3379
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3380
    setOfViews do:[:aTopView |
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3381
        aTopView device == Screen current ifTrue:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3382
            aTopView collapse
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3383
        ]
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3384
    ]
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3385
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3386
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3387
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3388
pickAView
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3389
    "let user pick a view and return it"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3390
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3391
    |v|
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3392
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3393
    (Delay forSeconds:1) wait.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3394
    v := Screen current viewFromUser.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3395
    v isNil ifTrue:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3396
        self warn:'Sorry, this is not a smalltalk view'.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3397
        ^ nil
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3398
    ].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3399
    ^ v
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3400
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3401
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3402
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3403
screenHardcopy
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3404
    "after a second (to allow redraw of views under menu ...),
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3405
     let user specify a rectangular area on the screen
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3406
     and save its contents."
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3407
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3408
    |area|
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3409
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3410
    Processor 
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3411
        addTimedBlock:[
1841
952d20d44c1b replaced yields by a delay
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
  3412
                        [Screen current leftButtonPressed] whileTrue:[Delay waitForSeconds:0.05].
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3413
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3414
                        area := Rectangle fromUser.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3415
                        (area width > 0 and:[area height > 0]) ifTrue:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3416
                            self saveScreenImage:(Image fromScreen:area) defaultName:'hardcopy'
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3417
                        ]
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3418
                      ] 
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3419
        afterSeconds:1
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3420
1841
952d20d44c1b replaced yields by a delay
Claus Gittinger <cg@exept.de>
parents: 1836
diff changeset
  3421
    "Modified: / 18.8.1998 / 15:00:42 / cg"
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3422
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3423
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3424
startWindowTreeView
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3425
    "open a windowTree view (on a topView)"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3426
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3427
    |v|
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3428
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3429
    v := self pickAView.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3430
    v notNil ifTrue:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3431
        WindowTreeView openOn:v topView
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3432
    ]
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3433
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3434
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3435
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3436
viewDestroy
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3437
    "let user pick a view and destroy it.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3438
     Even allow destroying non-smalltalk views
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3439
     (also for views which I forgot due to some error)"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3440
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3441
    |device v id i c|
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3442
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3443
    (Delay forSeconds:1) wait.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3444
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3445
    device := Screen current.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3446
    i := Image fromFile:'bitmaps/xpmBitmaps/cursors/cross2.xpm'.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3447
    i isNil ifTrue:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3448
        c := Cursor crossHair
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3449
    ] ifFalse:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3450
        c := Cursor fromImage:i
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3451
    ].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3452
    id := device viewIdFromPoint:(device pointFromUserShowing:c).
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3453
    (v := device viewFromId:id) notNil ifTrue:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3454
        v topView destroy.
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3455
        ^ self
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3456
    ].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3457
    id = device rootView id ifTrue:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3458
        ^ self
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3459
    ].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3460
    (Dialog confirm:'mhmh, this may not a be smalltalk view\(Or I somehow forgot about it).\Destroy anyway ?' withCRs)
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3461
    ifTrue:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3462
        device destroyView:nil withId:id
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3463
    ].
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3464
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3465
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3466
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3467
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3468
viewHardcopy
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3469
    "after a second (to allow redraw of views under menu ...),
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3470
     let user specify a view and save its contents."
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3471
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3472
    Processor 
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3473
        addTimedBlock:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3474
                        |v|
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3475
                        (v := Screen current viewFromUser) notNil ifTrue:[
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3476
                            self saveScreenImage:(Image fromView:(v topView)) defaultName:'hardcopy'
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3477
                        ]
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3478
                      ] 
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3479
        afterSeconds:1
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3480
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3481
!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3482
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3483
viewInspect
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3484
    "let user pick a view and inspect it. Only smalltalk views are allowed"
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3485
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3486
    |v|
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3487
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3488
    (v := self pickAView) notNil 
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3489
    ifTrue:
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3490
    [
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3491
        v inspect
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3492
    ]
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3493
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3494
! !
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3495
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3496
!NewLauncher class methodsFor:'documentation'!
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3497
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3498
version
1842
b4bd3ccd2f3d fixed active help (must be a value holder)
Claus Gittinger <cg@exept.de>
parents: 1841
diff changeset
  3499
    ^ '$Header: /cvs/stx/stx/libtool/NewLauncher.st,v 1.99 1998-08-18 14:34:32 cg Exp $'
1406
60e6a7d07c93 initial checkin
tz
parents:
diff changeset
  3500
! !