269 #(#MenuItem |
272 #(#MenuItem |
270 #'label:' 'class && method ...' |
273 #'label:' 'class && method ...' |
271 #'value:' #defineClassAndSelector |
274 #'value:' #defineClassAndSelector |
272 ) |
275 ) |
273 #(#MenuItem |
276 #(#MenuItem |
274 #'label:' 'install spec' |
277 #'label:' '=' |
|
278 ) |
|
279 #(#MenuItem |
|
280 #'label:' 'install window spec.' |
275 #'value:' #doInstallSpec |
281 #'value:' #doInstallSpec |
276 ) |
282 ) |
277 #(#MenuItem |
283 #(#MenuItem |
278 #'label:' 'install help spec' |
284 #'label:' 'install help spec.' |
279 #'value:' #doInstallHelp |
285 #'value:' #doInstallHelp |
280 ) |
286 ) |
281 #(#MenuItem |
287 #(#MenuItem |
282 #'label:' 'install aspects' |
288 #'label:' 'install aspects' |
283 #'value:' #doInstallAspects |
289 #'value:' #doInstallAspects |
284 ) |
290 ) |
285 #(#MenuItem |
291 #(#MenuItem |
286 #'label:' 'show windowSpec' |
292 #'label:' '=' |
|
293 ) |
|
294 #(#MenuItem |
|
295 #'label:' 'show window spec.' |
287 #'value:' #doWindowSpec |
296 #'value:' #doWindowSpec |
288 ) |
297 ) |
289 #(#MenuItem |
298 #(#MenuItem |
|
299 #'label:' '=' |
|
300 ) |
|
301 #(#MenuItem |
290 #'label:' 'browse application' |
302 #'label:' 'browse application' |
291 #'value:' #doBrowseAppClass |
303 #'value:' #doBrowseAppClass |
292 ) |
304 ) |
293 #(#MenuItem |
305 #(#MenuItem |
294 #'label:' 'start application' |
306 #'label:' 'start application' |
295 #'value:' #doStartApplication |
307 #'value:' #doStartApplication |
296 ) |
308 ) |
297 ) |
309 ) |
298 #( 1 3 1) |
310 #( 4 ) |
299 nil |
311 nil |
300 ) |
312 ) |
301 ) |
313 ) |
302 #(#MenuItem |
314 #(#MenuItem |
303 #'label:' 'test' |
315 #'label:' 'test' |
692 |
702 |
693 specClass notNil ifTrue:[ |
703 specClass notNil ifTrue:[ |
694 specClass isBehavior ifFalse:[cls := Smalltalk at:specClass asSymbol] |
704 specClass isBehavior ifFalse:[cls := Smalltalk at:specClass asSymbol] |
695 ifTrue:[cls := specClass]. |
705 ifTrue:[cls := specClass]. |
696 |
706 |
697 (cls isSubclassOf:UISpecification) ifTrue:[ |
707 (cls includesBehavior:UISpecification) ifTrue:[ |
698 cls := UISpecificationTool |
708 cls := UISpecificationTool |
699 ] |
709 ] |
700 ]. |
710 ]. |
701 ^ cls |
711 ^ cls |
702 ! |
712 ! |