# HG changeset patch # User Claus Gittinger # Date 930912968 -7200 # Node ID 65f9583a133e2d0dc1618954e0bea66b17a6385c # Parent 512913ffbdd9634008a2ca7a479d5aee32de35f3 modified stuff diff -r 512913ffbdd9 -r 65f9583a133e DataSetBuilder.st --- a/DataSetBuilder.st Fri Jul 02 11:21:20 1999 +0200 +++ b/DataSetBuilder.st Fri Jul 02 12:56:08 1999 +0200 @@ -16,7 +16,7 @@ ResourceSpecEditor subclass:#DataSetBuilder instanceVariableNames:'rowClass rowSuperClass columnView columns selectedColumnIndex - modalOpened' + modalOpened noteBook' classVariableNames:'' poolDictionaries:'' category:'Interface-UIPainter' @@ -318,189 +318,193 @@ - ^ - - #(#FullSpec - #name: #basicsEditSpec - #window: - #(#WindowSpec - #name: 'DataSet Basic' - #layout: #(#LayoutFrame 18 0 158 0 340 0 484 0) - #level: 0 - #label: 'DataSet Basic' - #min: #(#Point 10 10) - #max: #(#Point 1280 1024) - #bounds: #(#Rectangle 18 158 341 485) - #usePreferredExtent: false - #returnIsOKInDialog: true - #escapeIsCancelInDialog: true - ) - #component: - #(#SpecCollection - #collection: - #( - #(#FramedBoxSpec - #name: 'framedBox1' - #layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 173 0) - #component: - #(#SpecCollection - #collection: - #( - #(#LabelSpec - #name: 'label1' - #layout: #(#AlignmentOrigin 94 0 39 0 1 0.5) - #label: 'Label:' - #resizeForLabel: true - ) - #(#InputFieldSpec - #name: 'labelField' - #layout: #(#LayoutFrame 97 0 28 0 2 1.0 50 0) - #activeHelpKey: #basicsLabel - #tabable: true - #model: #label - #type: #smalltalkObject - #immediateAccept: false - #acceptOnLeave: true - #acceptOnLostFocus: true - #acceptChannel: #acceptChannel - #modifiedChannel: #modifiedChannel - ) - #(#LabelSpec - #name: 'LabelFont' - #layout: #(#AlignmentOrigin 94 0 68 0 1 0.5) - #label: 'Font:' - #resizeForLabel: true - #adjust: #left - ) - #(#FontMenuSpec - #name: 'fontMenu' - #layout: #(#LayoutFrame 97 0 56 0 0 1.0 78 0) - #activeHelpKey: #labelFont - #model: #style - ) - #(#PopUpListSpec - #name: 'Alignment' - #layout: #(#LayoutFrame 142 0 85 0 2 1.0 107 0) - #activeHelpKey: #basicsJustification - #label: 'Alignment' - #model: #labelAlignment - #menu: - #(#left - #right #center - ) - #useIndex: false - ) - #(#LabelSpec - #name: 'JustificationLabel' - #layout: #(#AlignmentOrigin 140 0 96 0 1 0.5) - #label: 'Justification:' - #resizeForLabel: true - #adjust: #left - ) - #(#CheckBoxSpec - #name: 'labelIsImage' - #layout: #(#LayoutOrigin -3 0 110 0) - #activeHelpKey: #basicsLabelIsImage - #tabable: true - #model: #labelIsImage - #label: 'Label Is Image' - ) - #(#CheckBoxSpec - #name: 'CheckBox2' - #layout: #(#LayoutOrigin 142 0 110 0) - #activeHelpKey: #basicsLabelTranslate - #tabable: true - #model: #translateLabel - #label: 'Translate Label' - ) - #(#LabelSpec - #name: 'idLabel' - #layout: #(#AlignmentOrigin 94 0 14 0 1 0.5) - #label: 'ID:' - #resizeForLabel: true - ) - #(#InputFieldSpec - #name: 'idField' - #layout: #(#LayoutFrame 97 0 0 0 2 1.0 22 0) - #activeHelpKey: #basicsLabelId - #tabable: true - #model: #id - #acceptOnLostFocus: true - #acceptChannel: #acceptChannel - #modifiedChannel: #modifiedChannel - ) - ) + ^ + #(#FullSpec + #name: #basicsEditSpec + #window: + #(#WindowSpec + #label: 'DataSet Basic' + #name: 'DataSet Basic' + #layout: #(#LayoutFrame 38 0 137 0 360 0 463 0) + #level: 0 + #min: #(#Point 10 10) + #max: #(#Point 1280 1024) + #bounds: #(#Rectangle 38 137 361 464) + #usePreferredExtent: false + #returnIsOKInDialog: true + #escapeIsCancelInDialog: true + ) + #component: + #(#SpecCollection + #collection: #( + #(#FramedBoxSpec + #label: 'Header:' + #name: 'framedBox1' + #layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 173 0) + #labelPosition: #topLeft + #component: + #(#SpecCollection + #collection: #( + #(#LabelSpec + #label: 'Label:' + #name: 'label1' + #layout: #(#AlignmentOrigin 94 0 39 0 1 0.5) + #resizeForLabel: true + ) + #(#InputFieldSpec + #name: 'labelField' + #layout: #(#LayoutFrame 97 0 28 0 2 1.0 50 0) + #activeHelpKey: #basicsLabel + #tabable: true + #model: #label + #group: #inputGroup + #type: #smalltalkObject + #immediateAccept: false + #acceptOnLeave: false + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + #(#LabelSpec + #label: 'Font:' + #name: 'LabelFont' + #layout: #(#AlignmentOrigin 94 0 68 0 1 0.5) + #resizeForLabel: true + #adjust: #left + ) + #(#FontMenuSpec + #name: 'fontMenu' + #layout: #(#LayoutFrame 97 0 56 0 0 1.0 78 0) + #activeHelpKey: #labelFont + #model: #style + ) + #(#PopUpListSpec + #label: 'Alignment' + #name: 'Alignment' + #layout: #(#LayoutFrame 142 0 85 0 2 1.0 107 0) + #activeHelpKey: #basicsJustification + #model: #labelAlignment + #menu: + #(#left + #right #center ) - #label: 'Header:' - #labelPosition: #topLeft - ) - #(#FramedBoxSpec - #name: 'typesFrame' - #layout: #(#LayoutFrame 0 0.0 178 0 0 1.0 286 0) - #component: - #(#SpecCollection - #collection: - #( - #(#LabelSpec - #name: 'rendererLabel' - #layout: #(#AlignmentOrigin 94 0 16 0 1 0.5) - #label: 'Renderer:' - #resizeForLabel: true - ) - #(#ComboListSpec - #name: 'rendererField' - #layout: #(#LayoutFrame 97 0 5 0 2 1.0 27 0) - #activeHelpKey: #basicsRenderer - #tabable: true - #model: #rendererType - #comboList: #rendererTypeList - #useIndex: false - ) - #(#LabelSpec - #name: 'editorLabel' - #layout: #(#AlignmentOrigin 94 0 42 0 1 0.5) - #label: 'Editor:' - #resizeForLabel: true - ) - #(#ComboBoxSpec - #name: 'editorField' - #layout: #(#LayoutFrame 97 0 31 0 2 1.0 53 0) - #activeHelpKey: #basicsEditor - #tabable: true - #model: #editorType - #type: #symbolOrNil - #acceptOnLostFocus: true - #acceptChannel: #acceptChannel - #modifiedChannel: #modifiedChannel - #comboList: #editorTypeList - #useIndex: false - ) - #(#LabelSpec - #name: 'JustificationC' - #layout: #(#AlignmentOrigin 140 0 69 0 1 0.5) - #label: 'Justification:' - #resizeForLabel: true - #adjust: #left - ) - #(#PopUpListSpec - #name: 'AlignmentC' - #layout: #(#LayoutFrame 142 0 58 0 2 1.0 80 0) - #activeHelpKey: #basicsJustificationEditor - #label: 'Alignment' - #model: #columnAlignment - #menu: - #(#left - #right #center - ) - #useIndex: false - ) - ) + #useIndex: false + ) + #(#LabelSpec + #label: 'Justification:' + #name: 'JustificationLabel' + #layout: #(#AlignmentOrigin 140 0 96 0 1 0.5) + #resizeForLabel: true + #adjust: #left + ) + #(#CheckBoxSpec + #label: 'Label Is Image' + #name: 'labelIsImage' + #layout: #(#LayoutOrigin -3 0 110 0) + #activeHelpKey: #basicsLabelIsImage + #tabable: true + #model: #labelIsImage + ) + #(#CheckBoxSpec + #label: 'Translate Label' + #name: 'CheckBox2' + #layout: #(#LayoutOrigin 142 0 110 0) + #activeHelpKey: #basicsLabelTranslate + #tabable: true + #model: #translateLabel + ) + #(#LabelSpec + #label: 'ID:' + #name: 'idLabel' + #layout: #(#AlignmentOrigin 94 0 14 0 1 0.5) + #resizeForLabel: true + ) + #(#InputFieldSpec + #name: 'idField' + #layout: #(#LayoutFrame 97 0 0 0 2 1.0 22 0) + #activeHelpKey: #basicsLabelId + #tabable: true + #model: #id + #group: #inputGroup + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + ) + + ) + ) + #(#FramedBoxSpec + #label: 'Cell Type:' + #name: 'typesFrame' + #layout: #(#LayoutFrame 0 0.0 178 0 0 1.0 286 0) + #labelPosition: #topLeft + #component: + #(#SpecCollection + #collection: #( + #(#LabelSpec + #label: 'Renderer:' + #name: 'rendererLabel' + #layout: #(#AlignmentOrigin 94 0 16 0 1 0.5) + #resizeForLabel: true + ) + #(#ComboListSpec + #name: 'rendererField' + #layout: #(#LayoutFrame 97 0 5 0 2 1.0 27 0) + #activeHelpKey: #basicsRenderer + #tabable: true + #model: #rendererType + #comboList: #rendererTypeList + #useIndex: false + ) + #(#LabelSpec + #label: 'Editor:' + #name: 'editorLabel' + #layout: #(#AlignmentOrigin 94 0 42 0 1 0.5) + #resizeForLabel: true + ) + #(#ComboBoxSpec + #name: 'editorField' + #layout: #(#LayoutFrame 97 0 31 0 2 1.0 53 0) + #activeHelpKey: #basicsEditor + #tabable: true + #model: #editorType + #type: #symbolOrNil + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + #comboList: #editorTypeList + #useIndex: false + ) + #(#LabelSpec + #label: 'Justification:' + #name: 'JustificationC' + #layout: #(#AlignmentOrigin 140 0 69 0 1 0.5) + #resizeForLabel: true + #adjust: #left + ) + #(#PopUpListSpec + #label: 'Alignment' + #name: 'AlignmentC' + #layout: #(#LayoutFrame 142 0 58 0 2 1.0 80 0) + #activeHelpKey: #basicsJustificationEditor + #model: #columnAlignment + #menu: + #(#left + #right #center ) - #label: 'Cell Type:' - #labelPosition: #topLeft - ) + #useIndex: false + ) + ) + ) - ) + ) + ) + + ) ) ! @@ -518,144 +522,149 @@ - ^ - - #(#FullSpec - #window: - #(#WindowSpec - #name: 'DataSet Misc' - #layout: #(#LayoutFrame 216 0 173 0 584 0 472 0) - #label: 'DataSet Misc' - #min: #(#Point 10 10) - #max: #(#Point 1280 1024) - #bounds: #(#Rectangle 216 173 585 473) - #usePreferredExtent: false - ) - #component: - #(#SpecCollection - #collection: - #( - #(#FramedBoxSpec - #name: 'ColorsBox' - #layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 95 0) - #component: - #(#SpecCollection - #collection: - #( - #(#LabelSpec - #name: 'label1' - #layout: #(#AlignmentOrigin 112 0 24 0 1 0.5) - #label: 'Foreground:' - #adjust: #right - #resizeForLabel: true - ) - #(#ColorMenuSpec - #name: 'colorMenu1' - #layout: #(#LayoutFrame 115 0 12 0 -3 1.0 34 0) - #activeHelpKey: #colorsForegroundLabelColor - #model: #labelForegroundColor - #labelsAreColored: true - ) - #(#LabelSpec - #name: 'label2' - #layout: #(#AlignmentOrigin 112 0 52 0 1 0.5) - #label: 'Background:' - #adjust: #right - #resizeForLabel: true - ) - #(#ColorMenuSpec - #name: 'colorMenu2' - #layout: #(#LayoutFrame 115 0 40 0 -3 1.0 62 0) - #activeHelpKey: #colorsBackgroundLabelColor - #model: #labelBackgroundColor - #labelsAreColored: false - ) - ) - ) - #label: 'Label Colors:' - #labelPosition: #topLeft - ) - #(#FramedBoxSpec - #name: 'defaultColorsBox' - #layout: #(#LayoutFrame 0 0.0 108 0 0 1.0 263 0) - #component: - #(#SpecCollection - #collection: - #( - #(#LabelSpec - #name: 'fgLabel' - #layout: #(#AlignmentOrigin 112 0 28 0 1 0.5) - #label: 'Foreground:' - #adjust: #right - #resizeForLabel: true - ) - #(#ColorMenuSpec - #name: 'fgMenu' - #layout: #(#LayoutFrame 115 0 16 0 -3 1.0 38 0) - #activeHelpKey: #colorsForegroundCellColor - #model: #foregroundColor - #labelsAreColored: true - ) - #(#LabelSpec - #name: 'bgLabel' - #layout: #(#AlignmentOrigin 112 0 56 0 1 0.5) - #label: 'Background:' - #adjust: #right - #resizeForLabel: true - ) - #(#ColorMenuSpec - #name: 'bgMenu' - #layout: #(#LayoutFrame 115 0 44 0 -3 1.0 66 0) - #activeHelpKey: #colorsBackgroundCellColor - #model: #backgroundColor - #labelsAreColored: false - ) - #(#LabelSpec - #name: 'fgSelLabel' - #layout: #(#AlignmentOrigin 112 0 90 0 1 0.5) - #label: 'FG-Selector:' - #adjust: #right - #resizeForLabel: true - ) - #(#InputFieldSpec - #name: 'fgSelField' - #layout: #(#LayoutFrame 115 0 79 0 0 1.0 101 0) - #activeHelpKey: #colorsForegroundSelector - #tabable: true - #model: #foregroundSelector - #type: #symbolOrNil - #modifiedChannel: #modifiedChannel - #acceptChannel: #acceptChannel - #acceptOnLostFocus: true - ) - #(#LabelSpec - #name: 'bgSelLabel' - #layout: #(#AlignmentOrigin 112 0 115 0 1 0.5) - #label: 'BG-Selector:' - #adjust: #right - #resizeForLabel: true - ) - #(#InputFieldSpec - #name: 'bgSelField' - #layout: #(#LayoutFrame 115 0 104 0 0 1.0 126 0) - #activeHelpKey: #colorsBackgroundSelector - #tabable: true - #model: #backgroundSelector - #type: #symbolOrNil - #modifiedChannel: #modifiedChannel - #acceptChannel: #acceptChannel - #acceptOnLostFocus: true - ) - ) - ) - #label: 'Cell Colors:' - #labelPosition: #topLeft - ) + ^ + #(#FullSpec + #name: #colorsEditSpec + #window: + #(#WindowSpec + #label: 'DataSet Misc' + #name: 'DataSet Misc' + #layout: #(#LayoutFrame 699 0 270 0 1067 0 569 0) + #level: 0 + #min: #(#Point 10 10) + #max: #(#Point 1280 1024) + #bounds: #(#Rectangle 699 270 1068 570) + #usePreferredExtent: false + #returnIsOKInDialog: true + #escapeIsCancelInDialog: true + ) + #component: + #(#SpecCollection + #collection: #( + #(#FramedBoxSpec + #label: 'Label Colors:' + #name: 'ColorsBox' + #layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 95 0) + #labelPosition: #topLeft + #component: + #(#SpecCollection + #collection: #( + #(#LabelSpec + #label: 'Foreground:' + #name: 'label1' + #layout: #(#AlignmentOrigin 112 0 24 0 1 0.5) + #resizeForLabel: true + #adjust: #right + ) + #(#ColorMenuSpec + #name: 'colorMenu1' + #layout: #(#LayoutFrame 115 0 12 0 -3 1.0 34 0) + #activeHelpKey: #colorsForegroundLabelColor + #model: #labelForegroundColor + #labelsAreColored: true + ) + #(#LabelSpec + #label: 'Background:' + #name: 'label2' + #layout: #(#AlignmentOrigin 112 0 52 0 1 0.5) + #resizeForLabel: true + #adjust: #right + ) + #(#ColorMenuSpec + #name: 'colorMenu2' + #layout: #(#LayoutFrame 115 0 40 0 -3 1.0 62 0) + #activeHelpKey: #colorsBackgroundLabelColor + #model: #labelBackgroundColor + #labelsAreColored: false + ) + ) + ) - ) + ) + #(#FramedBoxSpec + #label: 'Cell Colors:' + #name: 'defaultColorsBox' + #layout: #(#LayoutFrame 0 0.0 108 0 0 1.0 263 0) + #labelPosition: #topLeft + #component: + #(#SpecCollection + #collection: #( + #(#LabelSpec + #label: 'Foreground:' + #name: 'fgLabel' + #layout: #(#AlignmentOrigin 112 0 28 0 1 0.5) + #resizeForLabel: true + #adjust: #right + ) + #(#ColorMenuSpec + #name: 'fgMenu' + #layout: #(#LayoutFrame 115 0 16 0 -3 1.0 38 0) + #activeHelpKey: #colorsForegroundCellColor + #model: #foregroundColor + #labelsAreColored: true + ) + #(#LabelSpec + #label: 'Background:' + #name: 'bgLabel' + #layout: #(#AlignmentOrigin 112 0 56 0 1 0.5) + #resizeForLabel: true + #adjust: #right + ) + #(#ColorMenuSpec + #name: 'bgMenu' + #layout: #(#LayoutFrame 115 0 44 0 -3 1.0 66 0) + #activeHelpKey: #colorsBackgroundCellColor + #model: #backgroundColor + #labelsAreColored: false + ) + #(#LabelSpec + #label: 'FG-Selector:' + #name: 'fgSelLabel' + #layout: #(#AlignmentOrigin 112 0 90 0 1 0.5) + #resizeForLabel: true + #adjust: #right + ) + #(#InputFieldSpec + #name: 'fgSelField' + #layout: #(#LayoutFrame 115 0 79 0 0 1.0 101 0) + #activeHelpKey: #colorsForegroundSelector + #tabable: true + #model: #foregroundSelector + #group: #inputGroup + #type: #symbolOrNil + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + #(#LabelSpec + #label: 'BG-Selector:' + #name: 'bgSelLabel' + #layout: #(#AlignmentOrigin 112 0 115 0 1 0.5) + #resizeForLabel: true + #adjust: #right + ) + #(#InputFieldSpec + #name: 'bgSelField' + #layout: #(#LayoutFrame 115 0 104 0 0 1.0 126 0) + #activeHelpKey: #colorsBackgroundSelector + #tabable: true + #model: #backgroundSelector + #group: #inputGroup + #type: #symbolOrNil + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + ) + + ) + ) + ) + + ) ) - - "Modified: / 13.8.1998 / 19:53:41 / cg" ! defineClassNameSpec @@ -751,92 +760,97 @@ - ^ - - #(#FullSpec - #window: - #(#WindowSpec - #name: 'DataSet Details' - #layout: #(#LayoutFrame 216 0 173 0 603 0 464 0) - #label: 'DataSet Details' - #min: #(#Point 10 10) - #max: #(#Point 1280 1024) - #bounds: #(#Rectangle 216 173 604 465) - #usePreferredExtent: false - ) - #component: - #(#SpecCollection - #collection: - #( - #(#FramedBoxSpec - #name: 'framedBox1' - #layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 127 0) - #component: - #(#SpecCollection - #collection: - #( - #(#LabelSpec - #name: 'typeLabel' - #layout: #(#AlignmentOrigin 115 0 26 0 1 0.5) - #label: 'Input Type:' - #resizeForLabel: true - ) - #(#ComboListSpec - #name: 'typeCombo' - #layout: #(#LayoutFrame 118 0 15 0 3 1.0 37 0) - #activeHelpKey: #formatInputType - #tabable: true - #model: #type - #comboList: - #(#string - #password #number - #numberOrNil #symbolOrNil - ) - #useIndex: false - ) - #(#LabelSpec - #name: 'sizeLabel' - #layout: #(#AlignmentOrigin 115 0 52 0 1 0.5) - #label: 'Max Size:' - #resizeForLabel: true - ) - #(#InputFieldSpec - #name: 'sizeField' - #layout: #(#LayoutFrame 118 0 41 0 3 1.0 63 0) - #activeHelpKey: #formatMaxSize - #tabable: true - #model: #size - #type: #numberOrNil - #modifiedChannel: #modifiedChannel - #acceptChannel: #acceptChannel - #acceptOnLostFocus: true - ) - #(#LabelSpec - #name: 'formatLabel' - #layout: #(#AlignmentOrigin 115 0 77 0 1 0.5) - #label: 'Text Format:' - #resizeForLabel: true - ) - #(#InputFieldSpec - #name: 'formatField' - #layout: #(#LayoutFrame 118 0 66 0 3 1.0 88 0) - #activeHelpKey: #formatTextFormat - #tabable: true - #model: #formatString - #modifiedChannel: #modifiedChannel - #acceptChannel: #acceptChannel - #acceptOnLostFocus: true - ) - ) + ^ + #(#FullSpec + #name: #formatEditSpec + #window: + #(#WindowSpec + #label: 'DataSet Details' + #name: 'DataSet Details' + #layout: #(#LayoutFrame 699 0 270 0 1086 0 561 0) + #level: 0 + #min: #(#Point 10 10) + #max: #(#Point 1280 1024) + #bounds: #(#Rectangle 699 270 1087 562) + #usePreferredExtent: false + #returnIsOKInDialog: true + #escapeIsCancelInDialog: true + ) + #component: + #(#SpecCollection + #collection: #( + #(#FramedBoxSpec + #label: 'Input Format' + #name: 'framedBox1' + #layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 127 0) + #labelPosition: #topLeft + #component: + #(#SpecCollection + #collection: #( + #(#LabelSpec + #label: 'Input Type:' + #name: 'typeLabel' + #layout: #(#AlignmentOrigin 115 0 26 0 1 0.5) + #resizeForLabel: true + ) + #(#ComboListSpec + #name: 'typeCombo' + #layout: #(#LayoutFrame 118 0 15 0 3 1.0 37 0) + #activeHelpKey: #formatInputType + #tabable: true + #model: #type + #comboList: + #(#string + #password #number + #numberOrNil #symbolOrNil ) - #label: 'Input Format' - #labelPosition: #topLeft - ) + #useIndex: false + ) + #(#LabelSpec + #label: 'Max Size:' + #name: 'sizeLabel' + #layout: #(#AlignmentOrigin 115 0 52 0 1 0.5) + #resizeForLabel: true + ) + #(#InputFieldSpec + #name: 'sizeField' + #layout: #(#LayoutFrame 118 0 41 0 3 1.0 63 0) + #activeHelpKey: #formatMaxSize + #tabable: true + #model: #size + #group: #inputGroup + #type: #numberOrNil + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + #(#LabelSpec + #label: 'Text Format:' + #name: 'formatLabel' + #layout: #(#AlignmentOrigin 115 0 77 0 1 0.5) + #resizeForLabel: true + ) + #(#InputFieldSpec + #name: 'formatField' + #layout: #(#LayoutFrame 118 0 66 0 3 1.0 88 0) + #activeHelpKey: #formatTextFormat + #tabable: true + #model: #formatString + #group: #inputGroup + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + ) + ) - ) + ) + ) + + ) ) - - "Modified: / 13.8.1998 / 19:54:13 / cg" ! frameEditSpec @@ -853,131 +867,141 @@ - ^ - - #(#FullSpec - #window: - #(#WindowSpec - #name: 'DataSet Dimension' - #layout: #(#LayoutFrame 216 0 173 0 540 0 520 0) - #level: 0 - #label: 'DataSet Dimension' - #min: #(#Point 10 10) - #max: #(#Point 1280 1024) - #bounds: #(#Rectangle 216 173 541 521) - #usePreferredExtent: false - ) - #component: - #(#SpecCollection - #collection: - #( - #(#FramedBoxSpec - #name: 'separatorBox' - #layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 132 0) - #component: - #(#SpecCollection - #collection: - #( - #(#CheckBoxSpec - #name: 'showRowSeparator' - #layout: #(#LayoutFrame 5 0 15 0 293 0 38 0) - #activeHelpKey: #frameShowRowSeparator - #tabable: true - #model: #showRowSeparator - #label: 'Show Row-Separator' - ) - #(#InputFieldSpec - #name: 'rowSeparatorSelector' - #layout: #(#LayoutFrame 29 0 41 0 2 1.0 63 0) - #activeHelpKey: #frameShowRowSeparatorSelector - #tabable: true - #model: #rowSeparatorSelector - #type: #symbolOrNil - #modifiedChannel: #modifiedChannel - #acceptChannel: #acceptChannel - #acceptOnLostFocus: true - ) - #(#CheckBoxSpec - #name: 'showColSeparator' - #layout: #(#LayoutFrame 5 0 70 0 294 0 93 0) - #activeHelpKey: #frameShowColumnSeparator - #tabable: true - #model: #showColSeparator - #label: 'Show Column-Separator' - ) - ) - ) - #label: 'Separators' - #labelPosition: #topLeft - ) - #(#FramedBoxSpec - #name: 'framedBox1' - #layout: #(#LayoutFrame 0 0.0 151 0 0 1.0 268 0) - #component: - #(#SpecCollection - #collection: - #( - #(#LabelSpec - #name: 'widthLabel' - #layout: #(#AlignmentOrigin 140 0.0 23 0 1 0.5) - #label: 'Column Width:' - #resizeForLabel: true - #adjust: #right - ) - #(#InputFieldSpec - #name: 'widthField' - #layout: #(#LayoutFrame 142 0 12 0 2 1.0 34 0) - #activeHelpKey: #frameColumnWidth - #tabable: true - #model: #width - #type: #numberOrNil - #modifiedChannel: #modifiedChannel - #acceptChannel: #acceptChannel - #acceptOnLostFocus: true - ) - #(#LabelSpec - #name: 'minWidthLabel' - #layout: #(#AlignmentOrigin 140 0.0 51 0 1 0.5) - #label: 'Min Width:' - #resizeForLabel: true - #adjust: #right - ) - #(#InputFieldSpec - #name: 'minWidthField' - #layout: #(#LayoutFrame 142 0 40 0 2 1.0 62 0) - #activeHelpKey: #frameMinWidth - #tabable: true - #model: #minWidth - #type: #numberOrNil - #modifiedChannel: #modifiedChannel - #acceptChannel: #acceptChannel - #acceptOnLostFocus: true - ) - #(#LabelSpec - #name: 'heightLabel' - #layout: #(#AlignmentOrigin 140 0.0 79 0 1 0.5) - #label: 'Row Height:' - #resizeForLabel: true - #adjust: #right - ) - #(#InputFieldSpec - #name: 'heightField' - #layout: #(#LayoutFrame 142 0 68 0 2 1.0 90 0) - #activeHelpKey: #frameRowHeight - #tabable: true - #model: #height - #type: #numberOrNil - #modifiedChannel: #modifiedChannel - #acceptChannel: #acceptChannel - #acceptOnLostFocus: true - ) - ) - ) - #label: 'Dimensions:' - #labelPosition: #topLeft - ) + ^ + #(#FullSpec + #name: #frameEditSpec + #window: + #(#WindowSpec + #label: 'DataSet Dimension' + #name: 'DataSet Dimension' + #layout: #(#LayoutFrame 699 0 270 0 1023 0 617 0) + #level: 0 + #min: #(#Point 10 10) + #max: #(#Point 1280 1024) + #bounds: #(#Rectangle 699 270 1024 618) + #usePreferredExtent: false + #returnIsOKInDialog: true + #escapeIsCancelInDialog: true + ) + #component: + #(#SpecCollection + #collection: #( + #(#FramedBoxSpec + #label: 'Separators' + #name: 'separatorBox' + #layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 132 0) + #labelPosition: #topLeft + #component: + #(#SpecCollection + #collection: #( + #(#CheckBoxSpec + #label: 'Show Row-Separator' + #name: 'showRowSeparator' + #layout: #(#LayoutFrame 5 0 15 0 293 0 38 0) + #activeHelpKey: #frameShowRowSeparator + #tabable: true + #model: #showRowSeparator + ) + #(#InputFieldSpec + #name: 'rowSeparatorSelector' + #layout: #(#LayoutFrame 29 0 41 0 2 1.0 63 0) + #activeHelpKey: #frameShowRowSeparatorSelector + #tabable: true + #model: #rowSeparatorSelector + #group: #inputGroup + #type: #symbolOrNil + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + #(#CheckBoxSpec + #label: 'Show Column-Separator' + #name: 'showColSeparator' + #layout: #(#LayoutFrame 5 0 70 0 294 0 93 0) + #activeHelpKey: #frameShowColumnSeparator + #tabable: true + #model: #showColSeparator + ) + ) + ) - ) + ) + #(#FramedBoxSpec + #label: 'Dimensions:' + #name: 'framedBox1' + #layout: #(#LayoutFrame 0 0.0 151 0 0 1.0 268 0) + #labelPosition: #topLeft + #component: + #(#SpecCollection + #collection: #( + #(#LabelSpec + #label: 'Column Width:' + #name: 'widthLabel' + #layout: #(#AlignmentOrigin 140 0.0 23 0 1 0.5) + #resizeForLabel: true + #adjust: #right + ) + #(#InputFieldSpec + #name: 'widthField' + #layout: #(#LayoutFrame 142 0 12 0 2 1.0 34 0) + #activeHelpKey: #frameColumnWidth + #tabable: true + #model: #width + #group: #inputGroup + #type: #numberOrNil + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + #(#LabelSpec + #label: 'Min Width:' + #name: 'minWidthLabel' + #layout: #(#AlignmentOrigin 140 0.0 51 0 1 0.5) + #resizeForLabel: true + #adjust: #right + ) + #(#InputFieldSpec + #name: 'minWidthField' + #layout: #(#LayoutFrame 142 0 40 0 2 1.0 62 0) + #activeHelpKey: #frameMinWidth + #tabable: true + #model: #minWidth + #group: #inputGroup + #type: #numberOrNil + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + #(#LabelSpec + #label: 'Row Height:' + #name: 'heightLabel' + #layout: #(#AlignmentOrigin 140 0.0 79 0 1 0.5) + #resizeForLabel: true + #adjust: #right + ) + #(#InputFieldSpec + #name: 'heightField' + #layout: #(#LayoutFrame 142 0 68 0 2 1.0 90 0) + #activeHelpKey: #frameRowHeight + #tabable: true + #model: #height + #group: #inputGroup + #type: #numberOrNil + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + ) + + ) + ) + ) + + ) ) ! @@ -995,149 +1019,160 @@ - ^ - - #(#FullSpec - #window: - #(#WindowSpec - #name: 'DataSet Basic' - #layout: #(#LayoutFrame 104 0 195 0 434 0 522 0) - #label: 'DataSet Basic' - #min: #(#Point 10 10) - #max: #(#Point 1280 1024) - #bounds: #(#Rectangle 104 195 435 523) - #usePreferredExtent: false - ) - #component: - #(#SpecCollection - #collection: - #( - #(#FramedBoxSpec - #name: 'framedBox1' - #layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 87 0) - #component: - #(#SpecCollection - #collection: - #( - #(#LabelSpec - #name: 'ActionLabel' - #layout: #(#AlignmentOrigin 95 0 20 0 1 0.5) - #label: 'Selector:' - #adjust: #left - #resizeForLabel: true - ) - #(#InputFieldSpec - #name: 'ActionSelector' - #layout: #(#LayoutFrame 98 0 9 0 3 1.0 31 0) - #activeHelpKey: #selectionLabelClickSelector - #tabable: true - #model: #labelActionSelector - #type: #symbolOrNil - #modifiedChannel: #modifiedChannel - #acceptChannel: #acceptChannel - #acceptOnLostFocus: true - ) - #(#LabelSpec - #name: 'ArgumentLabel' - #layout: #(#AlignmentOrigin 95 0 45 0 1 0.5) - #label: 'Argument:' - #adjust: #left - #resizeForLabel: true - ) - #(#InputFieldSpec - #name: 'ArgumentValue' - #layout: #(#LayoutFrame 98 0 34 0 3 1.0 56 0) - #activeHelpKey: #selectionLabelSelectorArgument - #tabable: true - #model: #labelActionArgument - #type: #string - #modifiedChannel: #modifiedChannel - #acceptChannel: #acceptChannel - #acceptOnLostFocus: true - ) - ) - ) - #label: 'Label Select Action:' - #labelPosition: #topLeft - ) - #(#FramedBoxSpec - #name: 'framedBox2' - #layout: #(#LayoutFrame 0 0.0 95 0 0 1.0 205 0) - #component: - #(#SpecCollection - #collection: - #( - #(#CheckBoxSpec - #name: 'canSelect' - #layout: #(#Point 95 1) - #activeHelpKey: #selectionIsSelectable - #tabable: true - #model: #canSelect - #label: 'Is Selectable' - ) - #(#LabelSpec - #name: 'selectorLabel' - #layout: #(#AlignmentOrigin 95 0 37 0 1 0.5) - #label: 'Selector:' - #adjust: #right - #resizeForLabel: true - ) - #(#InputFieldSpec - #name: 'selectSelector' - #layout: #(#LayoutFrame 98 0 26 0 3 1.0 48 0) - #activeHelpKey: #selectionCellClickSelector - #tabable: true - #model: #selectSelector - #type: #symbolOrNil - #modifiedChannel: #modifiedChannel - #acceptChannel: #acceptChannel - #acceptOnLostFocus: true - ) - #(#CheckBoxSpec - #name: 'showSelectionHighLightened' - #layout: #(#LayoutFrame 95 0 53 0 3 1.0 77 0) - #activeHelpKey: #showSelectionHighLighted - #tabable: true - #model: #showSelectionHighLighted - #label: 'Show Selection HighLightened' - ) - ) - ) - #label: 'Cell Selection:' - #labelPosition: #topLeft - ) - #(#FramedBoxSpec - #name: 'framedBox3' - #layout: #(#LayoutFrame 0 0.0 217 0 0 1.0 274 0) - #component: - #(#SpecCollection - #collection: - #( - #(#LabelSpec - #name: 'doubleLabel' - #layout: #(#AlignmentOrigin 95 0 19 0 1 0.5) - #label: 'Selector:' - #adjust: #right - #resizeForLabel: true - ) - #(#InputFieldSpec - #name: 'doubleClicked' - #layout: #(#LayoutFrame 98 0 8 0 3 1.0 30 0) - #activeHelpKey: #selectionCellDoubleClickSelector - #tabable: true - #model: #doubleClickedSelector - #type: #symbolOrNil - #modifiedChannel: #modifiedChannel - #acceptChannel: #acceptChannel - #acceptOnLostFocus: true - ) - ) - ) - #label: 'Cell Double Click:' - #labelPosition: #topLeft - ) + ^ + #(#FullSpec + #name: #selectionEditSpec + #window: + #(#WindowSpec + #label: 'DataSet Basic' + #name: 'DataSet Basic' + #layout: #(#LayoutFrame 699 0 270 0 1029 0 597 0) + #level: 0 + #min: #(#Point 10 10) + #max: #(#Point 1280 1024) + #bounds: #(#Rectangle 699 270 1030 598) + #usePreferredExtent: false + #returnIsOKInDialog: true + #escapeIsCancelInDialog: true + ) + #component: + #(#SpecCollection + #collection: #( + #(#FramedBoxSpec + #label: 'Label Select Action:' + #name: 'framedBox1' + #layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 87 0) + #labelPosition: #topLeft + #component: + #(#SpecCollection + #collection: #( + #(#LabelSpec + #label: 'Selector:' + #name: 'ActionLabel' + #layout: #(#AlignmentOrigin 95 0 20 0 1 0.5) + #resizeForLabel: true + #adjust: #left + ) + #(#InputFieldSpec + #name: 'ActionSelector' + #layout: #(#LayoutFrame 98 0 9 0 3 1.0 31 0) + #activeHelpKey: #selectionLabelClickSelector + #tabable: true + #model: #labelActionSelector + #group: #inputGroup + #type: #symbolOrNil + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + #(#LabelSpec + #label: 'Argument:' + #name: 'ArgumentLabel' + #layout: #(#AlignmentOrigin 95 0 45 0 1 0.5) + #resizeForLabel: true + #adjust: #left + ) + #(#InputFieldSpec + #name: 'ArgumentValue' + #layout: #(#LayoutFrame 98 0 34 0 3 1.0 56 0) + #activeHelpKey: #selectionLabelSelectorArgument + #tabable: true + #model: #labelActionArgument + #group: #inputGroup + #type: #string + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + ) + ) - ) + ) + #(#FramedBoxSpec + #label: 'Cell Selection:' + #name: 'framedBox2' + #layout: #(#LayoutFrame 0 0.0 95 0 0 1.0 205 0) + #labelPosition: #topLeft + #component: + #(#SpecCollection + #collection: #( + #(#CheckBoxSpec + #label: 'Is Selectable' + #name: 'canSelect' + #layout: #(#Point 95 1) + #activeHelpKey: #selectionIsSelectable + #tabable: true + #model: #canSelect + ) + #(#LabelSpec + #label: 'Selector:' + #name: 'selectorLabel' + #layout: #(#AlignmentOrigin 95 0 37 0 1 0.5) + #resizeForLabel: true + #adjust: #right + ) + #(#InputFieldSpec + #name: 'selectSelector' + #layout: #(#LayoutFrame 98 0 26 0 3 1.0 48 0) + #activeHelpKey: #selectionCellClickSelector + #tabable: true + #model: #selectSelector + #group: #inputGroup + #type: #symbolOrNil + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + #(#CheckBoxSpec + #label: 'Show Selection HighLightened' + #name: 'showSelectionHighLightened' + #layout: #(#LayoutFrame 95 0 53 0 3 1.0 77 0) + #activeHelpKey: #showSelectionHighLighted + #tabable: true + #model: #showSelectionHighLighted + ) + ) + + ) + ) + #(#FramedBoxSpec + #label: 'Cell Double Click:' + #name: 'framedBox3' + #layout: #(#LayoutFrame 0 0.0 217 0 0 1.0 274 0) + #labelPosition: #topLeft + #component: + #(#SpecCollection + #collection: #( + #(#LabelSpec + #label: 'Selector:' + #name: 'doubleLabel' + #layout: #(#AlignmentOrigin 95 0 19 0 1 0.5) + #resizeForLabel: true + #adjust: #right + ) + #(#InputFieldSpec + #name: 'doubleClicked' + #layout: #(#LayoutFrame 98 0 8 0 3 1.0 30 0) + #activeHelpKey: #selectionCellDoubleClickSelector + #tabable: true + #model: #doubleClickedSelector + #group: #inputGroup + #type: #symbolOrNil + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + ) + + ) + ) + ) + + ) ) ! @@ -1166,173 +1201,188 @@ - ^ - - #(#FullSpec - #window: - #(#WindowSpec - #name: 'DataSet Basic' - #layout: #(#LayoutFrame 14 0 192 0 309 0 497 0) - #label: 'DataSet Basic' - #min: #(#Point 10 10) - #max: #(#Point 1280 1024) - #bounds: #(#Rectangle 14 192 310 498) - #usePreferredExtent: false - ) - #component: - #(#SpecCollection - #collection: - #( - #(#FramedBoxSpec - #name: 'valuesBox' - #layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 110 0) - #component: - #(#SpecCollection - #collection: - #( - #(#LabelSpec - #name: 'readLabel' - #layout: #(#AlignmentOrigin 94 0 15 0 1 0.5) - #label: 'Read:' - #adjust: #right - #resizeForLabel: true - ) - #(#InputFieldSpec - #name: 'readSelector' - #layout: #(#LayoutFrame 97 0 4 0 2 1.0 26 0) - #activeHelpKey: #valuesReadSelector - #tabable: true - #model: #readSelector - #type: #symbolOrNil - #modifiedChannel: #modifiedChannel - #acceptChannel: #acceptChannel - #acceptOnLostFocus: true - ) - #(#LabelSpec - #name: 'writeLabel' - #layout: #(#AlignmentOrigin 94 0 40 0 1 0.5) - #label: 'Write:' - #adjust: #right - #resizeForLabel: true - ) - #(#InputFieldSpec - #name: 'writeSelector' - #layout: #(#LayoutFrame 97 0 29 0 2 1.0 51 0) - #activeHelpKey: #valuesWriteSelector - #tabable: true - #model: #writeSelector - #type: #symbolOrNil - #modifiedChannel: #modifiedChannel - #acceptChannel: #acceptChannel - #acceptOnLostFocus: true - ) - #(#LabelSpec - #name: 'printLabel' - #layout: #(#AlignmentOrigin 94 0 65 0 1 0.5) - #label: 'Print:' - #adjust: #right - #resizeForLabel: true - ) - #(#InputFieldSpec - #name: 'printSelector' - #layout: #(#LayoutFrame 97 0 54 0 2 1.0 76 0) - #activeHelpKey: #valuesPrintSelector - #tabable: true - #model: #printSelector - #type: #symbolOrNil - #modifiedChannel: #modifiedChannel - #acceptChannel: #acceptChannel - #acceptOnLostFocus: true - ) - ) - ) - #label: 'Value Selectors:' - #labelPosition: #topLeft - ) - #(#FramedBoxSpec - #name: 'menusBox' - #layout: #(#LayoutFrame 0 0.0 119 0 0 1.0 176 0) - #component: - #(#SpecCollection - #collection: - #( - #(#LabelSpec - #name: 'menuLabel' - #layout: #(#AlignmentOrigin 94 0 15 0 1 0.5) - #label: 'Selector:' - #adjust: #right - #resizeForLabel: true - ) - #(#InputFieldSpec - #name: 'menuSelector' - #layout: #(#LayoutFrame 97 0 4 0 2 1.0 26 0) - #activeHelpKey: #valuesMenuSelector - #tabable: true - #model: #menu - #type: #symbolOrNil - #modifiedChannel: #modifiedChannel - #acceptChannel: #acceptChannel - #acceptOnLostFocus: true - ) - ) - ) - #label: 'Menu:' - #labelPosition: #topLeft - ) - #(#FramedBoxSpec - #name: 'framedBox1' - #layout: #(#LayoutFrame 1 0.0 191 0 1 1.0 279 0) - #component: - #(#SpecCollection - #collection: - #( - #(#LabelSpec - #name: 'ChoicesLabel' - #layout: #(#AlignmentOrigin 94 0 15 0 1 0.5) - #activeHelpKey: #valuesChoiceSelector - #label: 'Choices:' - #adjust: #right - #resizeForLabel: true - ) - #(#InputFieldSpec - #name: 'ChoicesField' - #layout: #(#LayoutFrame 97 0 4 0 2 1.0 26 0) - #activeHelpKey: #valuesChoiceSelector - #tabable: true - #model: #choices - #type: #symbolOrNil - #acceptOnLeave: false - #modifiedChannel: #modifiedChannel - #acceptChannel: #acceptChannel - #acceptOnLostFocus: true - ) - #(#LabelSpec - #name: 'ShowInputFieldLabel' - #layout: #(#AlignmentOrigin 94 0 41 0 1 0.5) - #activeHelpKey: #showComboFieldSelector - #label: 'Editable:' - #adjust: #right - #resizeForLabel: true - ) - #(#InputFieldSpec - #name: 'ShowInputFieldField' - #layout: #(#LayoutFrame 97 0 30 0 2 1.0 52 0) - #activeHelpKey: #showComboFieldSelector - #tabable: true - #model: #showComboFieldSelector - #type: #symbolOrNil - #acceptOnLeave: false - #modifiedChannel: #modifiedChannel - #acceptChannel: #acceptChannel - #acceptOnLostFocus: true - ) - ) - ) - #label: 'Combo List/Box Selectors:' - #labelPosition: #topLeft - ) + ^ + #(#FullSpec + #name: #valuesEditSpec + #window: + #(#WindowSpec + #label: 'DataSet Basic' + #name: 'DataSet Basic' + #layout: #(#LayoutFrame 699 0 270 0 994 0 575 0) + #level: 0 + #min: #(#Point 10 10) + #max: #(#Point 1280 1024) + #bounds: #(#Rectangle 699 270 995 576) + #usePreferredExtent: false + #returnIsOKInDialog: true + #escapeIsCancelInDialog: true + ) + #component: + #(#SpecCollection + #collection: #( + #(#FramedBoxSpec + #label: 'Value Selectors:' + #name: 'valuesBox' + #layout: #(#LayoutFrame 0 0.0 3 0 0 1.0 110 0) + #labelPosition: #topLeft + #component: + #(#SpecCollection + #collection: #( + #(#LabelSpec + #label: 'Read:' + #name: 'readLabel' + #layout: #(#AlignmentOrigin 94 0 15 0 1 0.5) + #resizeForLabel: true + #adjust: #right + ) + #(#InputFieldSpec + #name: 'readSelector' + #layout: #(#LayoutFrame 97 0 4 0 2 1.0 26 0) + #activeHelpKey: #valuesReadSelector + #tabable: true + #model: #readSelector + #group: #inputGroup + #type: #symbolOrNil + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + #(#LabelSpec + #label: 'Write:' + #name: 'writeLabel' + #layout: #(#AlignmentOrigin 94 0 40 0 1 0.5) + #resizeForLabel: true + #adjust: #right + ) + #(#InputFieldSpec + #name: 'writeSelector' + #layout: #(#LayoutFrame 97 0 29 0 2 1.0 51 0) + #activeHelpKey: #valuesWriteSelector + #tabable: true + #model: #writeSelector + #group: #inputGroup + #type: #symbolOrNil + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + #(#LabelSpec + #label: 'Print:' + #name: 'printLabel' + #layout: #(#AlignmentOrigin 94 0 65 0 1 0.5) + #resizeForLabel: true + #adjust: #right + ) + #(#InputFieldSpec + #name: 'printSelector' + #layout: #(#LayoutFrame 97 0 54 0 2 1.0 76 0) + #activeHelpKey: #valuesPrintSelector + #tabable: true + #model: #printSelector + #group: #inputGroup + #type: #symbolOrNil + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + ) + ) - ) + ) + #(#FramedBoxSpec + #label: 'Menu:' + #name: 'menusBox' + #layout: #(#LayoutFrame 0 0.0 119 0 0 1.0 176 0) + #labelPosition: #topLeft + #component: + #(#SpecCollection + #collection: #( + #(#LabelSpec + #label: 'Selector:' + #name: 'menuLabel' + #layout: #(#AlignmentOrigin 94 0 15 0 1 0.5) + #resizeForLabel: true + #adjust: #right + ) + #(#InputFieldSpec + #name: 'menuSelector' + #layout: #(#LayoutFrame 97 0 4 0 2 1.0 26 0) + #activeHelpKey: #valuesMenuSelector + #tabable: true + #model: #menu + #group: #inputGroup + #type: #symbolOrNil + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + ) + + ) + ) + #(#FramedBoxSpec + #label: 'Combo List/Box Selectors:' + #name: 'framedBox1' + #layout: #(#LayoutFrame 1 0.0 191 0 1 1.0 279 0) + #labelPosition: #topLeft + #component: + #(#SpecCollection + #collection: #( + #(#LabelSpec + #label: 'Choices:' + #name: 'ChoicesLabel' + #layout: #(#AlignmentOrigin 94 0 15 0 1 0.5) + #activeHelpKey: #valuesChoiceSelector + #resizeForLabel: true + #adjust: #right + ) + #(#InputFieldSpec + #name: 'ChoicesField' + #layout: #(#LayoutFrame 97 0 4 0 2 1.0 26 0) + #activeHelpKey: #valuesChoiceSelector + #tabable: true + #model: #choices + #group: #inputGroup + #type: #symbolOrNil + #acceptOnLeave: false + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + #(#LabelSpec + #label: 'Editable:' + #name: 'ShowInputFieldLabel' + #layout: #(#AlignmentOrigin 94 0 41 0 1 0.5) + #activeHelpKey: #showComboFieldSelector + #resizeForLabel: true + #adjust: #right + ) + #(#InputFieldSpec + #name: 'ShowInputFieldField' + #layout: #(#LayoutFrame 97 0 30 0 2 1.0 52 0) + #activeHelpKey: #showComboFieldSelector + #tabable: true + #model: #showComboFieldSelector + #group: #inputGroup + #type: #symbolOrNil + #acceptOnLeave: false + #acceptOnLostFocus: false + #acceptChannel: #acceptChannel + #modifiedChannel: #modifiedChannel + #acceptOnPointerLeave: false + ) + ) + + ) + ) + ) + + ) ) ! @@ -1351,131 +1401,128 @@ - ^ - - #(#FullSpec - #window: - #(#WindowSpec - #name: 'Data Set Builder' - #layout: #(#LayoutFrame 216 0 173 0 848 0 739 0) - #label: 'Data Set Builder' - #min: #(#Point 10 10) - #max: #(#Point 1152 900) - #bounds: #(#Rectangle 216 173 849 740) - #menu: #menu - #usePreferredExtent: false - ) - #component: - #(#SpecCollection - #collection: - #( - #(#MenuPanelSpec - #name: 'menuToolbarView' - #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 32 0) - #menu: #menuToolbar - ) - #(#VariableVerticalPanelSpec - #name: 'VariableVerticalPanel1' - #layout: #(#LayoutFrame 0 0.0 38 0.0 0 1.0 -26 1.0) + ^ + #(#FullSpec + #name: #windowSpec + #window: + #(#WindowSpec + #label: 'Data Set Builder' + #name: 'Data Set Builder' + #layout: #(#LayoutFrame 93 0 74 0 725 0 640 0) + #level: 0 + #min: #(#Point 10 10) + #max: #(#Point 1152 900) + #bounds: #(#Rectangle 93 74 726 641) + #menu: #menu + #usePreferredExtent: false + #returnIsOKInDialog: true + #escapeIsCancelInDialog: true + ) + #component: + #(#SpecCollection + #collection: #( + #(#MenuPanelSpec + #name: 'menuToolbarView' + #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 32 0) + #menu: #menuToolbar + ) + #(#VariableVerticalPanelSpec + #name: 'VariableVerticalPanel1' + #layout: #(#LayoutFrame 0 0.0 38 0.0 0 1.0 -26 1.0) + #handles: #(#Any 0.25 1.0) + #component: + #(#SpecCollection + #collection: #( + #(#FramedBoxSpec + #label: 'Table Columns' + #name: 'FramedBox' + #labelPosition: #topLeft #component: - #(#SpecCollection - #collection: - #( - #(#FramedBoxSpec - #name: 'FramedBox' - #component: - #(#SpecCollection - #collection: - #( - #(#DataSetSpec - #name: 'columnView' - #layout: #(#LayoutFrame 2 0.0 6 0.0 2 1.0 6 1.0) - #hasHorizontalScrollBar: true - #hasVerticalScrollBar: false - #miniScrollerHorizontal: true - #useIndex: false - #has3Dsepartors: true - #has3Dseparators: true - ) - ) + #(#SpecCollection + #collection: #( + #(#DataSetSpec + #name: 'columnView' + #layout: #(#LayoutFrame 2 0.0 6 0.0 2 1.0 6 1.0) + #hasHorizontalScrollBar: true + #hasVerticalScrollBar: false + #miniScrollerHorizontal: true + #useIndex: false + #has3Dsepartors: true + #has3Dseparators: true + ) + ) + + ) + ) + #(#VariableHorizontalPanelSpec + #name: 'VariablePanel' + #level: -1 + #handles: #(#Any 0.235387 1.0) + #component: + #(#SpecCollection + #collection: #( + #(#ViewSpec + #name: 'labelsView' + #component: + #(#SpecCollection + #collection: #( + #(#SequenceViewSpec + #name: 'labelAndColumns' + #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) + #model: #selectedColumnModel + #menu: #menuEdit + #hasHorizontalScrollBar: true + #hasVerticalScrollBar: true + #miniScrollerHorizontal: true + #useIndex: true + #sequenceList: #seqList ) - #label: 'Table Columns' - #labelPosition: #topLeft - ) - #(#VariableHorizontalPanelSpec - #name: 'VariablePanel' - #component: - #(#SpecCollection - #collection: - #( - #(#ViewSpec - #name: 'labelsView' - #component: - #(#SpecCollection - #collection: - #( - #(#SequenceViewSpec - #name: 'labelAndColumns' - #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) - #model: #selectedColumnModel - #menu: #menuEdit - #hasHorizontalScrollBar: true - #hasVerticalScrollBar: true - #miniScrollerHorizontal: true - #useIndex: true - #sequenceList: #seqList - ) - ) - ) - ) - #(#ViewSpec - #name: 'specView' - #component: - #(#SpecCollection - #collection: - #( - #(#TabViewSpec - #name: 'tabView' - #layout: #(#LayoutFrame 1 0.0 0 0 0 1.0 50 0) - #model: #tabModel - #menu: #tabList - #useIndex: true - ) - #(#SubCanvasSpec - #name: 'specCanvas' - #layout: #(#LayoutFrame 1 0.0 50 0.0 0 1.0 -30 1.0) - #specHolder: #specChannel - ) - #(#UISubSpecification - #name: 'SubSpecification' - #layout: #(#LayoutFrame 2 0.0 -26 1 -2 1.0 -2 1.0) - #majorKey: #ToolApplicationModel - #minorKey: #windowSpecForCommit - ) - ) - ) - #level: -1 - ) - ) - ) - #level: -1 - #handles: #(#Any 0.235387 1.0) + ) + ) ) + #(#ViewSpec + #name: 'specView' + #level: -1 + #component: + #(#SpecCollection + #collection: #( + #(#NoteBookViewSpec + #name: 'NoteBook' + #layout: #(#LayoutFrame 1 0.0 0 0.0 0 1.0 -30 1.0) + #model: #tabModel + #menu: #tabList + #useIndex: true + #canvas: #noteBook + ) + #(#UISubSpecification + #name: 'SubSpecification' + #layout: #(#LayoutFrame 2 0.0 -26 1 -2 1.0 -2 1.0) + #majorKey: #ToolApplicationModel + #minorKey: #windowSpecForCommit + ) + ) + + ) + ) + ) + ) - #handles: #(#Any 0.25 1.0) - ) - #(#UISubSpecification - #name: 'infoBarSubSpec' - #layout: #(#LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0) - #majorKey: #ToolApplicationModel - #minorKey: #windowSpecForInfoBar - ) + ) + ) + ) - ) + ) + #(#UISubSpecification + #name: 'infoBarSubSpec' + #layout: #(#LayoutFrame 0 0.0 -24 1 0 1.0 0 1.0) + #majorKey: #ToolApplicationModel + #minorKey: #windowSpecForInfoBar + ) + ) + + ) ) - - "Modified: / 13.8.1998 / 19:55:36 / cg" ! ! !DataSetBuilder class methodsFor:'menu specs'! @@ -1993,16 +2040,6 @@ ^ list ! -specChannel - - |holder| - - (holder := builder bindingAt:#specChannel) isNil ifTrue:[ - builder aspectAt:#specChannel put:(holder := ValueHolder new). - ]. - ^ holder -! - style ^self aspectFor:#labelFont @@ -2031,7 +2068,9 @@ self updateColumnView. self updateInputFields. self updateInfoLabel. - self updateHistory + self updateHistory. + self modifiedChannel value: false. + self valueOfEnablingCommitButtons value:false. ] ]. @@ -2043,7 +2082,7 @@ self seqList removeAll. self updateColumnView. self updateInfoLabel. - self specChannel value:nil. + noteBook client:self spec:nil builder:builder. self isColumnSelected value: false. ^self ]. @@ -2065,7 +2104,7 @@ list := columns ]. self columns:list. - updateBlock value + updateBlock value. ! @@ -2080,7 +2119,8 @@ self updateInputFields. self updateInfoLabel. self updateHistory - ] + ]. + ! ! !DataSetBuilder methodsFor:'change & update'! @@ -2441,9 +2481,9 @@ super initialize. selectedColumnIndex := 0. - columns := OrderedCollection new. - modalOpened := false - + columns := OrderedCollection new. + modalOpened := false. + noteBook := SubCanvas new. ! ! @@ -2507,7 +2547,7 @@ columnView list: #(). columnView columnDescriptors: previewColumns. columnView list: columnList. - ] + ]. "Modified: / 27.10.1998 / 14:41:16 / cg" ! @@ -2520,11 +2560,13 @@ (column := self selectedColumn) isNil ifTrue:[ self tabModel value:0. ] ifFalse:[ + aspects do:[:anAspect| anAspect value:'' ]. aspects keysAndValuesDo:[:aKey :aModel | aModel value:(column perform:aKey) withoutNotifying: self ]. - tabSelection == 0 ifTrue:[self tabModel value:1] - ] + tabSelection == 0 ifTrue:[self tabModel value:1]. + ]. + ! ! !DataSetBuilder methodsFor:'selection'! @@ -2549,8 +2591,7 @@ something == selectedColumnIndex ifFalse:[ selectedColumnIndex := something ? 0. self isColumnSelected value: true - ] - + ]. ! tabSelection:something @@ -2568,8 +2609,7 @@ specSelector := (self class slices at:tabSelection) last ] ]. - self specChannel value:specSelector. - + noteBook client:self spec:specSelector builder:builder. ! ! !DataSetBuilder methodsFor:'startup / release'! @@ -2649,6 +2689,7 @@ self valueOfEnablingCommitButtons value:false. self columnIsNotEditing value: true. self modifiedChannel value: false. + self valueOfEnablingCommitButtons value:false. "Modified: / 27.10.1998 / 14:41:41 / cg" ! @@ -2967,6 +3008,15 @@ ! ! +!DataSetBuilder methodsFor:'values'! + +noteBook + "returns the noteBook widget + " + ^ noteBook + +! ! + !DataSetBuilder::Row methodsFor:'accessing'! choices