File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,28 +26,28 @@ OPIcons class >> iconSelectors [
2626 ^ self class selectorsInCategory: ' accessing - icons'
2727]
2828
29- { #category : ' GT-InspectorExtensions ' }
30- OPIcons class >> inspectionIcons [
29+ { #category : ' as yet unclassified ' }
30+ OPIcons class >> inspectionIcons: aBuilder [
3131
3232 < inspectorPresentationOrder: 40 title: ' Icons' >
3333 < script: ' self inspect' >
3434 | selectorsByForms |
35- selectorsByForms := (self iconSelectors collect: [ :each |
36- ([ self perform: each ]
37- on: Deprecation
38- do: #resume ) - > each ]) asDictionary.
39- ^ SpTablePresenter new
35+ selectorsByForms := (self iconSelectors collect: [ :each |
36+ ([ self perform: each ]
37+ on: Deprecation
38+ do: #resume ) - > each ]) asDictionary.
39+ ^ aBuilder newTable
4040 items:
41- (selectorsByForms keys sortedAs: [ :each |
41+ (selectorsByForms keys sortedAs: [ :each |
4242 selectorsByForms at: each ]);
4343 addColumn: (SpImageTableColumn new
4444 title: ' Icon' ;
45- evaluated: [ :each |
46- [
47- each scaledToSize:
48- (50 min: each width) @ (16 min: each height) ]
49- on: Deprecation
50- do: #resume ];
45+ evaluated: [ :each |
46+ [
47+ each scaledToSize:
48+ (50 min: each width) @ (16 min: each height) ]
49+ on: Deprecation
50+ do: #resume ];
5151 width: 50 ;
5252 yourself );
5353 addColumn: (SpStringTableColumn new
Original file line number Diff line number Diff line change @@ -148,14 +148,14 @@ OPProject >> initialize [
148148 name whenChangedDo: [ dirty value: true ]
149149]
150150
151- { #category : ' inspecting ' }
152- OPProject >> inspectionItems [
151+ { #category : ' as yet unclassified ' }
152+ OPProject >> inspectionItems: aBuilder [
153153
154154 < inspectorPresentationOrder: 100 title: ' Models and Diagrams' >
155155 | diagramsByModels |
156156 diagramsByModels := self modelsAndDiagrams.
157157
158- ^ SpTreePresenter new
158+ ^ aBuilder newTree
159159 roots: diagramsByModels keys;
160160 children: [ :each | diagramsByModels at: each ifAbsent: [ #( ) ] ];
161161 display: #name ;
You can’t perform that action at this time.
0 commit comments