Launcher.st
changeset 5709 be6b78e5cd7c
parent 3647 dae513f07a2e
child 12123 4bde08cebd48
child 15143 afe9ea05ebe9
equal deleted inserted replaced
5708:5a01e2a32040 5709:be6b78e5cd7c
   787 
   787 
   788     "setup the about- pulldown menu"
   788     "setup the about- pulldown menu"
   789 
   789 
   790     myMenu at:#about 
   790     myMenu at:#about 
   791            putLabels:(resources array:#(
   791            putLabels:(resources array:#(
   792                                         'about Smalltalk/X ...'
   792                                         'About Smalltalk/X...'
   793                                         '-'
   793                                         '-'
   794                                         'licence conditions'
   794                                         'Licence Conditions'
   795                                        ))
   795                                        ))
   796            selectors:#(
   796            selectors:#(
   797                                         #openAbout 
   797                                         #openAbout 
   798                                         nil
   798                                         nil
   799                                         #openLicenseConditions 
   799                                         #openLicenseConditions 
   810     |m labels selectors jb|
   810     |m labels selectors jb|
   811 
   811 
   812     "setup the classes- pulldown menu"
   812     "setup the classes- pulldown menu"
   813 
   813 
   814     labels := #(
   814     labels := #(
   815         'system browser'
   815         'System Browser'
   816         'class browser ...'
   816         'Class Browser...'
   817         'full class browser ...'
   817         'Full Class Browser...'
   818         'class hierarchy browser ...'
   818         'Class Hierarchy Browser...'
   819         'class tree'
   819         'Class Tree'
   820         '-'
   820         '-'
   821         'implementors ...'
   821         'Implementors...'
   822         'senders ...'
   822         'Senders...'
   823         'special'
   823         'Special'
   824         '-'
   824         '-'
   825         'change browser'
   825         'Change Browser'
   826         ).
   826         ).
   827 
   827 
   828     selectors := #(
   828     selectors := #(
   829         #startSystemBrowser 
   829         #startSystemBrowser 
   830         #startClassBrowser 
   830         #startClassBrowser 
   846 
   846 
   847     m := myMenu menuAt:#classes.
   847     m := myMenu menuAt:#classes.
   848     m subMenuAt:#special 
   848     m subMenuAt:#special 
   849       put:(PopUpMenu
   849       put:(PopUpMenu
   850                 itemList: #(
   850                 itemList: #(
   851                             ('references to undeclared'      #browseUndeclared             )
   851                             ('References to Undeclared'      #browseUndeclared             )
   852                             ('resource methods ...'          #browseResources              )
   852                             ('Resource Methods...'           #browseResources              )
   853                             ('show break/trace points'       #browseAllBreakAndTracePoints )
   853                             ('Show Break/Trace Points'       #browseAllBreakAndTracePoints )
   854                             ('-'                                                           )
   854                             ('-'                                                           )
   855                             ('remove all break/trace points' #removeAllBreakAndTracePoints )
   855                             ('Remove all Break/trace Points' #removeAllBreakAndTracePoints )
   856                            )
   856                            )
   857                 resources:resources
   857                 resources:resources
   858           ).
   858           ).
   859 
   859 
   860     ((jb := Smalltalk at:#JavaBrowser) notNil 
   860     ((jb := Smalltalk at:#JavaBrowser) notNil 
   861     and:[jb isLoaded]) ifTrue:[
   861     and:[jb isLoaded]) ifTrue:[
   862         (myMenu subMenuAt:#classes)
   862         (myMenu subMenuAt:#classes)
   863             addLabels:(resources array:#('-' 'java browser'))
   863             addLabels:(resources array:#('-' 'Java Browser'))
   864             selectors:#(nil startJavaBrowser)
   864             selectors:#(nil startJavaBrowser)
   865             after:#startClassTreeView
   865             after:#startClassTreeView
   866     ].
   866     ].
   867 
   867 
   868     "Created: / 8.1.1997 / 14:05:44 / cg"
   868     "Created: / 8.1.1997 / 14:05:44 / cg"
   875     <resource: #programMenu>
   875     <resource: #programMenu>
   876 
   876 
   877     |m|
   877     |m|
   878 
   878 
   879     myMenu at:#demos 
   879     myMenu at:#demos 
   880 	   putLabels:(resources array:#(
   880            putLabels:(resources array:#(
   881 					'goodies'
   881                                         'Goodies'
   882 					'games'
   882                                         'Games'
   883 					'geometric designs'
   883                                         'Geometric Designs'
   884 					'simple animations'
   884                                         'Simple Animations'
   885 					'3D graphics'
   885                                         '3D Graphics'
   886 					'graphic editors'
   886                                         'Graphic Editors'
   887 				       ))
   887                                        ))
   888 	   selectors:#(
   888            selectors:#(
   889 					goodies
   889                                         goodies
   890 					games
   890                                         games
   891 					geometricDesigns
   891                                         geometricDesigns
   892 					simpleAnimations
   892                                         simpleAnimations
   893 					#'3Dgraphics'
   893                                         #'3Dgraphics'
   894 					#graphicEditors
   894                                         #graphicEditors
   895 		      )
   895                       )
   896 	   receiver:self.
   896            receiver:self.
   897 
   897 
   898     "
   898     "
   899      only to show two different ways of defining a popUpMenu,
   899      only to show two different ways of defining a popUpMenu,
   900      we use labels:selectors:receiver: here:
   900      we use labels:selectors:receiver: here:
   901     "
   901     "
   902     m := myMenu menuAt:#demos.
   902     m := myMenu menuAt:#demos.
   903     m subMenuAt:#games
   903     m subMenuAt:#games
   904       put:(PopUpMenu
   904       put:(PopUpMenu
   905 		itemList:#(
   905                 itemList:#(
   906 			   ('Tetris'                  startTetris     )
   906                            ('Tetris'                  startTetris     )
   907 			   ('Tic Tac Toe'             startTicTacToe  )
   907                            ('Tic Tac Toe'             startTicTacToe  )
   908 			   ('Tic Tac Toe (2 players)' startTicTacToe2 )
   908                            ('Tic Tac Toe (2 players)' startTicTacToe2 )
   909 			  )
   909                           )
   910 		resources:resources).
   910                 resources:resources).
   911 
   911 
   912     "
   912     "
   913      and labels:selector:args:receiver: here:
   913      and labels:selector:args:receiver: here:
   914     "
   914     "
   915     m subMenuAt:#geometricDesigns
   915     m subMenuAt:#geometricDesigns
   916       put:(PopUpMenu
   916       put:(PopUpMenu
   917 		itemList:#(
   917                 itemList:#(
   918 			   ('Pen demo'                   #openDemo:  nil PenDemo              )
   918                            ('Pen demo'                   #openDemo:  nil PenDemo              )
   919 			   ('Commander demo'             #openDemo:  nil CommanderDemo        )
   919                            ('Commander demo'             #openDemo:  nil CommanderDemo        )
   920 			   ('-'                                                               )
   920                            ('-'                                                               )
   921 			   ('Mandelbrot demo'            #openDemo:  nil ComplexIterationView )
   921                            ('Mandelbrot demo'            #openDemo:  nil ComplexIterationView )
   922 			   ('Fractal plants demo'        #openDemo:  nil FractalPlantsDemo    )
   922                            ('Fractal plants demo'        #openDemo:  nil FractalPlantsDemo    )
   923 			   ('Fractal patterns demo'      #openDemo:  nil FractalPatternsDemo  )
   923                            ('Fractal patterns demo'      #openDemo:  nil FractalPatternsDemo  )
   924 			   ('more fractal patterns demo' #openDemo:  nil ArmchairUniverseDemo )
   924                            ('more fractal patterns demo' #openDemo:  nil ArmchairUniverseDemo )
   925 			  )
   925                           )
   926 		resources:resources).
   926                 resources:resources).
   927 
   927 
   928     m subMenuAt:#simpleAnimations 
   928     m subMenuAt:#simpleAnimations 
   929       put:(PopUpMenu
   929       put:(PopUpMenu
   930 		itemList:#(
   930                 itemList:#(
   931 			   ('Animation'     #openDemo: nil Animation )
   931                            ('Animation'     #openDemo: nil Animation )
   932 			   ('Globe demo'    #openDemo: nil GlobeDemo )
   932                            ('Globe demo'    #openDemo: nil GlobeDemo )
   933 			 )
   933                          )
   934 		resources:resources).
   934                 resources:resources).
   935 
   935 
   936     m subMenuAt:#'3Dgraphics' 
   936     m subMenuAt:#'3Dgraphics' 
   937       put:(PopUpMenu
   937       put:(PopUpMenu
   938 		itemList:#( 
   938                 itemList:#( 
   939 			    ('plane'                  #openDemo:  nil  GLPlaneDemoView2      )
   939                             ('plane'                  #openDemo:  nil  GLPlaneDemoView2      )
   940 			    ('tetra'                  #openDemo:  nil  GLTetraDemoView       )
   940                             ('tetra'                  #openDemo:  nil  GLTetraDemoView       )
   941 			    ('cube (wireframe)'       #openDemo:  nil  GLWireCubeDemoView    )
   941                             ('cube (wireframe)'       #openDemo:  nil  GLWireCubeDemoView    )
   942 			    ('cube (solid)'           #openDemo:  nil  GLCubeDemoView        )
   942                             ('cube (solid)'           #openDemo:  nil  GLCubeDemoView        )
   943 			    ('sphere (wireframe)'     #openDemo:  nil  GLWireSphereDemoView  )
   943                             ('sphere (wireframe)'     #openDemo:  nil  GLWireSphereDemoView  )
   944 			    ('doughnut (wireframe)'   #openDemo:  nil  GLDoughnutDemoView    )
   944                             ('doughnut (wireframe)'   #openDemo:  nil  GLDoughnutDemoView    )
   945 			    ('planet'                 #openDemo:  nil  GLPlanetDemoView      )
   945                             ('planet'                 #openDemo:  nil  GLPlanetDemoView      )
   946 			    ('teapot'                 #openDemo:  nil  GLTeapotDemo          )
   946                             ('teapot'                 #openDemo:  nil  GLTeapotDemo          )
   947 			    ('logo'                   #openDemo:  nil  Logo3DView1           )
   947                             ('logo'                   #openDemo:  nil  Logo3DView1           )
   948 			    ('rubics cube'            #openDemo:  nil  RubicsCubeView        )
   948                             ('rubics cube'            #openDemo:  nil  RubicsCubeView        )
   949 			    ('x/y graph'              #openDemo:  nil  GLXYGraph             )
   949                             ('x/y graph'              #openDemo:  nil  GLXYGraph             )
   950 			    ('x/y graph widget'       #openDemo:  nil  #'CodingExamples_GUI::GLXYGraph3DDemo'        )
   950                             ('x/y graph widget'       #openDemo:  nil  #'CodingExamples_GUI::GLXYGraph3DDemo'        )
   951 			    ('x/y graph animated'     #openDemo:  nil  #'CodingExamples_GUI::AnimatedGLXYGraph3DDemo')
   951                             ('x/y graph animated'     #openDemo:  nil  #'CodingExamples_GUI::AnimatedGLXYGraph3DDemo')
   952 			    ('-'                                                             )
   952                             ('-'                                                             )
   953 			    ('cube (light)'           #openDemo:  nil  GLCubeDemoView2       )
   953                             ('cube (light)'           #openDemo:  nil  GLCubeDemoView2       )
   954 			    ('cube (light & texture)' #openDemo:  nil  GLBrickCubeDemoView   )
   954                             ('cube (light & texture)' #openDemo:  nil  GLBrickCubeDemoView   )
   955 			    ('sphere (light)'         #openDemo:  nil  GLSphereDemoView2     )
   955                             ('sphere (light)'         #openDemo:  nil  GLSphereDemoView2     )
   956 			    ('colored octahedron'     #openDemo:  nil  GLOctaHedronDemoView  )
   956                             ('colored octahedron'     #openDemo:  nil  GLOctaHedronDemoView  )
   957 			  )
   957                           )
   958 		resources:resources).
   958                 resources:resources).
   959 
   959 
   960     m subMenuAt:#graphicEditors 
   960     m subMenuAt:#graphicEditors 
   961       put:(PopUpMenu
   961       put:(PopUpMenu
   962 		itemList:#(
   962                 itemList:#(
   963 			   ('DrawTool'   #openDemo:  nil  DrawTool       )
   963                            ('DrawTool'   #openDemo:  nil  DrawTool       )
   964 			   ('LogicTool'  #openDemo:  nil  LogicTool      )
   964                            ('LogicTool'  #openDemo:  nil  LogicTool      )
   965 			   ('Paint Demo' #openDemo:  nil  ColorDrawDemo3 )
   965                            ('Paint Demo' #openDemo:  nil  ColorDrawDemo3 )
   966 			  )
   966                           )
   967 		resources:resources).
   967                 resources:resources).
   968 
   968 
   969     m subMenuAt:#goodies 
   969     m subMenuAt:#goodies 
   970       put:(PopUpMenu
   970       put:(PopUpMenu
   971 		itemList:#(
   971                 itemList:#(
   972 			    ('clock'          #openDemo:  nil  Clock            )
   972                             ('clock'          #openDemo:  nil  Clock            )
   973 			    ('digital clock'  #openDemo:  nil  DigitalClockView )
   973                             ('digital clock'  #openDemo:  nil  DigitalClockView )
   974 			    ('calendar'       #openDemo:  nil  Calendar         )
   974                             ('calendar'       #openDemo:  nil  Calendar         )
   975 			    ('calculator'     #openDemo:  nil  CalculatorView   )
   975                             ('calculator'     #openDemo:  nil  CalculatorView   )
   976 			    ('-'                                                )
   976                             ('-'                                                )
   977 			    ('mail tool'      #openDemo:  nil  MailView         )
   977                             ('mail tool'      #openDemo:  nil  MailView         )
   978 			    ('news tool'      #openDemo:  nil  NewsView         )
   978                             ('news tool'      #openDemo:  nil  NewsView         )
   979 			    ('ftp tool'       #openDemo:  nil  FTPTool          )
   979                             ('ftp tool'       #openDemo:  nil  FTPTool          )
   980 			    ('telnet tool'    #openDemo:  nil  TelnetTool       )
   980                             ('telnet tool'    #openDemo:  nil  TelnetTool       )
   981 			   )
   981                            )
   982 		resources:resources).
   982                 resources:resources).
   983 
   983 
   984     "Modified: / 28.7.1998 / 15:17:12 / cg"
   984     "Modified: / 28.7.1998 / 15:17:12 / cg"
   985 !
   985 !
   986 
   986 
   987 setupFileMenu
   987 setupFileMenu
   990     "setup the file- pulldown menu"
   990     "setup the file- pulldown menu"
   991 
   991 
   992     |l s|
   992     |l s|
   993 
   993 
   994     l := #(
   994     l := #(
   995 		'file browser'
   995                 'File Browser'
   996 		'-'
   996                 '-'
   997 		'modules ...'
   997                 'Modules...'
   998 		'-'
   998                 '-'
   999 		'snapshot ...'
   999                 'Snapshot...'
  1000 		'snapshot & exit ...'
  1000                 'Snapshot & Exit...'
  1001 		'exit smalltalk ...'
  1001                 'Exit Smalltalk...'
  1002 	 ).
  1002          ).
  1003     s := #(
  1003     s := #(
  1004 		#startFileBrowser
  1004                 #startFileBrowser
  1005 		nil
  1005                 nil
  1006 		#objectModuleDialog 
  1006                 #objectModuleDialog 
  1007 		nil
  1007                 nil
  1008 		#snapshot
  1008                 #snapshot
  1009 		#snapshotAndExit
  1009                 #snapshotAndExit
  1010 		#exit
  1010                 #exit
  1011 	 ).
  1011          ).
  1012 
  1012 
  1013     myMenu at:#file
  1013     myMenu at:#file
  1014 	   putLabels:(resources array:l)
  1014            putLabels:(resources array:l)
  1015 	   selectors:s
  1015            selectors:s
  1016 	   receiver:self.
  1016            receiver:self.
  1017 
  1017 
  1018     "Created: / 8.1.1997 / 14:04:15 / cg"
  1018     "Created: / 8.1.1997 / 14:04:15 / cg"
  1019     "Modified: / 29.10.1997 / 03:40:49 / cg"
  1019     "Modified: / 29.10.1997 / 03:40:49 / cg"
  1020 !
  1020 !
  1021 
  1021 
  1025     "setup the help- pulldown menu"
  1025     "setup the help- pulldown menu"
  1026 
  1026 
  1027     |l s|
  1027     |l s|
  1028 
  1028 
  1029     ActiveHelp notNil ifTrue:[
  1029     ActiveHelp notNil ifTrue:[
  1030 	l := #(
  1030         l := #(
  1031 		'what''s new'
  1031                 'What''s New'
  1032 		'index'
  1032                 'Index'
  1033 		'-'
  1033                 '-'
  1034 		'ST/X online documentation'
  1034                 'ST/X Online Documentation'
  1035 		'class documentation'
  1035                 'Class Documentation'
  1036 		'-'
  1036                 '-'
  1037 		'print documentation ...'
  1037                 'Print Documentation...'
  1038 		'-'
  1038                 '-'
  1039 		'active help \c'
  1039                 'Active Help \c'
  1040 	      ).
  1040               ).
  1041 	s := #(
  1041         s := #(
  1042 		#startWhatsNewDocumentation
  1042                 #startWhatsNewDocumentation
  1043 		#startDocumentationIndex
  1043                 #startDocumentationIndex
  1044 		nil
  1044                 nil
  1045 		#startDocumentationTool
  1045                 #startDocumentationTool
  1046 		#startClassDocumentation
  1046                 #startClassDocumentation
  1047 		nil
  1047                 nil
  1048 		#showBookPrintDocument
  1048                 #showBookPrintDocument
  1049 		nil
  1049                 nil
  1050 		#toggleActiveHelp:
  1050                 #toggleActiveHelp:
  1051 	      )
  1051               )
  1052     ] ifFalse:[
  1052     ] ifFalse:[
  1053 	l := #(
  1053         l := #(
  1054 		'what''s new'
  1054                 'what''s new'
  1055 		'index'
  1055                 'index'
  1056 		'-'
  1056                 '-'
  1057 		'ST/X online documentation'
  1057                 'ST/X online documentation'
  1058 		'class documentation'
  1058                 'class documentation'
  1059 		'-'
  1059                 '-'
  1060 		'print documentation ...'
  1060                 'print documentation ...'
  1061 	      ).
  1061               ).
  1062 	s := #(
  1062         s := #(
  1063 		#startWhatsNewDocumentation
  1063                 #startWhatsNewDocumentation
  1064 		#startDocumentationIndex
  1064                 #startDocumentationIndex
  1065 		nil
  1065                 nil
  1066 		#startDocumentationTool
  1066                 #startDocumentationTool
  1067 		#startClassDocumentation
  1067                 #startClassDocumentation
  1068 		nil
  1068                 nil
  1069 		#showBookPrintDocument
  1069                 #showBookPrintDocument
  1070 	      )
  1070               )
  1071     ].
  1071     ].
  1072 
  1072 
  1073     myMenu at:#help 
  1073     myMenu at:#help 
  1074 	   putLabels:(resources array:l)
  1074            putLabels:(resources array:l)
  1075 	   selectors:s
  1075            selectors:s
  1076 	   receiver:self.
  1076            receiver:self.
  1077 
  1077 
  1078     (ActiveHelp notNil
  1078     (ActiveHelp notNil
  1079     and:[ActiveHelp isActive]) ifTrue:[
  1079     and:[ActiveHelp isActive]) ifTrue:[
  1080 	(myMenu menuAt:#help) checkToggleAt:#toggleActiveHelp: put:true
  1080         (myMenu menuAt:#help) checkToggleAt:#toggleActiveHelp: put:true
  1081     ].
  1081     ].
  1082 
  1082 
  1083     "Created: / 8.1.1997 / 14:08:09 / cg"
  1083     "Created: / 8.1.1997 / 14:08:09 / cg"
  1084     "Modified: / 29.10.1997 / 03:40:53 / cg"
  1084     "Modified: / 29.10.1997 / 03:40:53 / cg"
  1085 !
  1085 !
  1177     "setup the projects- pulldown menu"
  1177     "setup the projects- pulldown menu"
  1178 
  1178 
  1179     <resource: #programMenu >
  1179     <resource: #programMenu >
  1180 
  1180 
  1181     myMenu at:#projects 
  1181     myMenu at:#projects 
  1182 	   putLabels:(resources array:#(
  1182            putLabels:(resources array:#(
  1183 					'new project'
  1183                                         'New Project'
  1184 					'-'
  1184                                         '-'
  1185 					'select project ...'
  1185                                         'Select Project...'
  1186 					))
  1186                                         ))
  1187 	   selectors:#(
  1187            selectors:#(
  1188 					#newProject 
  1188                                         #newProject 
  1189 					nil
  1189                                         nil
  1190 					#selectProject 
  1190                                         #selectProject 
  1191 		      )
  1191                       )
  1192 	   receiver:self.
  1192            receiver:self.
  1193 
  1193 
  1194     "Created: / 8.1.1997 / 14:06:18 / cg"
  1194     "Created: / 8.1.1997 / 14:06:18 / cg"
  1195     "Modified: / 29.10.1997 / 03:41:09 / cg"
  1195     "Modified: / 29.10.1997 / 03:41:09 / cg"
  1196 !
  1196 !
  1197 
  1197 
  1251     <resource: #programMenu>
  1251     <resource: #programMenu>
  1252 
  1252 
  1253     |m |
  1253     |m |
  1254 
  1254 
  1255     myMenu at:#tools 
  1255     myMenu at:#tools 
  1256 	   putLabels:(resources array:#(
  1256            putLabels:(resources array:#(
  1257 					'workspace'
  1257                                         'Workspace'
  1258 					'-'
  1258                                         '-'
  1259 					'GUI builder'
  1259                                         'GUI builder'
  1260 					'-'
  1260                                         '-'
  1261 					'new launcher'
  1261                                         'New Launcher'
  1262 					'-'
  1262                                         '-'
  1263 					'monitors'
  1263                                         'Monitors'
  1264 					'-'
  1264                                         '-'
  1265 					'views'
  1265                                         'Views'
  1266 					'-'
  1266                                         '-'
  1267 					'hardcopy'
  1267                                         'Hardcopy'
  1268 					'-'
  1268                                         '-'
  1269 					'misc'
  1269                                         'misc'
  1270 					))
  1270                                         ))
  1271 	   selectors:#(
  1271            selectors:#(
  1272 					#startWorkspace 
  1272                                         #startWorkspace 
  1273 					nil
  1273                                         nil
  1274 					#startGUIBuilder
  1274                                         #startGUIBuilder
  1275 					nil
  1275                                         nil
  1276 					#startNewLauncher
  1276                                         #startNewLauncher
  1277 					nil
  1277                                         nil
  1278 					#monitors
  1278                                         #monitors
  1279 					nil
  1279                                         nil
  1280 					#views
  1280                                         #views
  1281 					nil
  1281                                         nil
  1282 					#hardcopy 
  1282                                         #hardcopy 
  1283 					nil
  1283                                         nil
  1284 					#misc 
  1284                                         #misc 
  1285 		      )
  1285                       )
  1286 	   receiver:self.
  1286            receiver:self.
  1287 
  1287 
  1288 
  1288 
  1289     m := myMenu menuAt:#tools.
  1289     m := myMenu menuAt:#tools.
  1290     m subMenuAt:#monitors 
  1290     m subMenuAt:#monitors 
  1291       put:(PopUpMenu
  1291       put:(PopUpMenu
  1292 		itemList:#(
  1292                 itemList:#(
  1293 			   ('process'      #startApplication:  nil  #ProcessMonitor          )
  1293                            ('Process'      #startApplication:  nil  #ProcessMonitor          )
  1294 			   ('semaphores'   #startApplication:  nil  #SemaphoreMonitor        )
  1294                            ('Semaphores'   #startApplication:  nil  #SemaphoreMonitor        )
  1295 			   ('memory'       #startApplication:  nil  #MemoryMonitor           )
  1295                            ('Memory'       #startApplication:  nil  #MemoryMonitor           )
  1296 			   ('irq latency'  #startApplication:  nil  #InterruptLatencyMonitor )
  1296                            ('Irq Latency'  #startApplication:  nil  #InterruptLatencyMonitor )
  1297 			   ('event view'   #startApplication:  nil  #EventMonitor            )
  1297                            ('Event View'   #startApplication:  nil  #EventMonitor            )
  1298 			   ('event trace'  #startApplication:  nil  #StopEventTrace          )
  1298                            ('Event Trace'  #startApplication:  nil  #StopEventTrace          )
  1299 			   ('-'                                                              )
  1299                            ('-'                                                              )
  1300 			   ('memory usage' #startApplication:  nil  #MemoryUsageView         )
  1300                            ('Memory usage' #startApplication:  nil  #MemoryUsageView         )
  1301 			  )
  1301                           )
  1302 		resources:resources).
  1302                 resources:resources).
  1303 
  1303 
  1304     m subMenuAt:#views 
  1304     m subMenuAt:#views 
  1305       put:(PopUpMenu
  1305       put:(PopUpMenu
  1306 		itemList:#(
  1306                 itemList:#(
  1307 			   ('iconify all'           #iconifyAllWindows        )
  1307                            ('Iconify all'           #iconifyAllWindows        )
  1308 			   ('de-iconify all'        #deIconifyAllWindows      )
  1308                            ('Deiconify all'         #deIconifyAllWindows      )
  1309 			   ('-'                                               )
  1309                            ('-'                                               )
  1310 			   ('find & raise ...'      #findAndRaiseWindow       )
  1310                            ('Find & Raise...'       #findAndRaiseWindow       )
  1311 			   ('-'                                               )
  1311                            ('-'                                               )
  1312 			   ('view tree (all views)' #startFullWindowTreeView  )
  1312                            ('View Tree (all views)' #startFullWindowTreeView  )
  1313 			   ('view tree'             #startWindowTreeView      )
  1313                            ('View Tree'             #startWindowTreeView      )
  1314 			   ('-'                                               )
  1314                            ('-'                                               )
  1315 			   ('select & inspect view' #viewInspect              )
  1315                            ('Select & Inspect View' #viewInspect              )
  1316 			   ('-'                                               )
  1316                            ('-'                                               )
  1317 			   ('select & destroy view' #viewDestroy              )
  1317                            ('Select & Destroy View' #viewDestroy              )
  1318 			   ('find & destroy ...'    #findAndDestroyWindow     )
  1318                            ('Find & Destroy...'     #findAndDestroyWindow     )
  1319 			  )
  1319                           )
  1320 		resources:resources).
  1320                 resources:resources).
  1321 
  1321 
  1322     m subMenuAt:#misc 
  1322     m subMenuAt:#misc 
  1323       put:(PopUpMenu
  1323       put:(PopUpMenu
  1324 		itemList:#(
  1324                 itemList:#(
  1325 			   ('garbage collect'            #garbageCollect            )
  1325                            ('Garbage Collect'            #garbageCollect            )
  1326 			   ('garbage collect & compress' #compressingGarbageCollect )
  1326                            ('Garbage Collect & Compress' #compressingGarbageCollect )
  1327 			  )
  1327                           )
  1328 		resources:resources).
  1328                 resources:resources).
  1329 
  1329 
  1330     m subMenuAt:#hardcopy 
  1330     m subMenuAt:#hardcopy 
  1331       put:(PopUpMenu
  1331       put:(PopUpMenu
  1332 		itemList:#(
  1332                 itemList:#(
  1333 			   ('screen' #fullScreenHardcopy )
  1333                            ('Screen' #fullScreenHardcopy )
  1334 			   ('area'   #screenHardcopy     )
  1334                            ('Area'   #screenHardcopy     )
  1335 			   ('view'   #viewHardcopy       )
  1335                            ('View'   #viewHardcopy       )
  1336 			  )
  1336                           )
  1337 		resources:resources).
  1337                 resources:resources).
  1338 
  1338 
  1339     "Modified: / 31.10.1997 / 16:01:53 / cg"
  1339     "Modified: / 31.10.1997 / 16:01:53 / cg"
  1340     "Modified: / 19.12.1997 / 13:15:27 / stefan"
  1340     "Modified: / 19.12.1997 / 13:15:27 / stefan"
  1341 ! !
  1341 ! !
  1342 
  1342 
  1724 ! !
  1724 ! !
  1725 
  1725 
  1726 !Launcher class methodsFor:'documentation'!
  1726 !Launcher class methodsFor:'documentation'!
  1727 
  1727 
  1728 version
  1728 version
  1729     ^ '$Header: /cvs/stx/stx/libtool/Launcher.st,v 1.405 2002-05-06 06:05:46 cg Exp $'
  1729     ^ '$Header: /cvs/stx/stx/libtool/Launcher.st,v 1.406 2004-03-12 22:50:40 cg Exp $'
  1730 ! !
  1730 ! !