181 |
185 |
182 #browseRowClass |
186 #browseRowClass |
183 'Open a browser on the row class' |
187 'Open a browser on the row class' |
184 |
188 |
185 #colorsBackgroundCellColor |
189 #colorsBackgroundCellColor |
186 'Sets the background color of the column.' |
190 'The background color of the cell.' |
187 |
191 |
188 #colorsBackgroundLabelColor |
192 #colorsBackgroundLabelColor |
189 'Sets the background color of the label.' |
193 'The background color of the label.' |
190 |
194 |
191 #colorsBackgroundSelector |
195 #colorsBackgroundSelector |
192 'Selector returning the background color for a cell (optional).' |
196 'Optional selector returning the background color for the cell.' |
193 |
197 |
194 #colorsForegroundCellColor |
198 #colorsForegroundCellColor |
195 'Sets the foreground color of the column.' |
199 'The foreground color of the cell.' |
196 |
200 |
197 #colorsForegroundLabelColor |
201 #colorsForegroundLabelColor |
198 'Sets the foreground color of the label.' |
202 'The foreground color of the label.' |
199 |
203 |
200 #colorsForegroundSelector |
204 #colorsForegroundSelector |
201 'Selector returning the foreground color for a cell (optional).' |
205 'Optional selector returning the foreground color for a cell.' |
202 |
206 |
203 #converterSelector |
207 #converterSelector |
204 'Selector returning a TypeConverter on the model the argument or nil.' |
208 'Selector returning a TypeConverter on the model the argument or nil.' |
205 |
209 |
206 #fileLoad |
210 #fileLoad |
251 #isResizable |
255 #isResizable |
252 'Column can be resized by user.' |
256 'Column can be resized by user.' |
253 |
257 |
254 #pickColumns |
258 #pickColumns |
255 'Select an open view and readOut the column specification from it.' |
259 'Select an open view and readOut the column specification from it.' |
|
260 |
|
261 #selectedBackgroundCellColor |
|
262 'Optional background color of a selected cell.' |
|
263 |
|
264 #selectedBackgroundCellColorSelector |
|
265 'Optional selector returning the background color for a selected cell.' |
|
266 |
|
267 #selectedForegroundCellColor |
|
268 'Optional foreground color of a selected cell.' |
|
269 |
|
270 #selectedForegroundCellColorSelector |
|
271 'Optional selector returning the foreground color for a selected cell.' |
256 |
272 |
257 #selectionCellClickSelector |
273 #selectionCellClickSelector |
258 'Message sent if cell is about to be selected - return boolean to en/disable editing' |
274 'Message sent if cell is about to be selected - return boolean to en/disable editing' |
259 |
275 |
260 #selectionCellDoubleClickSelector |
276 #selectionCellDoubleClickSelector |
572 window: |
591 window: |
573 (WindowSpec |
592 (WindowSpec |
574 label: 'DataSet Misc' |
593 label: 'DataSet Misc' |
575 name: 'DataSet Misc' |
594 name: 'DataSet Misc' |
576 min: (Point 10 10) |
595 min: (Point 10 10) |
577 bounds: (Rectangle 14 46 383 346) |
596 bounds: (Rectangle 0 0 369 451) |
578 ) |
597 ) |
579 component: |
598 component: |
580 (SpecCollection |
599 (SpecCollection |
581 collection: ( |
600 collection: ( |
582 (FramedBoxSpec |
601 (FramedBoxSpec |
583 label: 'Label Colors:' |
602 label: 'Label Colors:' |
584 name: 'ColorsBox' |
603 name: 'ColorsBox' |
585 layout: (LayoutFrame 0 0.0 3 0 0 1.0 95 0) |
604 layout: (LayoutFrame 0 0.0 3 0 0 1.0 86 0) |
586 labelPosition: topLeft |
605 labelPosition: topLeft |
|
606 translateLabel: true |
587 component: |
607 component: |
588 (SpecCollection |
608 (SpecCollection |
589 collection: ( |
609 collection: ( |
590 (LabelSpec |
610 (LabelSpec |
591 label: 'Foreground:' |
611 label: 'Foreground:' |
592 name: 'label1' |
612 name: 'label1' |
593 layout: (AlignmentOrigin 112 0 24 0 1 0.5) |
613 layout: (AlignmentOrigin 112 0 14 0 1 0.5) |
|
614 translateLabel: true |
594 resizeForLabel: true |
615 resizeForLabel: true |
595 adjust: right |
616 adjust: right |
596 ) |
617 ) |
597 (ColorMenuSpec |
618 (ColorMenuSpec |
598 name: 'colorMenu1' |
619 name: 'colorMenu1' |
599 layout: (LayoutFrame 115 0 12 0 -3 1.0 34 0) |
620 layout: (LayoutFrame 115 0 2 0 -3 1.0 24 0) |
600 activeHelpKey: colorsForegroundLabelColor |
621 activeHelpKey: colorsForegroundLabelColor |
601 model: labelForegroundColor |
622 model: labelForegroundColor |
602 labelsAreColored: true |
623 labelsAreColored: true |
603 ) |
624 ) |
604 (LabelSpec |
625 (LabelSpec |
605 label: 'Background:' |
626 label: 'Background:' |
606 name: 'label2' |
627 name: 'label2' |
607 layout: (AlignmentOrigin 112 0 52 0 1 0.5) |
628 layout: (AlignmentOrigin 112 0 42 0 1 0.5) |
|
629 translateLabel: true |
608 resizeForLabel: true |
630 resizeForLabel: true |
609 adjust: right |
631 adjust: right |
610 ) |
632 ) |
611 (ColorMenuSpec |
633 (ColorMenuSpec |
612 name: 'colorMenu2' |
634 name: 'colorMenu2' |
613 layout: (LayoutFrame 115 0 40 0 -3 1.0 62 0) |
635 layout: (LayoutFrame 115 0 30 0 -3 1.0 52 0) |
614 activeHelpKey: colorsBackgroundLabelColor |
636 activeHelpKey: colorsBackgroundLabelColor |
615 model: labelBackgroundColor |
637 model: labelBackgroundColor |
616 labelsAreColored: false |
638 labelsAreColored: false |
617 ) |
639 ) |
618 ) |
640 ) |
620 ) |
642 ) |
621 ) |
643 ) |
622 (FramedBoxSpec |
644 (FramedBoxSpec |
623 label: 'Cell Colors:' |
645 label: 'Cell Colors:' |
624 name: 'defaultColorsBox' |
646 name: 'defaultColorsBox' |
625 layout: (LayoutFrame 0 0.0 108 0 0 1.0 263 0) |
647 layout: (LayoutFrame 0 0.0 91 0 0 1.0 232 0) |
626 labelPosition: topLeft |
648 labelPosition: topLeft |
|
649 translateLabel: true |
627 component: |
650 component: |
628 (SpecCollection |
651 (SpecCollection |
629 collection: ( |
652 collection: ( |
630 (LabelSpec |
653 (LabelSpec |
631 label: 'Foreground:' |
654 label: 'Foreground:' |
632 name: 'fgLabel' |
655 name: 'fgLabel' |
633 layout: (AlignmentOrigin 112 0 28 0 1 0.5) |
656 layout: (AlignmentOrigin 112 0 11 0 1 0.5) |
|
657 translateLabel: true |
634 resizeForLabel: true |
658 resizeForLabel: true |
635 adjust: right |
659 adjust: right |
636 ) |
660 ) |
637 (ColorMenuSpec |
661 (ColorMenuSpec |
638 name: 'fgMenu' |
662 name: 'fgMenu' |
639 layout: (LayoutFrame 115 0 16 0 -3 1.0 38 0) |
663 layout: (LayoutFrame 115 0 -1 0 -3 1.0 21 0) |
640 activeHelpKey: colorsForegroundCellColor |
664 activeHelpKey: colorsForegroundCellColor |
641 model: foregroundColor |
665 model: foregroundColor |
642 labelsAreColored: true |
666 labelsAreColored: true |
643 ) |
667 ) |
644 (LabelSpec |
668 (LabelSpec |
645 label: 'Background:' |
669 label: 'Background:' |
646 name: 'bgLabel' |
670 name: 'bgLabel' |
647 layout: (AlignmentOrigin 112 0 56 0 1 0.5) |
671 layout: (AlignmentOrigin 112 0 39 0 1 0.5) |
|
672 translateLabel: true |
648 resizeForLabel: true |
673 resizeForLabel: true |
649 adjust: right |
674 adjust: right |
650 ) |
675 ) |
651 (ColorMenuSpec |
676 (ColorMenuSpec |
652 name: 'bgMenu' |
677 name: 'bgMenu' |
653 layout: (LayoutFrame 115 0 44 0 -3 1.0 66 0) |
678 layout: (LayoutFrame 115 0 27 0 -3 1.0 49 0) |
654 activeHelpKey: colorsBackgroundCellColor |
679 activeHelpKey: colorsBackgroundCellColor |
655 model: backgroundColor |
680 model: backgroundColor |
656 labelsAreColored: false |
681 labelsAreColored: false |
657 ) |
682 ) |
658 (LabelSpec |
683 (LabelSpec |
659 label: 'FG-Selector:' |
684 label: 'FG-Selector:' |
660 name: 'fgSelLabel' |
685 name: 'fgSelLabel' |
661 layout: (AlignmentOrigin 112 0 90 0 1 0.5) |
686 layout: (AlignmentOrigin 112 0 73 0 1 0.5) |
|
687 translateLabel: true |
662 resizeForLabel: true |
688 resizeForLabel: true |
663 adjust: right |
689 adjust: right |
664 ) |
690 ) |
665 (InputFieldSpec |
691 (InputFieldSpec |
666 name: 'fgSelField' |
692 name: 'fgSelField' |
667 layout: (LayoutFrame 115 0 79 0 0 1.0 101 0) |
693 layout: (LayoutFrame 115 0 62 0 0 1.0 84 0) |
668 activeHelpKey: colorsForegroundSelector |
694 activeHelpKey: colorsForegroundSelector |
669 tabable: true |
695 tabable: true |
670 model: foregroundSelector |
696 model: foregroundSelector |
671 group: inputGroup |
697 group: inputGroup |
672 type: symbolOrNil |
698 type: symbolOrNil |
676 acceptOnPointerLeave: false |
702 acceptOnPointerLeave: false |
677 ) |
703 ) |
678 (LabelSpec |
704 (LabelSpec |
679 label: 'BG-Selector:' |
705 label: 'BG-Selector:' |
680 name: 'bgSelLabel' |
706 name: 'bgSelLabel' |
681 layout: (AlignmentOrigin 112 0 115 0 1 0.5) |
707 layout: (AlignmentOrigin 112 0 98 0 1 0.5) |
|
708 translateLabel: true |
682 resizeForLabel: true |
709 resizeForLabel: true |
683 adjust: right |
710 adjust: right |
684 ) |
711 ) |
685 (InputFieldSpec |
712 (InputFieldSpec |
686 name: 'bgSelField' |
713 name: 'bgSelField' |
687 layout: (LayoutFrame 115 0 104 0 0 1.0 126 0) |
714 layout: (LayoutFrame 115 0 87 0 0 1.0 109 0) |
688 activeHelpKey: colorsBackgroundSelector |
715 activeHelpKey: colorsBackgroundSelector |
689 tabable: true |
716 tabable: true |
690 model: backgroundSelector |
717 model: backgroundSelector |
|
718 group: inputGroup |
|
719 type: symbolOrNil |
|
720 acceptOnLostFocus: false |
|
721 acceptChannel: acceptChannel |
|
722 modifiedChannel: modifiedChannel |
|
723 acceptOnPointerLeave: false |
|
724 ) |
|
725 ) |
|
726 |
|
727 ) |
|
728 ) |
|
729 (FramedBoxSpec |
|
730 label: 'Selected Cell Colors:' |
|
731 name: 'selectedCellColorsBox' |
|
732 layout: (LayoutFrame 0 0.0 236 0 0 1.0 377 0) |
|
733 labelPosition: topLeft |
|
734 translateLabel: true |
|
735 component: |
|
736 (SpecCollection |
|
737 collection: ( |
|
738 (LabelSpec |
|
739 label: 'Foreground:' |
|
740 name: 'selFgLabel' |
|
741 layout: (AlignmentOrigin 112 0 11 0 1 0.5) |
|
742 translateLabel: true |
|
743 resizeForLabel: true |
|
744 adjust: right |
|
745 ) |
|
746 (ColorMenuSpec |
|
747 name: 'selFgMenu' |
|
748 layout: (LayoutFrame 115 0 -1 0 -3 1.0 21 0) |
|
749 activeHelpKey: selectedForegroundCellColorSelector |
|
750 model: selectedForegroundColor |
|
751 labelsAreColored: true |
|
752 ) |
|
753 (LabelSpec |
|
754 label: 'Background:' |
|
755 name: 'selBgLabel' |
|
756 layout: (AlignmentOrigin 112 0 39 0 1 0.5) |
|
757 translateLabel: true |
|
758 resizeForLabel: true |
|
759 adjust: right |
|
760 ) |
|
761 (ColorMenuSpec |
|
762 name: 'selBgMenu' |
|
763 layout: (LayoutFrame 115 0 27 0 -3 1.0 49 0) |
|
764 activeHelpKey: colorsBackgroundCellColor |
|
765 model: selectedBackgroundColor |
|
766 labelsAreColored: false |
|
767 ) |
|
768 (LabelSpec |
|
769 label: 'FG-Selector:' |
|
770 name: 'Label3' |
|
771 layout: (AlignmentOrigin 112 0 73 0 1 0.5) |
|
772 translateLabel: true |
|
773 resizeForLabel: true |
|
774 adjust: right |
|
775 ) |
|
776 (InputFieldSpec |
|
777 name: 'EntryField1' |
|
778 layout: (LayoutFrame 115 0 62 0 0 1.0 84 0) |
|
779 activeHelpKey: colorsForegroundSelector |
|
780 tabable: true |
|
781 model: selectedForegroundSelector |
|
782 group: inputGroup |
|
783 type: symbolOrNil |
|
784 acceptOnLostFocus: false |
|
785 acceptChannel: acceptChannel |
|
786 modifiedChannel: modifiedChannel |
|
787 acceptOnPointerLeave: false |
|
788 ) |
|
789 (LabelSpec |
|
790 label: 'BG-Selector:' |
|
791 name: 'Label4' |
|
792 layout: (AlignmentOrigin 112 0 98 0 1 0.5) |
|
793 translateLabel: true |
|
794 resizeForLabel: true |
|
795 adjust: right |
|
796 ) |
|
797 (InputFieldSpec |
|
798 name: 'EntryField2' |
|
799 layout: (LayoutFrame 115 0 87 0 0 1.0 109 0) |
|
800 activeHelpKey: colorsBackgroundSelector |
|
801 tabable: true |
|
802 model: selectedBackgroundSelector |
691 group: inputGroup |
803 group: inputGroup |
692 type: symbolOrNil |
804 type: symbolOrNil |
693 acceptOnLostFocus: false |
805 acceptOnLostFocus: false |
694 acceptChannel: acceptChannel |
806 acceptChannel: acceptChannel |
695 modifiedChannel: modifiedChannel |
807 modifiedChannel: modifiedChannel |
1048 acceptChannel: acceptChannel |
1160 acceptChannel: acceptChannel |
1049 modifiedChannel: modifiedChannel |
1161 modifiedChannel: modifiedChannel |
1050 acceptOnPointerLeave: false |
1162 acceptOnPointerLeave: false |
1051 ) |
1163 ) |
1052 (CheckBoxSpec |
1164 (CheckBoxSpec |
1053 label: 'Compute Width From Items' |
1165 label: 'Compute Width from Items' |
1054 name: 'usePreferredWidth' |
1166 name: 'usePreferredWidth' |
1055 layout: (LayoutFrame 5 0 96 0 324 0 118 0) |
1167 layout: (LayoutFrame 5 0 96 0 -5 1 118 0) |
1056 activeHelpKey: usePreferredWidth |
1168 activeHelpKey: usePreferredWidth |
1057 tabable: true |
1169 tabable: true |
1058 model: usePreferredWidth |
1170 model: usePreferredWidth |
1059 ) |
1171 ) |
1060 (CheckBoxSpec |
1172 (CheckBoxSpec |
1061 label: 'Is Resizeable' |
1173 label: 'Is Resizeable' |
1062 name: 'isResizeable' |
1174 name: 'isResizeable' |
1063 layout: (LayoutFrame -361 1.0 121 0 -28 1.0 144 0) |
1175 layout: (LayoutFrame 5 0 121 0 -5 1.0 144 0) |
1064 activeHelpKey: isResizeable |
1176 activeHelpKey: isResizeable |
1065 tabable: true |
1177 tabable: true |
1066 model: isResizeable |
1178 model: isResizeable |
1067 ) |
1179 ) |
1068 ) |
1180 ) |
2340 generateDoubleClickSelectorIn:aClass |
2451 generateDoubleClickSelectorIn:aClass |
2341 "generate code for #foregroundSelector" |
2452 "generate code for #foregroundSelector" |
2342 |
2453 |
2343 |sel catg code bCode| |
2454 |sel catg code bCode| |
2344 |
2455 |
2345 catg := #'accessing action'. |
2456 catg := #'accessing-action'. |
2346 code := '\' |
2457 code := '\' |
2347 , ' "automatically generated by DataSetBuilder ..."\' |
2458 , ' "automatically generated by DataSetBuilder ..."\' |
2348 , '\' |
2459 , '\' |
2349 , ' "specific selector to be called on double click"\' |
2460 , ' "specific selector to be called on double click"\' |
2350 , '\' |
2461 , '\' |
2365 generateForegroundSelectorIn:aClass |
2476 generateForegroundSelectorIn:aClass |
2366 "generate code for #foregroundSelector |
2477 "generate code for #foregroundSelector |
2367 " |
2478 " |
2368 |sel catg code bCode| |
2479 |sel catg code bCode| |
2369 |
2480 |
2370 catg := #'accessing look'. |
2481 catg := #'accessing-look'. |
2371 code := '\' |
2482 code := '\' |
2372 , ' "automatically generated by DataSetBuilder ..."\' |
2483 , ' "automatically generated by DataSetBuilder ..."\' |
2373 , '\' |
2484 , '\' |
2374 , ' "specific foreground color for a cell"\' |
2485 , ' "specific foreground color for a cell"\' |
2375 , '\' |
2486 , '\' |