[Pkg] The Trunk: Tools-topa.561.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Mar 26 21:33:22 UTC 2015


Tobias Pape uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-topa.561.mcz

==================== Summary ====================

Name: Tools-topa.561
Author: topa
Time: 26 March 2015, 10:32:58.963 pm
UUID: 8a72e1f6-c1ad-45fe-bfe8-795e027af8fd
Ancestors: Tools-topa.560

Split the 'more...' entry for class list menus, too.

=============== Diff against Tools-topa.560 ===============

Item was changed:
  ----- Method: Browser>>classListMenu: (in category 'class functions') -----
  classListMenu: aMenu 
  	"Conveniently fit for backward compatibility with old browers stored in image segments"
  	<classListMenuShifted: false>
  	aMenu addList: #(
  		-
  		('browse full (b)'			browseMethodFull)
  		('browse hierarchy (h)'		spawnHierarchy)
  		('browse protocol (p)'		browseFullProtocol)
  		-
  		('printOut'					printOutClass)
  		('fileOut'					fileOutClass)
  		-
  		('show hierarchy'			hierarchy)
  		('show definition'			editClass)
  		('show comment'			editComment)
  		-
  		('references... (r)'			browseVariableReferences)
  		('assignments... (a)'			browseVariableAssignments)
  		('class refs (N)'				browseClassRefs)
  		-
  		('rename class ...'			renameClass)
  		('copy class'				copyClass)
  		('remove class (x)'			removeClass)
  		-
+ 		('find method...'				findMethod)).
- 		('find method...'				findMethod)
- 		-
- 		('more...'					offerShiftedClassListMenu)).
  	^ aMenu
  !

Item was added:
+ ----- Method: Browser>>classListMenuMore: (in category 'class functions') -----
+ classListMenuMore: aMenu 
+ 	" The 'more..' link that toggles between shifted and unshifted menus
+ 	in class lists "
+ 	<classListMenuShifted: false>
+ 	<menuPriority: 1000>
+ 	^ aMenu addList: #(- ('more...'	offerShiftedClassListMenu)); yourself
+ !

Item was changed:
  ----- Method: Browser>>shiftedClassListMenu: (in category 'class functions') -----
  shiftedClassListMenu: aMenu
  	<classListMenuShifted: true>
  	"Set up the menu to apply to the receiver's class list when the shift key is down"
  
  	^ aMenu addList: #(
  			-
  			('unsent methods'			browseUnusedMethods	'browse all methods defined by this class that have no senders')
  			('unreferenced inst vars'	showUnreferencedInstVars	'show a list of all instance variables that are not referenced in methods')
  			('unreferenced class vars'	showUnreferencedClassVars	'show a list of all class variables that are not referenced in methods')
  			('subclass template'			makeNewSubclass		'put a template into the code pane for defining of a subclass of this class')
  			-
  			('sample instance'			makeSampleInstance		'give me a sample instance of this class, if possible')
  			('inspect instances'			inspectInstances			'open an inspector on all the extant instances of this class')
  			('inspect subinstances'		inspectSubInstances		'open an inspector on all the extant instances of this class and of all of its subclasses')
  			-
  			('add all meths to current chgs'		addAllMethodsToCurrentChangeSet
  																'place all the methods defined by this class into the current change set')
+ 			('create inst var accessors'	createInstVarAccessors	'compile instance-variable access methods for any instance variables that do not yet have them'));
+ 			yourself!
- 			('create inst var accessors'	createInstVarAccessors	'compile instance-variable access methods for any instance variables that do not yet have them')
- 			-
- 			('more...'					offerUnshiftedClassListMenu	'return to the standard class-list menu'))!

Item was added:
+ ----- Method: Browser>>shiftedClassListMenuMore: (in category 'class functions') -----
+ shiftedClassListMenuMore: aMenu
+ 	" The 'more..' link that toggles between unshifted and shifted menus
+ 	in class lists "
+ 	<classListMenuShifted: true>
+ 	<menuPriority: 1000>
+ 	^ aMenu addList: #(-
+ 			('more...' offerUnshiftedClassListMenu 'return to the standard class-list menu'));
+ 		yourself!



More information about the Packages mailing list