[squeak-dev] The Trunk: Tools-cmm.600.mcz

Chris Muller asqueaker at gmail.com
Wed Apr 22 01:20:55 UTC 2015


I'm aware I broke the category updating I'll fix that.

On Tue, Apr 21, 2015 at 5:02 PM,  <commits at source.squeak.org> 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 at 0 corner: 1.0 at 0) offsets: (0 at 0 corner: 0 at 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 at 0 corner: 0.666 at max) offsets: (0 at catPaneHeight corner: 0 at 0)) -> [self buildMessageCategoryListWith: builder].
>                 (LayoutFrame fractions: (0.666 at 0 corner: 1 at max) offsets: (0 at catPaneHeight corner: 0 at 0)) -> [self buildMessageListWith: builder].
>                 (0 at max corner: 1 at 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!
>
>


More information about the Squeak-dev mailing list