DataSetBuilder.st
changeset 2903 8470507f8cd8
parent 2840 3fc46b951a0f
child 2944 17933efd2f0f
equal deleted inserted replaced
2902:2a7a9d68d16c 2903:8470507f8cd8
   204     <resource: #help>
   204     <resource: #help>
   205 
   205 
   206     ^ super helpSpec addPairsFrom:#(
   206     ^ super helpSpec addPairsFrom:#(
   207 
   207 
   208 #addColumn
   208 #addColumn
   209 'Adds a new column.'
   209 'Adds a new colum'
   210 
   210 
   211 #addNonSelectableColumn
   211 #addNonSelectableColumn
   212 'Adds a new non-selectable column.'
   212 'Adds a new non-selectable column'
   213 
   213 
   214 #basicsEditor
   214 #basicsEditor
   215 'Default widget type or a selector returning an instance of a user defined widget opened in the cell.'
   215 'Default widget type or a selector returning an instance of a user defined widget opened in the cell'
   216 
   216 
   217 #basicsFont
   217 #basicsFont
   218 'Sets the font of the labeled text.'
   218 'Sets the font of the labeled text'
   219 
   219 
   220 #basicsJustification
   220 #basicsJustification
   221 'Aligns the label to the left, right, or center in the cell.'
   221 'Aligns the label to the left, right, or center in the cell'
   222 
   222 
   223 #basicsJustificationEditor
   223 #basicsJustificationEditor
   224 'Aligns the column editor to the left, right, or center in the cell.'
   224 'Aligns the column editor to the left, right, or center in the cell'
   225 
   225 
   226 #basicsLabel
   226 #basicsLabel
   227 'The label of the column, a String or an array of Strings.'
   227 'The label of the column, a String or an array of Strings'
   228 
   228 
   229 #basicsLabelId
   229 #basicsLabelId
   230 'Unique identifier of the column (optional).'
   230 'Unique identifier of the column (optional)'
   231 
   231 
   232 #basicsLabelIsImage
   232 #basicsLabelIsImage
   233 'Label is actually the selector of a message providing an image-label.'
   233 'Label is actually the selector of a message providing an image-label'
   234 
   234 
   235 #basicsLabelTranslate
   235 #basicsLabelTranslate
   236 'Translate the label via the resource mechanism to a national language string.'
   236 'Translate the label via the resource mechanism to a national language string'
   237 
   237 
   238 #basicsRenderer
   238 #basicsRenderer
   239 'Specifies displaying cell as Text, CheckToggle, ComboBox, ComboList or as a RowSelector.'
   239 'Specifies displaying cell as Text, CheckToggle, ComboBox, ComboList or as a RowSelector'
   240 
   240 
   241 #browseRowClass
   241 #browseRowClass
   242 'Open a browser on the row class'
   242 'Open a browser on the row class'
   243 
   243 
   244 #colorsBackgroundCellColor
   244 #colorsBackgroundCellColor
   245 'The background color of the cell.'
   245 'The background color of the cell'
   246 
   246 
   247 #colorsBackgroundLabelColor
   247 #colorsBackgroundLabelColor
   248 'The background color of the label.'
   248 'The background color of the label'
   249 
   249 
   250 #colorsBackgroundSelector
   250 #colorsBackgroundSelector
   251 'Optional selector returning the background color for the cell (with optional row/column args).'
   251 'Optional selector returning the background color for the cell (with optional row/column args)'
   252 
   252 
   253 #colorsForegroundCellColor
   253 #colorsForegroundCellColor
   254 'The foreground color of the cell (with optional row/column args).'
   254 'The foreground color of the cell (with optional row/column args)'
   255 
   255 
   256 #colorsForegroundLabelColor
   256 #colorsForegroundLabelColor
   257 'The foreground color of the label.'
   257 'The foreground color of the label'
   258 
   258 
   259 #colorsForegroundSelector
   259 #colorsForegroundSelector
   260 'Optional selector returning the foreground color for a cell.'
   260 'Optional selector returning the foreground color for a cell'
   261 
   261 
   262 #converterSelector
   262 #converterSelector
   263 'Selector returning a TypeConverter on the model the argument or nil.'
   263 'Selector returning a TypeConverter on the model the argument or nil'
   264 
   264 
   265 #fileLoad
   265 #fileLoad
   266 'Specify class/selector and edit that column description'
   266 'Specify class/selector and edit that column description'
   267 
   267 
   268 #fileNew
   268 #fileNew
   273 
   273 
   274 #fileSaveAs
   274 #fileSaveAs
   275 'Specify class/selector and install the column description'
   275 'Specify class/selector and install the column description'
   276 
   276 
   277 #formatFormatSelector
   277 #formatFormatSelector
   278 'Selector sent to the row to get the format string.'
   278 'Selector sent to the row to get the format string'
   279 
   279 
   280 #formatInputType
   280 #formatInputType
   281 'A type converter symbol used by the input field.'
   281 'A type converter symbol used by the input field'
   282 
   282 
   283 #formatMaxSize
   283 #formatMaxSize
   284 'Maximum size of the string which can be typed in. 0 or nil means unlimited.'
   284 'Maximum size of the string which can be typed in. 0 or nil means unlimited'
   285 
   285 
   286 #formatTextFormat
   286 #formatTextFormat
   287 'Format string specifying the output format of the cell text. (printf-format - for example: %5.4f gives 0.0000).'
   287 'Format string specifying the output format of the cell text. (printf-format - for example: %5.4f gives 0.0000)'
   288 
   288 
   289 #frameColumnWidth
   289 #frameColumnWidth
   290 'Width (fixed or relative) of a column (optional).'
   290 'Width (fixed or relative) of a column (optional)'
   291 
   291 
   292 #frameMinWidth
   292 #frameMinWidth
   293 'Minimum width of the column (optional).'
   293 'Minimum width of the column (optional)'
   294 
   294 
   295 #frameRowHeight
   295 #frameRowHeight
   296 'Height of the row (optional).'
   296 'Height of the row (optional)'
   297 
   297 
   298 #frameShowColumnSeparator
   298 #frameShowColumnSeparator
   299 'Turns on/off displaying column separators.'
   299 'Turns on/off displaying column separators'
   300 
   300 
   301 #frameShowRowSeparator
   301 #frameShowRowSeparator
   302 'Turns on/off displaying row separators.'
   302 'Turns on/off displaying row separators'
   303 
   303 
   304 #frameShowRowSeparatorSelector
   304 #frameShowRowSeparatorSelector
   305 'Message selector to test if the bottom separator is shown.'
   305 'Message selector to test if the bottom separator is shown'
   306 
   306 
   307 #generateCode
   307 #generateCode
   308 'Generate code and install in the selected class/selector.'
   308 'Generate code and install in the selected class/selector'
   309 
   309 
   310 #isResizable
   310 #isResizable
   311 'Column can be resized by user.'
   311 'Column can be resized by user'
   312 
   312 
   313 #isSortable
   313 #isSortable
   314 'Adds indicator to allow user to sort rows based on this column.'
   314 'Adds indicator to allow user to sort rows based on this column'
   315 
   315 
   316 #pickColumns
   316 #pickColumns
   317 'Select an open view and readOut the column specification from it.'
   317 'Select an open view and readOut the column specification from it'
   318 
   318 
   319 #selectedBackgroundCellColor
   319 #selectedBackgroundCellColor
   320 'Optional background color of a selected cell.'
   320 'Optional background color of a selected cell'
   321 
   321 
   322 #selectedBackgroundCellColorSelector
   322 #selectedBackgroundCellColorSelector
   323 'Optional selector returning the background color for a selected cell.'
   323 'Optional selector returning the background color for a selected cell'
   324 
   324 
   325 #selectedForegroundCellColor
   325 #selectedForegroundCellColor
   326 'Optional foreground color of a selected cell.'
   326 'Optional foreground color of a selected cell'
   327 
   327 
   328 #selectedForegroundCellColorSelector
   328 #selectedForegroundCellColorSelector
   329 'Optional selector returning the foreground color for a selected cell.'
   329 'Optional selector returning the foreground color for a selected cell'
   330 
   330 
   331 #selectionCellClickSelector
   331 #selectionCellClickSelector
   332 'Message sent if cell is about to be selected - return boolean to en/disable editing'
   332 'Message sent if cell is about to be selected - return boolean to en/disable editing'
   333 
   333 
   334 #selectionCellDoubleClickSelector
   334 #selectionCellDoubleClickSelector
   335 'Message sent if cell is double clicked'
   335 'Message sent if cell is double clicked'
   336 
   336 
   337 #selectionCellSelector
   337 #selectionCellSelector
   338 'Name of the message sent to the row to validate a selection.'
   338 'Name of the message sent to the row to validate a selection'
   339 
   339 
   340 #selectionIsSelectable
   340 #selectionIsSelectable
   341 'Turns on/off selection behavior of a column.'
   341 'Turns on/off selection behavior of a column'
   342 
   342 
   343 #selectionLabelClickSelector
   343 #selectionLabelClickSelector
   344 'Message sent if a columns label was clicked on'
   344 'Message sent if a columns label was clicked on'
   345 
   345 
   346 #selectionLabelSelectorArgument
   346 #selectionLabelSelectorArgument
   347 'An optional argument passed with the message above.'
   347 'An optional argument passed with the message above'
   348 
   348 
   349 #showComboFieldSelector
   349 #showComboFieldSelector
   350 'Selector which returns true if the editor on the ComboBox/List has an input field.'
   350 'Selector which returns true if the editor on the ComboBox/List has an input field'
   351 
   351 
   352 #showSelectionHighLighted
   352 #showSelectionHighLighted
   353 'Show selected cell highligthened (change fg/bg color).'
   353 'Show selected cell highligthened (change fg/bg color)'
   354 
   354 
   355 #sortBlockSelector
   355 #sortBlockSelector
   356 'Sent to the row to retrieve a selector which is sent to the application to provide a block for sorting.'
   356 'Sent to the row to retrieve a selector which is sent to the application to provide a block for sorting'
   357 
   357 
   358 #sortSelector
   358 #sortSelector
   359 'Sent to the row to extract the value used for sorting. If a block is returned, that one is used as sortBlock.'
   359 'Sent to the row to extract the value used for sorting. If a block is returned, that one is used as sortBlock'
   360 
   360 
   361 #usePreferredWidth
   361 #usePreferredWidth
   362 'Compute width from first 10 row items.'
   362 'Compute width from first 10 row items'
   363 
   363 
   364 #valuesChoicesSelector
   364 #valuesChoicesSelector
   365 'Selector to get a collection of choices for a cell having a ComboBox or a ComboList widget.'
   365 'Selector to get a collection of choices for a cell having a ComboBox or a ComboList widget'
   366 
   366 
   367 #valuesMenuFromApplication
   367 #valuesMenuFromApplication
   368 'Fetch the menu from the application (instead of the row)'
   368 'Fetch the menu from the application (instead of the row)'
   369 
   369 
   370 #valuesMenuSelector
   370 #valuesMenuSelector
   371 'Selector to retrieve the middle button menu.'
   371 'Selector to retrieve the middle button menu'
   372 
   372 
   373 #valuesPrintSelector
   373 #valuesPrintSelector
   374 'Selector used to register images on a DSVColumnView (the arg). For more detailed info see #register... methods in DSVColumnView.'
   374 'Selector used to register images on a DSVColumnView (the arg). For more detailed info see #register... methods in DSVColumnView'
   375 
   375 
   376 #valuesReadSelector
   376 #valuesReadSelector
   377 'Selector returning the label to be displayed (string, bitmap or a collection).'
   377 'Selector returning the label to be displayed (string, bitmap or a collection)'
   378 
   378 
   379 #valuesVisibilitySelector
   379 #valuesVisibilitySelector
   380 'Boolean message selector controlling the columns visibility.'
   380 'Boolean message selector controlling the columns visibility'
   381 
   381 
   382 #valuesWriteSelector
   382 #valuesWriteSelector
   383 'Selector used to set the value derived from the editor.'
   383 'Selector used to set the value derived from the editor'
   384 
   384 
   385 #valuesXChoicesSelector
   385 #valuesXChoicesSelector
   386 'Selector to get a collection of translated choices for a cell having a ComboBox or a ComboList widget.'
   386 'Selector to get a collection of translated choices for a cell having a ComboBox or a ComboList widget'
   387 
   387 
   388 )
   388 )
   389 
   389 
   390     "Modified: / 01-04-2011 / 16:23:39 / cg"
   390     "Modified: / 09-08-2012 / 09:36:06 / cg"
   391 ! !
   391 ! !
   392 
   392 
   393 !DataSetBuilder class methodsFor:'image specs'!
   393 !DataSetBuilder class methodsFor:'image specs'!
   394 
   394 
   395 newColumnIcon
   395 newColumnIcon