Saturday, March 12, 2005

Personal Menu for Squeak


Things I like to have on my Personal Menu in Squeak...


|spaceTallyPath|
spaceTallyPath := FileDirectory default
fullPathFor: 'STSpace.text'.
aMenu addLine.
aMenu add: 'SpaceTally [', spaceTallyPath, ']' translated
target: SpaceTally new
action: #printSpaceAnalysis.
aMenu add: 'Empty Trash Can' translated
target: Utilities
action: #emptyScrapsBook.
aMenu add: 'Clear Command History'
target: CommandHistory
action: #resetAllHistory.
aMenu add: 'Collect Garbage'
target: Smalltalk
action: #garbageCollect.
aMenu add: 'Flush MC Caches (follow this with a GC)'
target: MCFileBasedRepository
action: #flushAllCaches.


PersonalMenu

1 Comments:

Blogger Jason Rogers said...

another good one is

aMenu
add: 'Flush MC Caches (follow this with a GC)'
target: MCFileBasedRepository
action: #flushAllCaches.

5/03/2005 07:40:00 AM  

Post a Comment

<< Home