Chris Muller uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-cmm.600.mcz ==================== Summary ==================== Name: Tools-cmm.600 Author: cmm Time: 21 April 2015, 5:02:35.544 pm UUID: a9eeca1f-78a9-4804-9bdc-36f21b398a51 Ancestors: Tools-mt.599 HierarchyBrowser cannot support the menu of the one-line category "list". Let the new layout frame play nicely with the horizontal smart-splitter algorithm. =============== Diff against Tools-mt.599 =============== Item was changed: ----- Method: Browser>>openSystemCatEditString: (in category 'initialize-release') ----- openSystemCatEditString: aString "Create a pluggable version of all the views for a Browser, including views and controllers. The top list view is of the currently selected system class category--a single item list." "Example: Browser new browseAllClasses. " | builder catPaneHeight max | + catPaneHeight := Preferences standardListFont height + 5 "top margin/border" + 5 "bottom margin/border". - catPaneHeight := Preferences standardListFont height + 3 "top margin/border" + 3 "bottom margin/border". builder := ToolBuilder default. max := self wantsOptionalButtons ifTrue:[0.32] ifFalse:[0.4]. ^self buildWindowWith: builder specs: { (LayoutFrame fractions: (0@0 corner: 1.0@0) offsets: (0@0 corner: 0@catPaneHeight)) -> [self buildSystemCatListSingletonWith: builder]. ((self classListFrame: max fromTop: 0 fromLeft: 0 width: 0.333) topOffset: catPaneHeight) -> [self buildClassListWith: builder]. (self switchesFrame: max fromLeft: 0 width: 0.333) -> [self buildSwitchesWith: builder]. (LayoutFrame fractions: (0.333@0 corner: 0.666@max) offsets: (0@catPaneHeight corner: 0@0)) -> [self buildMessageCategoryListWith: builder]. (LayoutFrame fractions: (0.666@0 corner: 1@max) offsets: (0@catPaneHeight corner: 0@0)) -> [self buildMessageListWith: builder]. (0@max corner: 1@1) -> [self buildCodePaneWith: builder]. }! Item was added: + ----- Method: HierarchyBrowser>>buildSystemCatListSingletonWith: (in category 'toolbuilder') ----- + buildSystemCatListSingletonWith: aToolBuilder + ^ aToolBuilder pluggableInputFieldSpec new + model: self ; + getText: #selectedSystemCategoryName ; + setText: nil ; + yourself! |
I'm aware I broke the category updating I'll fix that.
On Tue, Apr 21, 2015 at 5:02 PM, <[hidden email]> wrote: > Chris Muller uploaded a new version of Tools to project The Trunk: > http://source.squeak.org/trunk/Tools-cmm.600.mcz > > ==================== Summary ==================== > > Name: Tools-cmm.600 > Author: cmm > Time: 21 April 2015, 5:02:35.544 pm > UUID: a9eeca1f-78a9-4804-9bdc-36f21b398a51 > Ancestors: Tools-mt.599 > > HierarchyBrowser cannot support the menu of the one-line category "list". Let the new layout frame play nicely with the horizontal smart-splitter algorithm. > > =============== Diff against Tools-mt.599 =============== > > Item was changed: > ----- Method: Browser>>openSystemCatEditString: (in category 'initialize-release') ----- > openSystemCatEditString: aString > "Create a pluggable version of all the views for a Browser, including views and controllers. The top list view is of the currently selected system class category--a single item list." > "Example: > Browser new browseAllClasses. > " > | builder catPaneHeight max | > + catPaneHeight := Preferences standardListFont height + 5 "top margin/border" + 5 "bottom margin/border". > - catPaneHeight := Preferences standardListFont height + 3 "top margin/border" + 3 "bottom margin/border". > builder := ToolBuilder default. > max := self wantsOptionalButtons ifTrue:[0.32] ifFalse:[0.4]. > ^self buildWindowWith: builder specs: { > (LayoutFrame fractions: (0@0 corner: 1.0@0) offsets: (0@0 corner: 0@catPaneHeight)) -> [self buildSystemCatListSingletonWith: builder]. > ((self classListFrame: max fromTop: 0 fromLeft: 0 width: 0.333) > topOffset: catPaneHeight) -> [self buildClassListWith: builder]. > (self switchesFrame: max fromLeft: 0 width: 0.333) -> [self buildSwitchesWith: builder]. > (LayoutFrame fractions: (0.333@0 corner: 0.666@max) offsets: (0@catPaneHeight corner: 0@0)) -> [self buildMessageCategoryListWith: builder]. > (LayoutFrame fractions: (0.666@0 corner: 1@max) offsets: (0@catPaneHeight corner: 0@0)) -> [self buildMessageListWith: builder]. > (0@max corner: 1@1) -> [self buildCodePaneWith: builder]. > }! > > Item was added: > + ----- Method: HierarchyBrowser>>buildSystemCatListSingletonWith: (in category 'toolbuilder') ----- > + buildSystemCatListSingletonWith: aToolBuilder > + ^ aToolBuilder pluggableInputFieldSpec new > + model: self ; > + getText: #selectedSystemCategoryName ; > + setText: nil ; > + yourself! > > |
Free forum by Nabble | Edit this page |