360 |
360 |
361 "Created: 20.6.1997 / 17:18:14 / cg" |
361 "Created: 20.6.1997 / 17:18:14 / cg" |
362 "Modified: 20.6.1997 / 17:18:26 / cg" |
362 "Modified: 20.6.1997 / 17:18:26 / cg" |
363 ! |
363 ! |
364 |
364 |
365 isStartableWithMain |
365 rename:newName |
366 "return true, if this is an application class, |
366 "same as renameTo: - for ST80 compatibility" |
367 which can be started via #main" |
367 |
368 |
368 ^ Smalltalk renameClass:self to:newName. |
369 ^ self theMetaclass includesSelector:#main |
369 "/ ^ self renameTo:newName |
370 |
370 |
371 "Created: / 2.11.2001 / 09:37:01 / cg" |
371 "Created: / 18.6.1998 / 22:08:45 / cg" |
372 "Modified: / 2.11.2001 / 09:48:05 / cg" |
372 ! ! |
373 ! |
373 |
|
374 !Class methodsFor:'Compatibility - VW'! |
374 |
375 |
375 isVisualStartable |
376 isVisualStartable |
376 "return true, if this is an application class, |
377 "return true, if this is an application class, |
377 which can be started via #open" |
378 which can be started via #open" |
378 |
379 |
379 ^ false |
380 ^ false |
380 |
381 |
381 "Created: / 27.10.1997 / 16:42:05 / cg" |
382 "Created: / 27.10.1997 / 16:42:05 / cg" |
382 ! |
|
383 |
|
384 rename:newName |
|
385 "same as renameTo: - for ST80 compatibility" |
|
386 |
|
387 ^ Smalltalk renameClass:self to:newName. |
|
388 "/ ^ self renameTo:newName |
|
389 |
|
390 "Created: / 18.6.1998 / 22:08:45 / cg" |
|
391 ! ! |
383 ! ! |
392 |
384 |
393 !Class methodsFor:'accessing'! |
385 !Class methodsFor:'accessing'! |
394 |
386 |
395 addClassVarName:aString |
387 addClassVarName:aString |