ImageEditor.st
changeset 3838 403172bbe664
parent 3837 a1b6dd87aba4
equal deleted inserted replaced
3837:a1b6dd87aba4 3838:403172bbe664
    12 "{ Package: 'stx:libtool2' }"
    12 "{ Package: 'stx:libtool2' }"
    13 
    13 
    14 "{ NameSpace: Smalltalk }"
    14 "{ NameSpace: Smalltalk }"
    15 
    15 
    16 ResourceSpecEditor subclass:#ImageEditor
    16 ResourceSpecEditor subclass:#ImageEditor
    17         instanceVariableNames:'imageEditView colorMapMode editMode mouseKeyColorMode
    17 	instanceVariableNames:'imageEditView colorMapMode editMode mouseKeyColorMode
    18                 selectedColorIndex postOpenAction imageSeqNr drawingColormap
    18 		selectedColorIndex postOpenAction imageSeqNr drawingColormap
    19                 lastShiftUsedWrap lastGrabbedScreenArea
    19 		lastShiftUsedWrap lastGrabbedScreenArea
    20                 allowedToChangeImageDimensionAndDepth savedImage savedFile'
    20 		allowedToChangeImageDimensionAndDepth savedImage savedFile'
    21         classVariableNames:'DefaultRelativeSizes LastColormapMode LastDirectory
    21 	classVariableNames:'DefaultRelativeSizes LastColormapMode LastDirectory
    22                 LastSizeString LastURL MaskClipboard LastDepth
    22 		LastSizeString LastURL MaskClipboard LastDepth
    23                 LastNumThresholdGrayColors LastMagnifyTo LastMagnifyBy
    23 		LastNumThresholdGrayColors LastMagnifyTo LastMagnifyBy
    24                 LastMagnifySmoothing'
    24 		LastMagnifySmoothing'
    25         poolDictionaries:''
    25 	poolDictionaries:''
    26         category:'Interface-UIPainter'
    26 	category:'Interface-UIPainter'
    27 !
    27 !
    28 
    28 
    29 !ImageEditor class methodsFor:'documentation'!
    29 !ImageEditor class methodsFor:'documentation'!
    30 
    30 
    31 copyright
    31 copyright
  2488     <resource: #canvas>
  2488     <resource: #canvas>
  2489 
  2489 
  2490     ^ 
  2490     ^ 
  2491     #(FullSpec
  2491     #(FullSpec
  2492        name: windowSpec
  2492        name: windowSpec
  2493        uuid: 'ea3a8340-1e4a-11b2-83b1-485b39758412'
  2493        uuid: '8aeadbb6-3a4a-11ea-a4b6-10ddb1cc5928'
  2494        window: 
  2494        window: 
  2495       (WindowSpec
  2495       (WindowSpec
  2496          label: 'Image Editor'
  2496          label: 'Image Editor'
  2497          name: 'Image Editor'
  2497          name: 'Image Editor'
  2498          uuid: 'ea3a8bec-1e4a-11b2-83b1-485b39758412'
  2498          uuid: 'ea3a8bec-1e4a-11b2-83b1-485b39758412'
  2499          min: (Point 800 400)
  2499          min: (Point 100 100) bounds: (Rectangle 0 0 800 446) menu: menu
  2500          bounds: (Rectangle 0 0 800 446)
       
  2501          menu: menu
       
  2502          icon: defaultIcon
  2500          icon: defaultIcon
  2503        )
  2501       ) component: 
  2504        component: 
       
  2505       (SpecCollection
  2502       (SpecCollection
  2506          collection: (
  2503          collection: (
  2507           (MenuPanelSpec
  2504           (MenuPanelSpec
  2508              name: 'menuToolbarView'
  2505              name: 'menuToolbarView'
  2509              layout: (LayoutFrame 0 0.0 0 0 0 1.0 32 0)
  2506              layout: (LayoutFrame 0 0.0 0 0 0 1.0 32 0) style: (FontDescription helvetica medium roman 10 #'iso10646-1' nil nil) uuid: 'ea3a98c6-1e4a-11b2-83b1-485b39758412'
  2510              style: (FontDescription helvetica medium roman 10 #'iso10646-1' nil nil)
       
  2511              uuid: 'ea3a98c6-1e4a-11b2-83b1-485b39758412'
       
  2512              menu: menuToolbar
  2507              menu: menuToolbar
  2513            )
  2508           )
  2514           (VariableHorizontalPanelSpec
  2509           (VariableHorizontalPanelSpec
  2515              name: 'mainPanel'
  2510              name: 'mainPanel'
  2516              layout: (LayoutFrame 0 0.0 34 0.0 0 1.0 -26 1.0)
  2511              layout: (LayoutFrame 0 0.0 34 0.0 0 1.0 -26 1.0) uuid: 'ea3a9eca-1e4a-11b2-83b1-485b39758412'
  2517              uuid: 'ea3a9eca-1e4a-11b2-83b1-485b39758412'
       
  2518              snapMode: both
  2512              snapMode: both
  2519              barLevel: 0
  2513              barLevel: 0
  2520              component: 
  2514              component: 
  2521             (SpecCollection
  2515             (SpecCollection
  2522                collection: (
  2516                collection: (
  2527                    component: 
  2521                    component: 
  2528                   (SpecCollection
  2522                   (SpecCollection
  2529                      collection: (
  2523                      collection: (
  2530                       (VariableVerticalPanelSpec
  2524                       (VariableVerticalPanelSpec
  2531                          name: 'verticalPanel'
  2525                          name: 'verticalPanel'
  2532                          layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
  2526                          layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) uuid: 'ea3aa672-1e4a-11b2-83b1-485b39758412'
  2533                          uuid: 'ea3aa672-1e4a-11b2-83b1-485b39758412'
       
  2534                          level: 0
  2527                          level: 0
  2535                          snapMode: both
  2528                          snapMode: both
  2536                          component: 
  2529                          component: 
  2537                         (SpecCollection
  2530                         (SpecCollection
  2538                            collection: (
  2531                            collection: (
  2542                                component: 
  2535                                component: 
  2543                               (SpecCollection
  2536                               (SpecCollection
  2544                                  collection: (
  2537                                  collection: (
  2545                                   (TabViewSpec
  2538                                   (TabViewSpec
  2546                                      name: 'TabHeader1'
  2539                                      name: 'TabHeader1'
  2547                                      layout: (LayoutFrame 0 0 0 0 0 1 36 0)
  2540                                      layout: (LayoutFrame 0 0 0 0 0 1 36 0) uuid: 'ea3aab9a-1e4a-11b2-83b1-485b39758412'
  2548                                      uuid: 'ea3aab9a-1e4a-11b2-83b1-485b39758412'
       
  2549                                      model: colorCropTabSelectionIndexHolder
  2541                                      model: colorCropTabSelectionIndexHolder
  2550                                      menu: colorCropTabLabelList
  2542                                      menu: colorCropTabLabelList
  2551                                      useIndex: true
  2543                                      useIndex: true
  2552                                      translateLabel: true
  2544                                      translateLabel: true
  2553                                    )
  2545                                   )
  2554                                   (ViewSpec
  2546                                   (ViewSpec
  2555                                      name: 'ColorBox'
  2547                                      name: 'ColorBox'
  2556                                      layout: (LayoutFrame 0 0 36 0 0 1 0 1)
  2548                                      layout: (LayoutFrame 0 0 36 0 0 1 0 1) uuid: 'ea3ab0ae-1e4a-11b2-83b1-485b39758412'
  2557                                      uuid: 'ea3ab0ae-1e4a-11b2-83b1-485b39758412'
       
  2558                                      visibilityChannel: colorBoxVisibleHolder
  2549                                      visibilityChannel: colorBoxVisibleHolder
  2559                                      component: 
  2550                                      component: 
  2560                                     (SpecCollection
  2551                                     (SpecCollection
  2561                                        collection: (
  2552                                        collection: (
  2562                                         (MenuPanelSpec
  2553                                         (MenuPanelSpec
  2563                                            name: 'MouseButtonColorToolBar'
  2554                                            name: 'MouseButtonColorToolBar'
  2564                                            layout: (LayoutFrame 0 0.0 0 0 0 1.0 24 0)
  2555                                            layout: (LayoutFrame 0 0.0 0 0 0 1.0 24 0) uuid: 'ea3ab2d4-1e4a-11b2-83b1-485b39758412'
  2565                                            uuid: 'ea3ab2d4-1e4a-11b2-83b1-485b39758412'
       
  2566                                            level: 0
  2556                                            level: 0
  2567                                            menu: menuMouseButtonColors
  2557                                            menu: menuMouseButtonColors
  2568                                          )
  2558                                         )
  2569                                         (LabelSpec
  2559                                         (LabelSpec
  2570                                            label: 'Label'
  2560                                            label: 'Label'
  2571                                            name: 'Label1'
  2561                                            name: 'Label1'
  2572                                            layout: (LayoutFrame -160 1 0 0 -104 1 22 0)
  2562                                            layout: (LayoutFrame -160 1 0 0 -104 1 22 0) activeHelpKey: drawingAlpha
  2573                                            activeHelpKey: drawingAlpha
       
  2574                                            uuid: 'ea3ab590-1e4a-11b2-83b1-485b39758412'
  2563                                            uuid: 'ea3ab590-1e4a-11b2-83b1-485b39758412'
  2575                                            visibilityChannel: alphaVisibleHolder
  2564                                            visibilityChannel: alphaVisibleHolder
  2576                                            translateLabel: true
  2565                                            translateLabel: true
  2577                                            labelChannel: alphaText
  2566                                            labelChannel: alphaText
  2578                                          )
  2567                                         )
  2579                                         (InputFieldSpec
  2568                                         (InputFieldSpec
  2580                                            name: 'EntryField1'
  2569                                            name: 'EntryField1'
  2581                                            layout: (LayoutFrame -106 1 2 0 -56 1 22 0)
  2570                                            layout: (LayoutFrame -106 1 2 0 -56 1 22 0) activeHelpKey: drawingAlpha
  2582                                            activeHelpKey: drawingAlpha
       
  2583                                            uuid: 'ea3aba90-1e4a-11b2-83b1-485b39758412'
  2571                                            uuid: 'ea3aba90-1e4a-11b2-83b1-485b39758412'
  2584                                            visibilityChannel: alphaVisibleHolder
  2572                                            visibilityChannel: alphaVisibleHolder
  2585                                            model: alphaHolder
  2573                                            model: alphaHolder
  2586                                            type: numberInRange
  2574                                            type: numberInRange
  2587                                            acceptOnReturn: true
  2575                                            acceptOnReturn: true
  2588                                            acceptOnTab: true
  2576                                            acceptOnTab: true
  2589                                            numChars: 3
  2577                                            numChars: 3
  2590                                            minValue: 0
  2578                                            minValue: 0
  2591                                            maxValue: 100
  2579                                            maxValue: 100
  2592                                            acceptOnPointerLeave: true
  2580                                            acceptOnPointerLeave: true
  2593                                          )
  2581                                         )
  2594                                         (ViewSpec
  2582                                         (ViewSpec
  2595                                            name: 'Box1'
  2583                                            name: 'Box1'
  2596                                            layout: (LayoutFrame -40 1.0 4 0 -26 1.0 18 0)
  2584                                            layout: (LayoutFrame -40 1.0 4 0 -26 1.0 18 0) activeHelpKey: drawingColor1
  2597                                            activeHelpKey: drawingColor1
       
  2598                                            uuid: 'ea3ac1c0-1e4a-11b2-83b1-485b39758412'
  2585                                            uuid: 'ea3ac1c0-1e4a-11b2-83b1-485b39758412'
  2599                                            level: -1
  2586                                            level: -1
  2600                                            backgroundChannel: drawingColor1Holder
  2587                                            backgroundChannel: drawingColor1Holder
  2601                                          )
  2588                                         )
  2602                                         (ViewSpec
  2589                                         (ViewSpec
  2603                                            name: 'Box2'
  2590                                            name: 'Box2'
  2604                                            layout: (LayoutFrame -25 1.0 4 0 -11 1.0 18 0)
  2591                                            layout: (LayoutFrame -25 1.0 4 0 -11 1.0 18 0) activeHelpKey: drawingColor2
  2605                                            activeHelpKey: drawingColor2
       
  2606                                            uuid: 'ea3ac418-1e4a-11b2-83b1-485b39758412'
  2592                                            uuid: 'ea3ac418-1e4a-11b2-83b1-485b39758412'
  2607                                            level: -1
  2593                                            level: -1
  2608                                            backgroundChannel: drawingColor2Holder
  2594                                            backgroundChannel: drawingColor2Holder
  2609                                          )
  2595                                         )
  2610                                         (DataSetSpec
  2596                                         (DataSetSpec
  2611                                            name: 'colorDataSetView'
  2597                                            name: 'colorDataSetView'
  2612                                            layout: (LayoutFrame 0 0.0 26 0.0 0 1.0 0 1.0)
  2598                                            layout: (LayoutFrame 0 0.0 26 0.0 0 1.0 0 1.0) activeHelpKey: colorMapTable
  2613                                            activeHelpKey: colorMapTable
  2599                                            style: (FontDescription helvetica medium roman 10 #'iso10646-1' nil nil) uuid: 'ea3ac652-1e4a-11b2-83b1-485b39758412'
  2614                                            style: (FontDescription helvetica medium roman 10 #'iso10646-1' nil nil)
       
  2615                                            uuid: 'ea3ac652-1e4a-11b2-83b1-485b39758412'
       
  2616                                            model: selectedColors
  2600                                            model: selectedColors
  2617                                            menu: colorMapMenuHolder
  2601                                            menu: colorMapMenuHolder
  2618                                            hasHorizontalScrollBar: true
  2602                                            hasHorizontalScrollBar: true
  2619                                            hasVerticalScrollBar: true
  2603                                            hasVerticalScrollBar: true
  2620                                            miniScrollerHorizontal: true
  2604                                            miniScrollerHorizontal: true
  2624                                            doubleClickSelector: doubleClickOnColor:
  2608                                            doubleClickSelector: doubleClickOnColor:
  2625                                            columnHolder: colorTableColumns
  2609                                            columnHolder: colorTableColumns
  2626                                            multipleSelectOk: true
  2610                                            multipleSelectOk: true
  2627                                            verticalSpacing: 1
  2611                                            verticalSpacing: 1
  2628                                            columnAdaptor: colorColumnAdaptor
  2612                                            columnAdaptor: colorColumnAdaptor
  2629                                          )
       
  2630                                         )
  2613                                         )
  2631                                       
  2614                                       )
  2632                                      )
  2615                                     )
  2633                                    )
  2616                                   )
  2634                                   (ViewSpec
  2617                                   (ViewSpec
  2635                                      name: 'FloodFillBox'
  2618                                      name: 'FloodFillBox'
  2636                                      layout: (LayoutFrame 0 0 36 0 0 1 0 1)
  2619                                      layout: (LayoutFrame 0 0 36 0 0 1 0 1) uuid: 'ea3acfda-1e4a-11b2-83b1-485b39758412'
  2637                                      uuid: 'ea3acfda-1e4a-11b2-83b1-485b39758412'
       
  2638                                      visibilityChannel: floodFillBoxVisibleHolder
  2620                                      visibilityChannel: floodFillBoxVisibleHolder
  2639                                      component: 
  2621                                      component: 
  2640                                     (SpecCollection
  2622                                     (SpecCollection
  2641                                        collection: (
  2623                                        collection: (
  2642                                         (UISubSpecification
  2624                                         (UISubSpecification
  2643                                            name: 'SubSpecification2'
  2625                                            name: 'SubSpecification2'
  2644                                            layout: (LayoutFrame 0 0 0 0 0 1 0 1)
  2626                                            layout: (LayoutFrame 0 0 0 0 0 1 0 1) uuid: 'ea3ad21e-1e4a-11b2-83b1-485b39758412'
  2645                                            uuid: 'ea3ad21e-1e4a-11b2-83b1-485b39758412'
       
  2646                                            minorKey: floodFillToleranceSpec
  2627                                            minorKey: floodFillToleranceSpec
  2647                                          )
       
  2648                                         )
  2628                                         )
  2649                                       
  2629                                       )
  2650                                      )
  2630                                     )
  2651                                    )
  2631                                   )
  2652                                   (ViewSpec
  2632                                   (ViewSpec
  2653                                      name: 'CropBox'
  2633                                      name: 'CropBox'
  2654                                      layout: (LayoutFrame 0 0 36 0 0 1 0 1)
  2634                                      layout: (LayoutFrame 0 0 36 0 0 1 0 1) uuid: 'ea3ad552-1e4a-11b2-83b1-485b39758412'
  2655                                      uuid: 'ea3ad552-1e4a-11b2-83b1-485b39758412'
       
  2656                                      visibilityChannel: cropBoxVisibleHolder
  2635                                      visibilityChannel: cropBoxVisibleHolder
  2657                                      component: 
  2636                                      component: 
  2658                                     (SpecCollection
  2637                                     (SpecCollection
  2659                                        collection: (
  2638                                        collection: (
  2660                                         (UISubSpecification
  2639                                         (UISubSpecification
  2661                                            name: 'SubSpecification1'
  2640                                            name: 'SubSpecification1'
  2662                                            layout: (LayoutFrame 0 0 0 0 0 1 0 1)
  2641                                            layout: (LayoutFrame 0 0 0 0 0 1 0 1) uuid: 'ea3ad76e-1e4a-11b2-83b1-485b39758412'
  2663                                            uuid: 'ea3ad76e-1e4a-11b2-83b1-485b39758412'
       
  2664                                            minorKey: cropSpec
  2642                                            minorKey: cropSpec
  2665                                          )
       
  2666                                         )
  2643                                         )
  2667                                       
  2644                                       )
  2668                                      )
  2645                                     )
  2669                                    )
       
  2670                                   )
  2646                                   )
  2671                                 
  2647                                 )
  2672                                )
  2648                               )
  2673                              )
  2649                             )
  2674                             (ArbitraryComponentSpec
  2650                             (ArbitraryComponentSpec
  2675                                name: 'imagePreView'
  2651                                name: 'imagePreView'
  2676                                activeHelpKey: previewView
  2652                                activeHelpKey: previewView
  2677                                uuid: 'ea3ad9a8-1e4a-11b2-83b1-485b39758412'
  2653                                uuid: 'ea3ad9a8-1e4a-11b2-83b1-485b39758412'
  2678                                menu: previewMenu
  2654                                menu: previewMenu
  2680                                hasVerticalScrollBar: true
  2656                                hasVerticalScrollBar: true
  2681                                miniScrollerHorizontal: false
  2657                                miniScrollerHorizontal: false
  2682                                miniScrollerVertical: false
  2658                                miniScrollerVertical: false
  2683                                hasBorder: false
  2659                                hasBorder: false
  2684                                component: ImageView
  2660                                component: ImageView
  2685                              )
       
  2686                             )
  2661                             )
  2687                           
  2662                           )
  2688                          )
  2663                         ) handles: (Any 0.5 1.0)
  2689                          handles: (Any 0.5 1.0)
       
  2690                        )
       
  2691                       )
  2664                       )
  2692                     
  2665                     )
  2693                    )
  2666                   )
  2694                  )
  2667                 )
  2695                 (ViewSpec
  2668                 (ViewSpec
  2696                    name: 'rightView'
  2669                    name: 'rightView'
  2697                    uuid: 'ea3ade8a-1e4a-11b2-83b1-485b39758412'
  2670                    uuid: 'ea3ade8a-1e4a-11b2-83b1-485b39758412'
  2698                    component: 
  2671                    component: 
  2699                   (SpecCollection
  2672                   (SpecCollection
  2700                      collection: (
  2673                      collection: (
  2701                       (MenuPanelSpec
  2674                       (MenuPanelSpec
  2702                          name: 'ToolBar1'
  2675                          name: 'ToolBar1'
  2703                          layout: (LayoutFrame 0 0 0 0.0 28 0 0 1.0)
  2676                          layout: (LayoutFrame 0 0 0 0.0 28 0 0 1.0) uuid: 'ea3ae0b0-1e4a-11b2-83b1-485b39758412'
  2704                          uuid: 'ea3ae0b0-1e4a-11b2-83b1-485b39758412'
       
  2705                          level: 1
  2677                          level: 1
  2706                          menu: toolsMenuToolbar
  2678                          menu: toolsMenuToolbar
  2707                          verticalLayout: true
  2679                          verticalLayout: true
  2708                          centerItems: true
  2680                          centerItems: true
  2709                          textDefault: true
  2681                          textDefault: true
  2710                        )
  2682                       )
  2711                       (ViewSpec
  2683                       (ViewSpec
  2712                          name: 'editingView'
  2684                          name: 'editingView'
  2713                          layout: (LayoutFrame 28 0.0 0 0.0 0 1.0 0 1.0)
  2685                          layout: (LayoutFrame 28 0.0 0 0.0 0 1.0 0 1.0) uuid: 'ea3ae3bc-1e4a-11b2-83b1-485b39758412'
  2714                          uuid: 'ea3ae3bc-1e4a-11b2-83b1-485b39758412'
       
  2715                          level: 1
  2686                          level: 1
  2716                          component: 
  2687                          component: 
  2717                         (SpecCollection
  2688                         (SpecCollection
  2718                            collection: (
  2689                            collection: (
  2719                             (ArbitraryComponentSpec
  2690                             (ArbitraryComponentSpec
  2720                                name: 'imageEditView'
  2691                                name: 'imageEditView'
  2721                                layout: (LayoutFrame 2 0.0 2 0.0 -2 1.0 -24 1.0)
  2692                                layout: (LayoutFrame 2 0.0 2 0.0 -2 1.0 -24 1.0) uuid: 'ea3ae5ec-1e4a-11b2-83b1-485b39758412'
  2722                                uuid: 'ea3ae5ec-1e4a-11b2-83b1-485b39758412'
       
  2723                                hasHorizontalScrollBar: true
  2693                                hasHorizontalScrollBar: true
  2724                                hasVerticalScrollBar: true
  2694                                hasVerticalScrollBar: true
  2725                                hasBorder: false
  2695                                hasBorder: false
  2726                                component: ImageEditView
  2696                                component: ImageEditView
  2727                              )
  2697                             )
  2728                             (LabelSpec
  2698                             (LabelSpec
  2729                                name: 'coordLabel'
  2699                                name: 'coordLabel'
  2730                                layout: (LayoutFrame 2 0.0 -22 1 -83 1.0 0 1.0)
  2700                                layout: (LayoutFrame 2 0.0 -22 1 -83 1.0 0 1.0) uuid: 'ea3ae8da-1e4a-11b2-83b1-485b39758412'
  2731                                uuid: 'ea3ae8da-1e4a-11b2-83b1-485b39758412'
       
  2732                                level: -1
  2701                                level: -1
  2733                                translateLabel: true
  2702                                translateLabel: true
  2734                                labelChannel: imageInfoHolder
  2703                                labelChannel: imageInfoHolder
  2735                                resizeForLabel: false
  2704                                resizeForLabel: false
  2736                                adjust: left
  2705                                adjust: left
  2737                              )
  2706                             )
  2738                             (ArrowButtonSpec
  2707                             (ArrowButtonSpec
  2739                                name: 'magnifyDownButton'
  2708                                name: 'magnifyDownButton'
  2740                                layout: (LayoutFrame -80 1 -22 1 -58 1 0 1)
  2709                                layout: (LayoutFrame -80 1 -22 1 -58 1 0 1) activeHelpKey: magnifyImageDown
  2741                                activeHelpKey: magnifyImageDown
       
  2742                                uuid: 'ea3aebd2-1e4a-11b2-83b1-485b39758412'
  2710                                uuid: 'ea3aebd2-1e4a-11b2-83b1-485b39758412'
  2743                                translateLabel: true
  2711                                translateLabel: true
  2744                                model: doMagnifyDown
  2712                                model: doMagnifyDown
  2745                                enableChannel: imageIsLoadedHolder
  2713                                enableChannel: imageIsLoadedHolder
  2746                                isTriggerOnDown: true
  2714                                isTriggerOnDown: true
  2747                                autoRepeat: true
  2715                                autoRepeat: true
  2748                                direction: left
  2716                                direction: left
  2749                              )
  2717                             )
  2750                             (ArrowButtonSpec
  2718                             (ArrowButtonSpec
  2751                                name: 'magnifyUpButton'
  2719                                name: 'magnifyUpButton'
  2752                                layout: (LayoutFrame -24 1 -22 1 -2 1 0 1)
  2720                                layout: (LayoutFrame -24 1 -22 1 -2 1 0 1) activeHelpKey: magnifyImageUp
  2753                                activeHelpKey: magnifyImageUp
       
  2754                                uuid: 'ea3af26c-1e4a-11b2-83b1-485b39758412'
  2721                                uuid: 'ea3af26c-1e4a-11b2-83b1-485b39758412'
  2755                                translateLabel: true
  2722                                translateLabel: true
  2756                                model: doMagnifyUp
  2723                                model: doMagnifyUp
  2757                                enableChannel: imageIsLoadedHolder
  2724                                enableChannel: imageIsLoadedHolder
  2758                                isTriggerOnDown: true
  2725                                isTriggerOnDown: true
  2759                                autoRepeat: true
  2726                                autoRepeat: true
  2760                                direction: right
  2727                                direction: right
  2761                              )
  2728                             )
  2762                             (InputFieldSpec
  2729                             (InputFieldSpec
  2763                                name: 'magnificationInputField'
  2730                                name: 'magnificationInputField'
  2764                                layout: (LayoutFrame -57 1 -22 1 -26 1 0 1)
  2731                                layout: (LayoutFrame -57 1 -22 1 -26 1 0 1) activeHelpKey: magnificationNumber
  2765                                activeHelpKey: magnificationNumber
       
  2766                                uuid: 'ea3af62c-1e4a-11b2-83b1-485b39758412'
  2732                                uuid: 'ea3af62c-1e4a-11b2-83b1-485b39758412'
  2767                                enableChannel: imageIsLoadedHolder
  2733                                enableChannel: imageIsLoadedHolder
  2768                                model: magnificationHolder
  2734                                model: magnificationHolder
  2769                                type: numberInRange
  2735                                type: numberInRange
  2770                                acceptOnReturn: true
  2736                                acceptOnReturn: true
  2771                                acceptOnTab: true
  2737                                acceptOnTab: true
  2772                                numChars: 2
  2738                                numChars: 2
  2773                                minValue: 1
  2739                                minValue: 1
  2774                                maxValue: 99
  2740                                maxValue: 99
  2775                                acceptOnPointerLeave: true
  2741                                acceptOnPointerLeave: true
  2776                              )
       
  2777                             )
  2742                             )
  2778                           
  2743                           )
  2779                          )
  2744                         )
  2780                        )
       
  2781                       )
  2745                       )
  2782                     
  2746                     )
  2783                    )
  2747                   )
  2784                  )
  2748                 )
  2785                 )
  2749               )
  2786               
  2750             ) handles: (Any 0.47999999999999998 1.0)
  2787              )
  2751           )
  2788              handles: (Any 0.47999999999999998 1.0)
       
  2789            )
       
  2790           (UISubSpecification
  2752           (UISubSpecification
  2791              name: 'infoBarSubSpec'
  2753              name: 'infoBarSubSpec'
  2792              layout: (LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0)
  2754              layout: (LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0) uuid: 'ea3afaf0-1e4a-11b2-83b1-485b39758412'
  2793              uuid: 'ea3afaf0-1e4a-11b2-83b1-485b39758412'
       
  2794              majorKey: ToolApplicationModel
  2755              majorKey: ToolApplicationModel
  2795              minorKey: windowSpecForInfoBar
  2756              minorKey: windowSpecForInfoBar
  2796            )
  2757           )
  2797           )
  2758         )
  2798         
  2759       )
  2799        )
  2760     )
  2800      )
       
  2801 ! !
  2761 ! !
  2802 
  2762 
  2803 !ImageEditor class methodsFor:'menu specs'!
  2763 !ImageEditor class methodsFor:'menu specs'!
  2804 
  2764 
  2805 colorMapMenu
  2765 colorMapMenu