# HG changeset patch # User Claus Gittinger # Date 921873480 -3600 # Node ID 1a9bbca19e2513a4db8cb87b160d78bf3b40d474 # Parent 9e710dbc7c92a12aca297ec07e102598db5baf2a help spec; new inputField accept/modified behavior diff -r 9e710dbc7c92 -r 1a9bbca19e25 DataSetBuilder.st --- a/DataSetBuilder.st Fri Mar 19 15:12:25 1999 +0100 +++ b/DataSetBuilder.st Fri Mar 19 20:58:00 1999 +0100 @@ -151,6 +151,9 @@ #basicsJustification 'Aligns the label to the left, right, or center in the cell.' +#basicsJustificationEditor +'Aligns the column editor to the left, right, or center in the cell.' + #basicsLabel 'The label of the column (String or StringCollection) or a selector returning the label.' @@ -158,7 +161,7 @@ 'Unique identifier of the column (optional).' #basicsLabelIsImage -'Label is actually the selector if a message providing an image-label.' +'Label is actually the selector of a message providing an image-label.' #basicsLabelTranslate 'Translate the label via the resource mechanism to a national language string.' @@ -251,7 +254,7 @@ 'A selector called if a cell was clicked.' #selectionLabelSelectorArgument -'An argument passed to the label selection selector.' +'An optional argument passed with the message above.' #showComboFieldSelector 'Selector which returns true if the editor on the ComboBox/List has an input field.' @@ -356,6 +359,8 @@ #immediateAccept: true #acceptOnLeave: true #acceptOnLostFocus: true + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel ) #(#LabelSpec #name: 'LabelFont' @@ -417,6 +422,9 @@ #activeHelpKey: #basicsLabelId #tabable: true #model: #id + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) ) ) @@ -460,6 +468,9 @@ #type: #symbolOrNil #comboList: #editorTypeList #useIndex: false + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) #(#LabelSpec #name: 'JustificationC' @@ -471,7 +482,7 @@ #(#PopUpListSpec #name: 'AlignmentC' #layout: #(#LayoutFrame 142 0 58 0 2 1.0 80 0) - #activeHelpKey: #basicsJustification + #activeHelpKey: #basicsJustificationEditor #label: 'Alignment' #model: #columnAlignment #menu: @@ -610,6 +621,9 @@ #tabable: true #model: #foregroundSelector #type: #symbolOrNil + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) #(#LabelSpec #name: 'bgSelLabel' @@ -625,6 +639,9 @@ #tabable: true #model: #backgroundSelector #type: #symbolOrNil + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) ) ) @@ -787,6 +804,9 @@ #tabable: true #model: #size #type: #numberOrNil + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) #(#LabelSpec #name: 'formatLabel' @@ -800,6 +820,9 @@ #activeHelpKey: #formatTextFormat #tabable: true #model: #formatString + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) ) ) @@ -867,6 +890,9 @@ #tabable: true #model: #rowSeparatorSelector #type: #symbolOrNil + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) #(#CheckBoxSpec #name: 'showColSeparator' @@ -902,6 +928,9 @@ #tabable: true #model: #width #type: #numberOrNil + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) #(#LabelSpec #name: 'minWidthLabel' @@ -917,6 +946,9 @@ #tabable: true #model: #minWidth #type: #numberOrNil + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) #(#LabelSpec #name: 'heightLabel' @@ -932,6 +964,9 @@ #tabable: true #model: #height #type: #numberOrNil + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) ) ) @@ -995,6 +1030,9 @@ #tabable: true #model: #labelActionSelector #type: #symbolOrNil + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) #(#LabelSpec #name: 'ArgumentLabel' @@ -1010,6 +1048,9 @@ #tabable: true #model: #labelActionArgument #type: #string + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) ) ) @@ -1045,6 +1086,9 @@ #tabable: true #model: #selectSelector #type: #symbolOrNil + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) #(#CheckBoxSpec #name: 'showSelectionHighLightened' @@ -1080,6 +1124,9 @@ #tabable: true #model: #doubleClickedSelector #type: #symbolOrNil + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) ) ) @@ -1154,6 +1201,9 @@ #tabable: true #model: #readSelector #type: #symbolOrNil + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) #(#LabelSpec #name: 'writeLabel' @@ -1169,6 +1219,9 @@ #tabable: true #model: #writeSelector #type: #symbolOrNil + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) #(#LabelSpec #name: 'printLabel' @@ -1184,6 +1237,9 @@ #tabable: true #model: #printSelector #type: #symbolOrNil + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) ) ) @@ -1211,6 +1267,9 @@ #tabable: true #model: #menu #type: #symbolOrNil + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) ) ) @@ -1240,6 +1299,9 @@ #model: #choices #type: #symbolOrNil #acceptOnLeave: false + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) #(#LabelSpec #name: 'ShowInputFieldLabel' @@ -1257,6 +1319,9 @@ #model: #showComboFieldSelector #type: #symbolOrNil #acceptOnLeave: false + #modifiedChannel: #modifiedChannel + #acceptChannel: #acceptChannel + #acceptOnLostFocus: true ) ) ) @@ -2581,6 +2646,7 @@ self updateInputFields. self valueOfEnablingCommitButtons value:false. self columnIsNotEditing value: true. + self modifiedChannel value: false. "Modified: / 27.10.1998 / 14:41:41 / cg" !