# HG changeset patch # User tz # Date 885145872 -3600 # Node ID ad235cdacee5b133924aff019965d608707d28f4 # Parent b8110a424326e4bf9628206367aece000822825b support for new color menu added + some rearranges diff -r b8110a424326 -r ad235cdacee5 DataSetBuilder.st --- a/DataSetBuilder.st Sat Jan 17 22:33:10 1998 +0100 +++ b/DataSetBuilder.st Sun Jan 18 18:51:12 1998 +0100 @@ -79,11 +79,11 @@ #'window:' #(#WindowSpec #'name:' 'DataSet Basic' - #'layout:' #(#LayoutFrame 100 0 173 0 388 0 428 0) + #'layout:' #(#LayoutFrame 203 0 383 0 491 0 638 0) #'label:' 'DataSet Basic' #'min:' #(#Point 10 10) #'max:' #(#Point 1280 1024) - #'bounds:' #(#Rectangle 100 173 389 429) + #'bounds:' #(#Rectangle 203 383 492 639) #'usePreferredExtent:' false ) #'component:' @@ -99,7 +99,7 @@ #( #(#LabelSpec #'name:' 'label1' - #'layout:' #(#AlignmentOrigin 107 0 31 0 1 0.5) + #'layout:' #(#AlignmentOrigin 107 0 32 0 1 0.5) #'label:' 'Label:' #'resizeForLabel:' true ) @@ -130,7 +130,7 @@ #( #(#LabelSpec #'name:' 'rendererLabel' - #'layout:' #(#AlignmentOrigin 107 0 28 0 1 0.5) + #'layout:' #(#AlignmentOrigin 107 0 29 0 1 0.5) #'label:' 'Renderer:' #'resizeForLabel:' true ) @@ -144,7 +144,7 @@ ) #(#LabelSpec #'name:' 'editorLabel' - #'layout:' #(#AlignmentOrigin 107 0 53 0 1 0.5) + #'layout:' #(#AlignmentOrigin 107 0 55 0 1 0.5) #'label:' 'Editor:' #'resizeForLabel:' true ) @@ -186,11 +186,11 @@ #'window:' #(#WindowSpec #'name:' 'DataSet Misc' - #'layout:' #(#LayoutFrame 354 0 229 0 722 0 528 0) + #'layout:' #(#LayoutFrame 160 0 369 0 528 0 668 0) #'label:' 'DataSet Misc' #'min:' #(#Point 10 10) #'max:' #(#Point 1280 1024) - #'bounds:' #(#Rectangle 354 229 723 529) + #'bounds:' #(#Rectangle 160 369 529 669) #'usePreferredExtent:' false ) #'component:' @@ -198,6 +198,46 @@ #'collection:' #( #(#FramedBoxSpec + #'name:' 'ColorsBox' + #'layout:' #(#LayoutFrame 0 0.0 3 0 0 1.0 88 0) + #'component:' + #(#SpecCollection + #'collection:' + #( + #(#ColorMenuSpec + #'name:' 'colorMenu1' + #'layout:' #(#LayoutFrame 110 0 15 0 12 1.0 37 0) + #'activeHelpKey:' #foregroundColor + #'model:' #labelForegroundColor + #'labelsAreColored:' true + ) + #(#LabelSpec + #'name:' 'label1' + #'layout:' #(#AlignmentOrigin 107 0 27 0 1 0.5) + #'label:' 'Foreground:' + #'adjust:' #right + #'resizeForLabel:' true + ) + #(#LabelSpec + #'name:' 'label2' + #'layout:' #(#AlignmentOrigin 107 0 55 0 1 0.5) + #'label:' 'Background:' + #'adjust:' #right + #'resizeForLabel:' true + ) + #(#ColorMenuSpec + #'name:' 'colorMenu2' + #'layout:' #(#LayoutFrame 110 0 43 0 12 1.0 65 0) + #'activeHelpKey:' #backgroundColor + #'model:' #labelBackgroundColor + #'labelsAreColored:' true + ) + ) + ) + #'label:' 'Label Colors:' + #'labelPosition:' #topLeft + ) + #(#FramedBoxSpec #'name:' 'defaultColorsBox' #'layout:' #(#LayoutFrame 0 0.0 88 0 0 1.0 230 0) #'component:' @@ -263,44 +303,6 @@ #'label:' 'Cell Colors:' #'labelPosition:' #topLeft ) - #(#FramedBoxSpec - #'name:' 'ColorsBox' - #'layout:' #(#LayoutFrame 0 0.0 3 0 0 1.0 88 0) - #'component:' - #(#SpecCollection - #'collection:' - #( - #(#ColorMenuSpec - #'name:' 'colorMenu1' - #'layout:' #(#LayoutFrame 110 0 15 0 12 1.0 37 0) - #'activeHelpKey:' #foregroundColor - #'model:' #labelForegroundColor - ) - #(#LabelSpec - #'name:' 'label1' - #'layout:' #(#AlignmentOrigin 107 0 27 0 1 0.5) - #'label:' 'Foreground:' - #'adjust:' #right - #'resizeForLabel:' true - ) - #(#LabelSpec - #'name:' 'label2' - #'layout:' #(#AlignmentOrigin 107 0 55 0 1 0.5) - #'label:' 'Background:' - #'adjust:' #right - #'resizeForLabel:' true - ) - #(#ColorMenuSpec - #'name:' 'colorMenu2' - #'layout:' #(#LayoutFrame 110 0 43 0 12 1.0 65 0) - #'activeHelpKey:' #backgroundColor - #'model:' #labelBackgroundColor - ) - ) - ) - #'label:' 'Label Colors:' - #'labelPosition:' #topLeft - ) ) ) ) @@ -325,11 +327,11 @@ #'window:' #(#WindowSpec #'name:' 'DataSet Details' - #'layout:' #(#LayoutFrame 54 0 445 0 441 0 736 0) + #'layout:' #(#LayoutFrame 231 0 359 0 618 0 650 0) #'label:' 'DataSet Details' #'min:' #(#Point 10 10) #'max:' #(#Point 1280 1024) - #'bounds:' #(#Rectangle 54 445 442 737) + #'bounds:' #(#Rectangle 231 359 619 651) #'usePreferredExtent:' false ) #'component:' @@ -345,7 +347,7 @@ #( #(#LabelSpec #'name:' 'typeLabel' - #'layout:' #(#AlignmentOrigin 107 0 26 0 1 0.5) + #'layout:' #(#AlignmentOrigin 107 0 29 0 1 0.5) #'label:' 'Input Type:' #'resizeForLabel:' true ) @@ -388,13 +390,13 @@ #( #(#LabelSpec #'name:' 'formatLabel' - #'layout:' #(#AlignmentOrigin 107 0 55 0 1 0.5) + #'layout:' #(#AlignmentOrigin 107 0 56 0 1 0.5) #'label:' 'Text Format:' #'resizeForLabel:' true ) #(#LabelSpec #'name:' 'JustificationLabel' - #'layout:' #(#LayoutOrigin 35 0 21 0) + #'layout:' #(#AlignmentOrigin 107 0 29 0 1 0.5) #'label:' 'Justification:' #'adjust:' #left #'resizeForLabel:' true @@ -445,11 +447,11 @@ #'window:' #(#WindowSpec #'name:' 'DataSet Dimension' - #'layout:' #(#LayoutFrame 442 0 269 0 732 0 482 0) + #'layout:' #(#LayoutFrame 250 0 405 0 540 0 618 0) #'label:' 'DataSet Dimension' #'min:' #(#Point 10 10) #'max:' #(#Point 1280 1024) - #'bounds:' #(#Rectangle 442 269 733 483) + #'bounds:' #(#Rectangle 250 405 541 619) #'usePreferredExtent:' false ) #'component:' @@ -498,14 +500,14 @@ ) #(#LabelSpec #'name:' 'heightLabel' - #'layout:' #(#LayoutFrame 10 0.0 76 0 107 0.0 93 0) + #'layout:' #(#AlignmentOrigin 107 0.0 84 0 1 0.5) #'label:' 'Row Height:' #'adjust:' #right #'resizeForLabel:' true ) #(#LabelSpec #'name:' 'minWidthLabel' - #'layout:' #(#LayoutFrame 10 0.0 45 0 107 0.0 62 0) + #'layout:' #(#AlignmentOrigin 107 0.0 53 0 1 0.5) #'label:' 'Min Width:' #'adjust:' #right #'resizeForLabel:' true @@ -519,7 +521,7 @@ ) #(#LabelSpec #'name:' 'widthLabel' - #'layout:' #(#LayoutFrame 10 0.0 20 0 107 0.0 37 0) + #'layout:' #(#AlignmentOrigin 107 0.0 28 0 1 0.5) #'label:' 'Column Width:' #'adjust:' #right #'resizeForLabel:' true @@ -560,11 +562,11 @@ #'window:' #(#WindowSpec #'name:' 'DataSet Basic' - #'layout:' #(#LayoutFrame 414 0 196 0 702 0 451 0) + #'layout:' #(#LayoutFrame 305 0 415 0 593 0 670 0) #'label:' 'DataSet Basic' #'min:' #(#Point 10 10) #'max:' #(#Point 1280 1024) - #'bounds:' #(#Rectangle 414 196 703 452) + #'bounds:' #(#Rectangle 305 415 594 671) #'usePreferredExtent:' false ) #'component:' @@ -587,7 +589,7 @@ ) #(#LabelSpec #'name:' 'selectorLabel' - #'layout:' #(#AlignmentOrigin 107 0 51 0 1 0.5) + #'layout:' #(#AlignmentOrigin 107 0 53 0 1 0.5) #'label:' 'Selector:' #'adjust:' #right #'resizeForLabel:' true @@ -611,22 +613,9 @@ #(#SpecCollection #'collection:' #( - #(#InputFieldSpec - #'name:' 'ArgumentValue' - #'layout:' #(#LayoutFrame 110 0 42 0 15 1.0 64 0) - #'model:' #labelActionArgument - #'type:' #string - ) - #(#LabelSpec - #'name:' 'ArgumentLabel' - #'layout:' #(#AlignmentOrigin 107 0 52 0 1 0.5) - #'label:' 'Argument:' - #'adjust:' #left - #'resizeForLabel:' true - ) #(#LabelSpec #'name:' 'ActionLabel' - #'layout:' #(#AlignmentOrigin 107 0 27 0 1 0.5) + #'layout:' #(#AlignmentOrigin 107 0 28 0 1 0.5) #'label:' 'Selector:' #'adjust:' #left #'resizeForLabel:' true @@ -637,6 +626,19 @@ #'model:' #labelActionSelector #'type:' #symbolOrNil ) + #(#LabelSpec + #'name:' 'ArgumentLabel' + #'layout:' #(#AlignmentOrigin 107 0 53 0 1 0.5) + #'label:' 'Argument:' + #'adjust:' #left + #'resizeForLabel:' true + ) + #(#InputFieldSpec + #'name:' 'ArgumentValue' + #'layout:' #(#LayoutFrame 110 0 42 0 15 1.0 64 0) + #'model:' #labelActionArgument + #'type:' #string + ) ) ) #'label:' 'Select Action:' @@ -651,7 +653,7 @@ #( #(#LabelSpec #'name:' 'doubleLabel' - #'layout:' #(#AlignmentOrigin 107 0 26 0 1 0.5) + #'layout:' #(#AlignmentOrigin 107 0 27 0 1 0.5) #'label:' 'Selector:' #'adjust:' #right #'resizeForLabel:' true @@ -692,11 +694,11 @@ #'window:' #(#WindowSpec #'name:' 'DataSet Basic' - #'layout:' #(#LayoutFrame 563 0 305 0 858 0 610 0) + #'layout:' #(#LayoutFrame 250 0 438 0 545 0 743 0) #'label:' 'DataSet Basic' #'min:' #(#Point 10 10) #'max:' #(#Point 1280 1024) - #'bounds:' #(#Rectangle 563 305 859 611) + #'bounds:' #(#Rectangle 250 438 546 744) #'usePreferredExtent:' false ) #'component:' @@ -712,7 +714,7 @@ #( #(#LabelSpec #'name:' 'readLabel' - #'layout:' #(#AlignmentOrigin 107 0 28 0 1 0.5) + #'layout:' #(#AlignmentOrigin 107 0 29 0 1 0.5) #'label:' 'Read:' #'adjust:' #right #'resizeForLabel:' true @@ -733,7 +735,7 @@ ) #(#LabelSpec #'name:' 'printLabel' - #'layout:' #(#AlignmentOrigin 107 0 76 0 1 0.5) + #'layout:' #(#AlignmentOrigin 107 0 77 0 1 0.5) #'label:' 'Print:' #'adjust:' #right #'resizeForLabel:' true @@ -747,7 +749,7 @@ ) #(#LabelSpec #'name:' 'writeLabel' - #'layout:' #(#AlignmentOrigin 107 0 53 0 1 0.5) + #'layout:' #(#AlignmentOrigin 107 0 54 0 1 0.5) #'label:' 'Write:' #'adjust:' #right #'resizeForLabel:' true @@ -766,7 +768,7 @@ #( #(#LabelSpec #'name:' 'menuLabel' - #'layout:' #(#AlignmentOrigin 107 0 28 0 1 0.5) + #'layout:' #(#AlignmentOrigin 107 0 29 0 1 0.5) #'label:' 'Menu:' #'adjust:' #right #'resizeForLabel:' true @@ -780,7 +782,7 @@ ) #(#LabelSpec #'name:' 'choicesLabel' - #'layout:' #(#AlignmentOrigin 107 0 51 0 1 0.5) + #'layout:' #(#AlignmentOrigin 107 0 52 0 1 0.5) #'label:' 'Choice:' #'adjust:' #right #'resizeForLabel:' true