UISpecificationTool.st
author Claus Gittinger <cg@exept.de>
Wed, 07 Jul 1999 21:25:49 +0200
changeset 1168 d297bc428326
parent 1166 ee8ff9acf223
child 1176 d74bb0388a1e
permissions -rw-r--r--
separated misc into embed & misc; added StepSlider
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
164
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
     1
"
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
     2
 COPYRIGHT (c) 1995 by eXept Software AG
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
     3
              All Rights Reserved
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
     4
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
     5
 This software is furnished under a license and may be used
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    10
 hereby transferred.
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    11
"
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    12
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    13
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    14
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    15
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    16
ApplicationModel subclass:#UISpecificationTool
759
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
    17
	instanceVariableNames:'modifiedHolder aspects specification selection specChannel
1063
9e710dbc7c92 inputFields use modified & acceptChannels
Claus Gittinger <cg@exept.de>
parents: 1051
diff changeset
    18
		scrolledView windowFrame acceptChannel'
164
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    19
	classVariableNames:''
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    20
	poolDictionaries:''
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    21
	category:'Interface-UIPainter'
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    22
!
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    23
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    24
!UISpecificationTool class methodsFor:'documentation'!
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    25
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    26
copyright
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    27
"
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    28
 COPYRIGHT (c) 1995 by eXept Software AG
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    29
              All Rights Reserved
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    30
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    31
 This software is furnished under a license and may be used
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    32
 only in accordance with the terms of that license and with the
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    33
 inclusion of the above copyright notice.   This software may not
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    34
 be provided or otherwise made available to, or used by, any
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    35
 other person.  No title to or ownership of the software is
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    36
 hereby transferred.
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    37
"
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    38
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    39
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    40
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    41
!
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    42
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    43
documentation
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    44
"
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    45
    used by the UIPainter to manipulate the specifications of the selected component
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    46
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    47
    [author:]
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    48
        Claus Atzkern
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    49
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    50
    [see also:]
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    51
        UIPainter
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    52
        UILayoutTool
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    53
        UIHelpTool
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    54
"
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    55
! !
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
    56
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
    57
!UISpecificationTool class methodsFor:'help specs'!
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
    58
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
    59
helpSpec
752
2dc82cdfdd90 help texts
tz
parents: 610
diff changeset
    60
    "This resource specification was automatically generated
2dc82cdfdd90 help texts
tz
parents: 610
diff changeset
    61
     by the UIHelpTool of ST/X."
2dc82cdfdd90 help texts
tz
parents: 610
diff changeset
    62
2dc82cdfdd90 help texts
tz
parents: 610
diff changeset
    63
    "Do not manually edit this!! If it is corrupted,
2dc82cdfdd90 help texts
tz
parents: 610
diff changeset
    64
     the UIHelpTool may not be able to read the specification."
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
    65
847
15f688710007 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 845
diff changeset
    66
    "
752
2dc82cdfdd90 help texts
tz
parents: 610
diff changeset
    67
     UIHelpTool openOnClass:UISpecificationTool    
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
    68
    "
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
    69
752
2dc82cdfdd90 help texts
tz
parents: 610
diff changeset
    70
    <resource: #help>
2dc82cdfdd90 help texts
tz
parents: 610
diff changeset
    71
2dc82cdfdd90 help texts
tz
parents: 610
diff changeset
    72
    ^super helpSpec addPairsFrom:#(
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
    73
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
    74
#acceptChannel
780
96270af95475 help texts revised
tz
parents: 759
diff changeset
    75
'Aspect selector or binding for accepting the entry.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
    76
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
    77
#acceptImmediate
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
    78
'Enable sending of the entered string to the model with every key press.'
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
    79
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
    80
#acceptOnLeave
1153
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
    81
'Enable sending of the entered string to the model when field is left via a keyboard action.'
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
    82
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
    83
#acceptOnLostFocus
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
    84
'Enable sending of the entered string to the model when the field looses its input focus.'
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
    85
1153
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
    86
#acceptOnPointerLeaveFocus
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
    87
'Enable sending of the entered string to the model when field is left via a mouse motion.'
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
    88
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
    89
#acceptOnReturn
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
    90
'Enable sending of the entered string to the model when the RETURN key is pressed.'
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
    91
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
    92
#acceptOnTab
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
    93
'Enable sending of the entered string to the model when the TAB key is pressed.'
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
    94
303
798e309561f1 checkin from browser
ca
parents: 294
diff changeset
    95
#action
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
    96
'Name of the message sent to the application when the widget is activated.'
303
798e309561f1 checkin from browser
ca
parents: 294
diff changeset
    97
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
    98
#actionArg
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
    99
'Optional argument passed with the action message.'
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
   100
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   101
#appletParamText
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   102
'Paste the complete appletTAGs HTML text here (i.e. all from <applet> up to and including the </applet>). Press parse to extract all parameters from it.'
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   103
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   104
#appletTextParse
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   105
'Parse the appletTAG and fill the parameters directory from it.'
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   106
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   107
#arbitraryView
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   108
'The name of the message sent to the application to provide the view instance.'
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   109
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   110
#archiveEntry
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   111
'The name of a zip-file archive, if the class(es) are to be loaded from a zip-archive.'
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   112
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   113
#arrowButtonDirection
780
96270af95475 help texts revised
tz
parents: 759
diff changeset
   114
'Defines the direction of the arrow.'
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   115
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   116
#autoRepeat
1154
0febd9497fe1 help string
Claus Gittinger <cg@exept.de>
parents: 1153
diff changeset
   117
'Enable auto-repeat of the action as long as the button is pressed (Must be Trigger-on-Down).'
307
fe559a9136d9 changes caused by update of help tool
ca
parents: 303
diff changeset
   118
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
   119
#backgroundChannel
1165
40ffba106cde help texts
Claus Gittinger <cg@exept.de>
parents: 1164
diff changeset
   120
'Aspect selector or binding for a background color holder.'
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
   121
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   122
#backgroundColor
780
96270af95475 help texts revised
tz
parents: 759
diff changeset
   123
'Defines the background color of the widget.'
303
798e309561f1 checkin from browser
ca
parents: 294
diff changeset
   124
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   125
#beDefault
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   126
'Show a default (-return) bitmap after the label.'
307
fe559a9136d9 changes caused by update of help tool
ca
parents: 303
diff changeset
   127
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   128
#beDependentOfRows
1164
b56fe337f2ea help texts
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   129
'Make the widget dependent on each row (ie rows send change messages).'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   130
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   131
#booleanHolder
837
51876d557fed help texts
Claus Gittinger <cg@exept.de>
parents: 801
diff changeset
   132
'Aspect selector or binding for a boolean holder which enables the widget.'
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   133
1166
ee8ff9acf223 help texts
Claus Gittinger <cg@exept.de>
parents: 1165
diff changeset
   134
#booleanModel
ee8ff9acf223 help texts
Claus Gittinger <cg@exept.de>
parents: 1165
diff changeset
   135
'Aspect selector or binding for a holder on the boolean state.'
ee8ff9acf223 help texts
Claus Gittinger <cg@exept.de>
parents: 1165
diff changeset
   136
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   137
#borderWidth
783
06d23b8b66bd help texts
tz
parents: 780
diff changeset
   138
'Defines the width of the border (in pixels).'
303
798e309561f1 checkin from browser
ca
parents: 294
diff changeset
   139
1166
ee8ff9acf223 help texts
Claus Gittinger <cg@exept.de>
parents: 1165
diff changeset
   140
#buttonModelArg
ee8ff9acf223 help texts
Claus Gittinger <cg@exept.de>
parents: 1165
diff changeset
   141
'Value stored into the model when the button is pressed.'
ee8ff9acf223 help texts
Claus Gittinger <cg@exept.de>
parents: 1165
diff changeset
   142
307
fe559a9136d9 changes caused by update of help tool
ca
parents: 303
diff changeset
   143
#canvas
780
96270af95475 help texts revised
tz
parents: 759
diff changeset
   144
'Aspect selector or binding for the widget placed into the notebook.'
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   145
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   146
#canvasArgument
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   147
'An optional argument passed with the message.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   148
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   149
#canvasSelector
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   150
'The name of the message sent to the application after opening the canvas.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   151
1153
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   152
#chartHolder
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   153
'Value holder on a chart description.'
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   154
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   155
#chartLabel
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   156
'Label string shown with the chart.'
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   157
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   158
#clientHolder
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   159
'Aspect selector or binding for a holder on the client application to be opened.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   160
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   161
#clientKey
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   162
'Name of the message which returns an application. By default the application itself is used.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   163
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   164
#codeBaseHolder
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   165
'The URL of the directory, where the classFile-file resides. If the classFile is located on the local machine, use\     file:/<fullPath>\ where fullPath is an absolute pathname. If its to be accessed via http, use\     http:/<host>/<relativePath>\ where relativePath is the path relative to the http''s top diretory on that host.'
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   166
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   167
#codeFileEntry
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   168
'The name of the java classFile which contains the applets code. For example: ''ArcTest.class'''
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   169
1164
b56fe337f2ea help texts
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   170
#columnAdaptor
b56fe337f2ea help texts
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   171
'Name of a method in the application which returns a column adaptor.'
b56fe337f2ea help texts
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   172
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   173
#columnButton
780
96270af95475 help texts revised
tz
parents: 759
diff changeset
   174
'Opens a Table Columns Builder.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   175
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   176
#columnHolder
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   177
'Aspect selector or binding for a holder on the list of the column descriptions.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   178
1165
40ffba106cde help texts
Claus Gittinger <cg@exept.de>
parents: 1164
diff changeset
   179
#converter
40ffba106cde help texts
Claus Gittinger <cg@exept.de>
parents: 1164
diff changeset
   180
'Method in the application returning a typeconverter.'
847
15f688710007 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 845
diff changeset
   181
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   182
#defaultLabel
780
96270af95475 help texts revised
tz
parents: 759
diff changeset
   183
'Default label (used, if nothing selected).'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   184
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   185
#document
855
07344de4bed4 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 847
diff changeset
   186
'Aspect selector or binding for a holder of the URL of the document.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   187
1163
b33772ad326f help texts
Claus Gittinger <cg@exept.de>
parents: 1162
diff changeset
   188
#dblClickChannel
b33772ad326f help texts
Claus Gittinger <cg@exept.de>
parents: 1162
diff changeset
   189
'Aspect selector or binding for a holder on the double-clicked item.'
b33772ad326f help texts
Claus Gittinger <cg@exept.de>
parents: 1162
diff changeset
   190
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   191
#doubleClickSelector
1028
592cfb2232ce help texts
Claus Gittinger <cg@exept.de>
parents: 1024
diff changeset
   192
'Message sent to the application upon double click.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   193
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   194
#downAction
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   195
'Name of the message sent to the application when the down(right)-button is pressed.'
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   196
1157
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   197
#dragDisplayObjects
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   198
'Message with one argument the DropSource, to get the list of Objects displayed during dragging'
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   199
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   200
#dragDropObjects
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   201
'Message with one argument the DropSource, to get the list of DropObjects'
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   202
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   203
#dragFeedBack
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   204
'Optional Message with one argument, the DropContext, to give a feedBack of the finished operation'
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   205
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   206
#dragStart
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   207
'Optional Message with two arguments, the DropSource and the view, called to start your own handler'
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   208
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   209
#dragStartArgument
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   210
'Optional user defined argument stored in the DropSource'
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   211
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   212
#dropArgument
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   213
'Optional user defined argument stored in the DropTarget'
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   214
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   215
#dropCanCheck
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   216
'Message with one argument, the DropContext, to asked if the context could be dropped'
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   217
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   218
#dropEnter
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   219
'Optional Message with one argument, the DropContext, send the first time when entering the widget'
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   220
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   221
#dropLeave
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   222
'Optional Message with one argument, the DropContext, send the last time when leaving the widget'
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   223
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   224
#dropOver
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   225
'Optional Message with one argument, the DropContext, send all the time when moveing over the widget'
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   226
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   227
#dropSelector
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   228
'Message with one argument, the DropContext, to drop the collection of objects'
cc039cdcc145 add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents: 1154
diff changeset
   229
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   230
#enableChannel
837
51876d557fed help texts
Claus Gittinger <cg@exept.de>
parents: 801
diff changeset
   231
'Aspect selector or binding for a boolean holder which enables the widget.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   232
1161
1b141606c286 help texts
Claus Gittinger <cg@exept.de>
parents: 1159
diff changeset
   233
#endMotionCallBack
1b141606c286 help texts
Claus Gittinger <cg@exept.de>
parents: 1159
diff changeset
   234
'Method invoked with end of thumb motion.'
1b141606c286 help texts
Claus Gittinger <cg@exept.de>
parents: 1159
diff changeset
   235
1051
148c81e896ac help texts
Claus Gittinger <cg@exept.de>
parents: 1042
diff changeset
   236
#escapeIsCancelInDialog
148c81e896ac help texts
Claus Gittinger <cg@exept.de>
parents: 1042
diff changeset
   237
'If on, and the window is opened modal, the ESC-Key acts like a Cancel-action'
148c81e896ac help texts
Claus Gittinger <cg@exept.de>
parents: 1042
diff changeset
   238
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   239
#fileSelectionFilterClas
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   240
'The name of the item class used to create the entries into the hierarchical list.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   241
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   242
#fileSelectionTreeRoot
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   243
'Aspect selector or binding for a holder on the root directories path name.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   244
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   245
#fitLastRow
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   246
'Resize the last row to fit the width of the widget.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   247
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   248
#fontMenu
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   249
'Defines the font used by the widget.'
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   250
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
   251
#forceRecursiveBackground
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   252
'If on, the background color is recursively set in all sub components.'
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
   253
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   254
#foregroundChannel
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   255
'Aspect selector or binding for a foreground color holder.'
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   256
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   257
#foregroundColor
780
96270af95475 help texts revised
tz
parents: 759
diff changeset
   258
'Defines the foreground color of the widget.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   259
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   260
#galleryLabels
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   261
'Aspect selector or binding for a holder on the label list.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   262
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   263
#galleryModel
780
96270af95475 help texts revised
tz
parents: 759
diff changeset
   264
'Aspect selector or binding for the selected label.'
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   265
307
fe559a9136d9 changes caused by update of help tool
ca
parents: 303
diff changeset
   266
#gallerySelection
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   267
'Aspect selector or binding for a holder which gets the windowSpec of the selected widget.'
307
fe559a9136d9 changes caused by update of help tool
ca
parents: 303
diff changeset
   268
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   269
#gallerySelectors
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   270
'Name of the message sent to the application returning a list of resource spec selectors.'
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   271
1164
b56fe337f2ea help texts
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   272
#has3Dseparators
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   273
'Enable 3D-look row/column separators.'
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
   274
1082
e0aa632c4016 help texts
Claus Gittinger <cg@exept.de>
parents: 1071
diff changeset
   275
#hasBorder
e0aa632c4016 help texts
Claus Gittinger <cg@exept.de>
parents: 1071
diff changeset
   276
'Draw a border around the widget - ignored in 3D view styles (ST80 compatibility).'
e0aa632c4016 help texts
Claus Gittinger <cg@exept.de>
parents: 1071
diff changeset
   277
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   278
#hierarchicalList
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   279
'Aspect selector or binding for a root item holder.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   280
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   281
#hierarchicalListButton
780
96270af95475 help texts revised
tz
parents: 759
diff changeset
   282
'Opens a Hierarchical List Editor on the application class and the defined selector.'
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   283
1153
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   284
#highlightMode
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   285
'Defines how selected items are highlighted'
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   286
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   287
#horizontalLayout
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   288
'Defines how sub components are arranged horizontally.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   289
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   290
#horizontalMiniScroller
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   291
'Use a mini-scroller as horizontal scrollbar.'
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   292
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   293
#horizontalScroller
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   294
'Enable horizontal scrollability.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   295
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   296
#horizontalSpace
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   297
'Horizontal space between sub components (in pixels).'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   298
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   299
#id
780
96270af95475 help texts revised
tz
parents: 759
diff changeset
   300
'Unique symbolic name (ID) of the widget.'
303
798e309561f1 checkin from browser
ca
parents: 294
diff changeset
   301
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   302
#initiallyDisabled
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   303
'Widget is initially disabled.'
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   304
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
   305
#initiallyInvisible
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   306
'Widget is initially invisible.'
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
   307
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
   308
#inputFieldGroup
780
96270af95475 help texts revised
tz
parents: 759
diff changeset
   309
'Unique symbolic name (ID) for the group of the entry field.'
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
   310
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   311
#isMultiSelect
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   312
'Enable/disable multiple selections.'
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   313
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   314
#isOpaque
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   315
'If on, the widget is displayed opaque; if off, its transparent.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   316
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   317
#isTriggerOnDown
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   318
'If on, the button triggers its action when pressed. If off, it triggers on release.'
303
798e309561f1 checkin from browser
ca
parents: 294
diff changeset
   319
1153
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   320
#itemChildrenSelector
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   321
'Method in the application to return a block retrieveing nodes (lazy) children.'
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   322
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   323
#itemContentsSelector
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   324
'Method in the application to return a block retrieveing a nodes (lazy) contents.'
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   325
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   326
#itemIconSelector
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   327
'Method in the application to return a block retrieveing nodes (lazy) icon.'
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   328
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   329
#itemLabelSelector
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   330
'Method in the application to return a block retrieveing nodes (lazy) label.'
587a2e40cbfc checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1082
diff changeset
   331
1161
1b141606c286 help texts
Claus Gittinger <cg@exept.de>
parents: 1159
diff changeset
   332
#keyboardStep
1b141606c286 help texts
Claus Gittinger <cg@exept.de>
parents: 1159
diff changeset
   333
'Defines the step used with cursor keys.'
1b141606c286 help texts
Claus Gittinger <cg@exept.de>
parents: 1159
diff changeset
   334
303
798e309561f1 checkin from browser
ca
parents: 294
diff changeset
   335
#label
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   336
'The label of the widget.'
303
798e309561f1 checkin from browser
ca
parents: 294
diff changeset
   337
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
   338
#labelChannel
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   339
'Aspect selector or binding for a labelString holder.'
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
   340
1159
1c5bac0c62c0 help text fixed
Claus Gittinger <cg@exept.de>
parents: 1157
diff changeset
   341
#labelAlignment
1c5bac0c62c0 help text fixed
Claus Gittinger <cg@exept.de>
parents: 1157
diff changeset
   342
'Specifies how the labels logo is positioned within the Label.'
1c5bac0c62c0 help text fixed
Claus Gittinger <cg@exept.de>
parents: 1157
diff changeset
   343
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
   344
#labelIsImage
837
51876d557fed help texts
Claus Gittinger <cg@exept.de>
parents: 801
diff changeset
   345
'Label is actually the selector if a message providing an image-label.'
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
   346
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   347
#labelPositionList
780
96270af95475 help texts revised
tz
parents: 759
diff changeset
   348
'Defines the position of the label.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   349
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   350
#lampColor
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   351
'Defines the lamps color.'
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   352
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   353
#level
1028
592cfb2232ce help texts
Claus Gittinger <cg@exept.de>
parents: 1024
diff changeset
   354
'Level of the 3D-border (in pixels); Take widgets default, if left empty.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   355
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   356
#listHolder
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   357
'Aspect selector or binding for the list holder.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   358
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   359
#majorKey
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   360
'Name of the class which provides the window spec. If empty, the application itself is used.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   361
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   362
#maxChars
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   363
'Maximum number of characters in the field.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   364
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   365
#maxSize
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   366
'Those two fields specify the windows maximum size. The user will not be allowed to resize it to a larger size.'
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   367
847
15f688710007 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 845
diff changeset
   368
#maxValue
15f688710007 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 845
diff changeset
   369
'An optional maximum value (if fieldType = numberInRange)'
15f688710007 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 845
diff changeset
   370
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   371
#maxXField
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   372
'The maximum width of the applications topWindow.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   373
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   374
#maxYField
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   375
'The maximum height of the applications topWindow.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   376
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   377
#menuButton
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   378
'Open a Menu Editor on the menu.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   379
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   380
#menuId
1051
148c81e896ac help texts
Claus Gittinger <cg@exept.de>
parents: 1042
diff changeset
   381
'Aspect selector or binding providing the menu spec.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   382
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   383
#menuPerformer
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   384
'Aspect selector or binding providing the receiver of menu messages.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   385
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   386
#middleButtonPressed
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   387
'Name of the message sent to the application when the middle button is pressed.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   388
847
15f688710007 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 845
diff changeset
   389
#minValue
15f688710007 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 845
diff changeset
   390
'An optional minimum value (if fieldType = numberInRange)'
15f688710007 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 845
diff changeset
   391
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   392
#minXField
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   393
'The minimum width of the applications topWindow.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   394
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   395
#minYField
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   396
'The minimum height of the applications topWindow.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   397
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   398
#minorKey
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   399
'Name of the message sent to the application returning the window specification.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   400
1162
970f5b2204fe help texts
Claus Gittinger <cg@exept.de>
parents: 1161
diff changeset
   401
#model
970f5b2204fe help texts
Claus Gittinger <cg@exept.de>
parents: 1161
diff changeset
   402
'Aspect selector or binding providing the model of the widget.'
970f5b2204fe help texts
Claus Gittinger <cg@exept.de>
parents: 1161
diff changeset
   403
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   404
#modifiedChannel
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   405
'Aspect selector or binding for a holder for the modified-flag.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   406
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   407
#monitoring
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   408
'Enable automatic update whenever the directory is modified.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   409
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   410
#monitoringDelayTime
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   411
'Time in seconds between updates (if monitoring is enabled).'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   412
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   413
#moveSelectedRow
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   414
'Enable/disable automatic movement of the row containing the selected tab item.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   415
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   416
#oneTabPerLine
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   417
'Arrange tabs vertically, with only one tab item per row.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   418
610
c6dc33689c6a Add help for subSpec GUI Painter opening.
Stefan Vogel <sv@exept.de>
parents: 584
diff changeset
   419
#openSubSpecGuiHelp
780
96270af95475 help texts revised
tz
parents: 759
diff changeset
   420
'Opens a GUI Builder on the defined class and selector.'
610
c6dc33689c6a Add help for subSpec GUI Painter opening.
Stefan Vogel <sv@exept.de>
parents: 584
diff changeset
   421
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   422
#orientation
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   423
'Defines the orientation (horizontal or vertical).'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   424
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   425
#paramAdd
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   426
'Adds a name-value pair to the appletParameter collection.'
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   427
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   428
#paramList
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   429
'Lists defined parameters.'
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   430
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   431
#paramNameField
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   432
'The name of the appletParameter.'
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   433
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   434
#paramRemove
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   435
'Removes that appletParameter.'
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   436
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   437
#paramValueField
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   438
'The value of the appletParameter.'
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   439
1161
1b141606c286 help texts
Claus Gittinger <cg@exept.de>
parents: 1159
diff changeset
   440
#progressValueHolder
1b141606c286 help texts
Claus Gittinger <cg@exept.de>
parents: 1159
diff changeset
   441
'Aspect selector or binding for a holder on the indicators value.'
1b141606c286 help texts
Claus Gittinger <cg@exept.de>
parents: 1159
diff changeset
   442
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   443
#radioButtonGroup
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   444
'Aspect selector or binding providing the radioButton group-model.'
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   445
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   446
#radioButtonValue
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   447
'Value passed to the radioButton group-model.'
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   448
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   449
#readOnly
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   450
'Make the contents be readOnly.'
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   451
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   452
#regionType
780
96270af95475 help texts revised
tz
parents: 759
diff changeset
   453
'Defines the shape of the widget.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   454
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   455
#resizeForLabel
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   456
'Enable/disable automatic resize after a label change.'
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   457
1051
148c81e896ac help texts
Claus Gittinger <cg@exept.de>
parents: 1042
diff changeset
   458
#returnIsOKInDialog
148c81e896ac help texts
Claus Gittinger <cg@exept.de>
parents: 1042
diff changeset
   459
'If on, and the window is opened modal, the Return/Enter-Key acts like an Accept-action'
148c81e896ac help texts
Claus Gittinger <cg@exept.de>
parents: 1042
diff changeset
   460
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   461
#rowIfAbsent
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   462
'Name of the message sent to the application when an empty list entry is detected.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   463
1161
1b141606c286 help texts
Claus Gittinger <cg@exept.de>
parents: 1159
diff changeset
   464
#scrollerValueHolder
1b141606c286 help texts
Claus Gittinger <cg@exept.de>
parents: 1159
diff changeset
   465
'Aspect selector or binding for a holder on the scrollers value.'
1b141606c286 help texts
Claus Gittinger <cg@exept.de>
parents: 1159
diff changeset
   466
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   467
#selectConditionSelector
1028
592cfb2232ce help texts
Claus Gittinger <cg@exept.de>
parents: 1024
diff changeset
   468
'Message sent to the application to validate a selection (not selectable if false is returned).'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   469
1164
b56fe337f2ea help texts
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   470
#selectRowOnDefault
b56fe337f2ea help texts
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   471
'Select whole row, if unselectable column is selected.'
b56fe337f2ea help texts
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   472
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   473
#selectionHolder
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   474
'Aspect selector or binding for a holder on the selection.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   475
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   476
#setMaxExtent
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   477
'Pick the maximum extent from the canvases current extent.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   478
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   479
#setMinExtent
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   480
'Pick the minimum extent from the canvases current extent.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   481
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   482
#showDirectoryIndicator
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   483
'Show/hide directory indicators for non-empty directories.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   484
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   485
#showDirectoryIndicatorForRoot
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   486
'Show/hide the directory indicator for the root item.'
303
798e309561f1 checkin from browser
ca
parents: 294
diff changeset
   487
1164
b56fe337f2ea help texts
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   488
#showLabels
b56fe337f2ea help texts
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   489
'Show/hide column labels.'
b56fe337f2ea help texts
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   490
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   491
#showLamp
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   492
'Show/hide the colored lamp.'
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   493
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   494
#showLines
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   495
'Show/hide connecting lines between tree items.'
303
798e309561f1 checkin from browser
ca
parents: 294
diff changeset
   496
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   497
#showPercentage
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   498
'Show/hide the percentage display.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   499
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   500
#showRoot
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   501
'Show/hide the root item.'
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   502
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   503
#showSeparatingLines
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   504
'Show/hide separated lines.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   505
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   506
#sizeAsDefault
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   507
'Size the widget to include space for the default-(return) bitmap.'
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   508
1161
1b141606c286 help texts
Claus Gittinger <cg@exept.de>
parents: 1159
diff changeset
   509
#sliderValueHolder
1b141606c286 help texts
Claus Gittinger <cg@exept.de>
parents: 1159
diff changeset
   510
'Aspect selector or binding for a holder on the sliders value.'
1b141606c286 help texts
Claus Gittinger <cg@exept.de>
parents: 1159
diff changeset
   511
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   512
#specHolder
780
96270af95475 help texts revised
tz
parents: 759
diff changeset
   513
'Aspect selector or binding for holding the selector returning a window specification.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   514
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   515
#start
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   516
'Defines the ranges minimum.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   517
1161
1b141606c286 help texts
Claus Gittinger <cg@exept.de>
parents: 1159
diff changeset
   518
#startMotionCallBack
1b141606c286 help texts
Claus Gittinger <cg@exept.de>
parents: 1159
diff changeset
   519
'Method invoked with start of thumb motion.'
1b141606c286 help texts
Claus Gittinger <cg@exept.de>
parents: 1159
diff changeset
   520
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   521
#step
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   522
'Defines the step within the range.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   523
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   524
#stop
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   525
'Defines the ranges maximum.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   526
1028
592cfb2232ce help texts
Claus Gittinger <cg@exept.de>
parents: 1024
diff changeset
   527
#supportsExpandAll
592cfb2232ce help texts
Claus Gittinger <cg@exept.de>
parents: 1024
diff changeset
   528
'Enable/disable the expand-all function'
592cfb2232ce help texts
Claus Gittinger <cg@exept.de>
parents: 1024
diff changeset
   529
1164
b56fe337f2ea help texts
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   530
#tabbedOverEndAction
b56fe337f2ea help texts
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   531
'Method invoked when the end was reached by tabbing.'
b56fe337f2ea help texts
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   532
b56fe337f2ea help texts
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   533
#tabbedOverStartAction
b56fe337f2ea help texts
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   534
'Method invoked when the beginning was reached by tabbing.'
b56fe337f2ea help texts
Claus Gittinger <cg@exept.de>
parents: 1163
diff changeset
   535
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   536
#tabLabels
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   537
'Name of the message sent to the application returning a list of labels for the tab items.'
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   538
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   539
#tabOrientation
780
96270af95475 help texts revised
tz
parents: 759
diff changeset
   540
'Defines the side for the arrangement of the tab items.'
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   541
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   542
#tabWidget
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   543
'Defines the type of the border style of the tab items (Windows style vs. Mac style).'
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
   544
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   545
#tabable
837
51876d557fed help texts
Claus Gittinger <cg@exept.de>
parents: 801
diff changeset
   546
'Widget can be reached by pressing the TAB key.'
540
cf67668c680c help texts
Claus Gittinger <cg@exept.de>
parents: 536
diff changeset
   547
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
   548
#translateLabel
837
51876d557fed help texts
Claus Gittinger <cg@exept.de>
parents: 801
diff changeset
   549
'Translate the label via the resource mechanism to a national language string.'
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   550
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   551
#typeConverter
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   552
'Defines how the entry string is converted to an object which is passed to the model.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   553
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   554
#upAction
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   555
'Name of the message sent to the application when the up(left)-button is pressed.'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   556
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   557
#useIndex
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   558
'If on, use the items index as selection; if off, use the items value.'
307
fe559a9136d9 changes caused by update of help tool
ca
parents: 303
diff changeset
   559
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
   560
#usePreferredExtent
1051
148c81e896ac help texts
Claus Gittinger <cg@exept.de>
parents: 1042
diff changeset
   561
'If on, the window computes its preferred extent; if off, the layout-sections value is used.'
367
5a78ebab56ff more helpTexts
Claus Gittinger <cg@exept.de>
parents: 364
diff changeset
   562
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   563
#validateDoubleClickSelector
1028
592cfb2232ce help texts
Claus Gittinger <cg@exept.de>
parents: 1024
diff changeset
   564
'Message sent to the application to validate double click (no action if false is returned).'
592cfb2232ce help texts
Claus Gittinger <cg@exept.de>
parents: 1024
diff changeset
   565
592cfb2232ce help texts
Claus Gittinger <cg@exept.de>
parents: 1024
diff changeset
   566
#validateExpandabilitySelector
592cfb2232ce help texts
Claus Gittinger <cg@exept.de>
parents: 1024
diff changeset
   567
'Message sent to the application to validate expand on double click (no expand if false is returned).'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   568
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   569
#valueChangeSelector
1028
592cfb2232ce help texts
Claus Gittinger <cg@exept.de>
parents: 1024
diff changeset
   570
'Message sent to the application when the selection has changed.'
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   571
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   572
#verticalLayout
780
96270af95475 help texts revised
tz
parents: 759
diff changeset
   573
'Defines how sub components are vertically arranged.'
294
65cb680c74e4 add some helptext
ca
parents: 172
diff changeset
   574
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   575
#verticalMiniScroller
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   576
'Use a mini-scroller as vertical scrollbar.'
303
798e309561f1 checkin from browser
ca
parents: 294
diff changeset
   577
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   578
#verticalScroller
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   579
'Enable vertical scrollability.'
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   580
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   581
#verticalSpace
780
96270af95475 help texts revised
tz
parents: 759
diff changeset
   582
'Vertical space between the sub components (in pixels).'
580
77cf5b8dcffc checkin from browser
ca
parents: 540
diff changeset
   583
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   584
#windowIcon
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   585
'Name of the message sent to the application returning an icon image for the top window.'
303
798e309561f1 checkin from browser
ca
parents: 294
diff changeset
   586
350
28128eeb98f0 more help messages.
Claus Gittinger <cg@exept.de>
parents: 346
diff changeset
   587
#windowLabel
801
50231f23e149 help texts
Claus Gittinger <cg@exept.de>
parents: 783
diff changeset
   588
'Label of the top window.'
307
fe559a9136d9 changes caused by update of help tool
ca
parents: 303
diff changeset
   589
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   590
)
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   591
! !
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   592
164
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   593
!UISpecificationTool class methodsFor:'interface specs'!
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   594
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   595
windowSpec
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   596
    "this window spec was automatically generated by the ST/X UIPainter"
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   597
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   598
    "do not manually edit this - the painter/builder may not be able to
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   599
     handle the specification if its corrupted."
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   600
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   601
    "
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   602
     UIPainter new openOnClass:UISpecificationTool andSelector:#windowSpec
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   603
     UISpecificationTool new openInterface:#windowSpec
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   604
    "
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   605
    "UISpecificationTool open"
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   606
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   607
    <resource: #canvas>
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   608
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   609
    ^
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   610
     
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   611
       #(#FullSpec
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   612
          #'window:' 
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   613
           #(#WindowSpec
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   614
              #'name:' 'uIPainterView'
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   615
              #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   616
              #'label:' 'unnamed canvas'
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   617
              #'bounds:' #(#Rectangle 0 0 300 300)
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   618
          )
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   619
          #'component:' 
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   620
           #(#SpecCollection
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   621
              #'collection:' 
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   622
               #(
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   623
                 #(#ViewSpec
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   624
                    #'name:' 'Frame'
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   625
                    #'layout:' #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   626
                )
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   627
              )
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   628
          )
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   629
      )
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   630
! !
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   631
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   632
!UISpecificationTool methodsFor:'accessing'!
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   633
1063
9e710dbc7c92 inputFields use modified & acceptChannels
Claus Gittinger <cg@exept.de>
parents: 1051
diff changeset
   634
acceptChannel
9e710dbc7c92 inputFields use modified & acceptChannels
Claus Gittinger <cg@exept.de>
parents: 1051
diff changeset
   635
    "return the value of the instance variable 'acceptChannel' (automatically generated)"
9e710dbc7c92 inputFields use modified & acceptChannels
Claus Gittinger <cg@exept.de>
parents: 1051
diff changeset
   636
9e710dbc7c92 inputFields use modified & acceptChannels
Claus Gittinger <cg@exept.de>
parents: 1051
diff changeset
   637
    ^ masterApplication acceptChannel
9e710dbc7c92 inputFields use modified & acceptChannels
Claus Gittinger <cg@exept.de>
parents: 1051
diff changeset
   638
!
9e710dbc7c92 inputFields use modified & acceptChannels
Claus Gittinger <cg@exept.de>
parents: 1051
diff changeset
   639
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   640
specification
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   641
    "gets current edit specification
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   642
    "
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   643
    ^ specification
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   644
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   645
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   646
!
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   647
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   648
specification:aSpec
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   649
    "sets current edit specification
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   650
    "
428
f87cca33874e remove dependencies from builder when selection changed
ca
parents: 367
diff changeset
   651
    self releaseResources.
f87cca33874e remove dependencies from builder when selection changed
ca
parents: 367
diff changeset
   652
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   653
    aSpec isNil ifTrue:[
428
f87cca33874e remove dependencies from builder when selection changed
ca
parents: 367
diff changeset
   654
        specChannel notNil ifTrue:[ specChannel release ].
f87cca33874e remove dependencies from builder when selection changed
ca
parents: 367
diff changeset
   655
        aspects     notNil ifTrue:[ aspects     release ].
f87cca33874e remove dependencies from builder when selection changed
ca
parents: 367
diff changeset
   656
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   657
        specChannel   := nil.
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   658
        specification := nil.
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   659
        aspects       := nil.
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   660
    ] ifFalse:[
893
09ea254a9fda comments
Claus Gittinger <cg@exept.de>
parents: 876
diff changeset
   661
        "/ same type of spec - simply change the spec;
09ea254a9fda comments
Claus Gittinger <cg@exept.de>
parents: 876
diff changeset
   662
        "/ no need to setup everything
09ea254a9fda comments
Claus Gittinger <cg@exept.de>
parents: 876
diff changeset
   663
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   664
        specification class == aSpec class ifTrue:[
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   665
            specification := aSpec.
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   666
          ^ specChannel value:specification.
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   667
        ].
893
09ea254a9fda comments
Claus Gittinger <cg@exept.de>
parents: 876
diff changeset
   668
428
f87cca33874e remove dependencies from builder when selection changed
ca
parents: 367
diff changeset
   669
        specChannel notNil ifTrue:[ specChannel release ].
f87cca33874e remove dependencies from builder when selection changed
ca
parents: 367
diff changeset
   670
        aspects     notNil ifTrue:[ aspects     release ].
f87cca33874e remove dependencies from builder when selection changed
ca
parents: 367
diff changeset
   671
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   672
        specification  := aSpec.
536
3991e37ec19f pass special dictionary as bindings-environmnt
Claus Gittinger <cg@exept.de>
parents: 428
diff changeset
   673
        
3991e37ec19f pass special dictionary as bindings-environmnt
Claus Gittinger <cg@exept.de>
parents: 428
diff changeset
   674
        "/ some tricky specs need the builder
3991e37ec19f pass special dictionary as bindings-environmnt
Claus Gittinger <cg@exept.de>
parents: 428
diff changeset
   675
        "/ during the addBindings phase.
3991e37ec19f pass special dictionary as bindings-environmnt
Claus Gittinger <cg@exept.de>
parents: 428
diff changeset
   676
        "/ This is passed down in a special UIBindingsDictionary
3991e37ec19f pass special dictionary as bindings-environmnt
Claus Gittinger <cg@exept.de>
parents: 428
diff changeset
   677
        "/ (remain backward compatible)
3991e37ec19f pass special dictionary as bindings-environmnt
Claus Gittinger <cg@exept.de>
parents: 428
diff changeset
   678
3991e37ec19f pass special dictionary as bindings-environmnt
Claus Gittinger <cg@exept.de>
parents: 428
diff changeset
   679
        aspects        := UISpecification newBindingsDictionary.
3991e37ec19f pass special dictionary as bindings-environmnt
Claus Gittinger <cg@exept.de>
parents: 428
diff changeset
   680
        aspects builder:builder.
1063
9e710dbc7c92 inputFields use modified & acceptChannels
Claus Gittinger <cg@exept.de>
parents: 1051
diff changeset
   681
        aspects at:#modifiedChannel put:modifiedHolder.
9e710dbc7c92 inputFields use modified & acceptChannels
Claus Gittinger <cg@exept.de>
parents: 1051
diff changeset
   682
        aspects at:#acceptChannel put:self acceptChannel.
536
3991e37ec19f pass special dictionary as bindings-environmnt
Claus Gittinger <cg@exept.de>
parents: 428
diff changeset
   683
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   684
        specChannel    := specification asValue.
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   685
        specification class addBindingsTo:aspects for:specification channel:specChannel.
893
09ea254a9fda comments
Claus Gittinger <cg@exept.de>
parents: 876
diff changeset
   686
09ea254a9fda comments
Claus Gittinger <cg@exept.de>
parents: 876
diff changeset
   687
        "/ arrange for being notified, if any aspect changes
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   688
        aspects do:[:el| el addDependent:self ].
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   689
    ].
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   690
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   691
    selection notNil ifTrue:[
759
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   692
        self clearScrolledView.
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   693
        selection := nil.
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   694
    ].
536
3991e37ec19f pass special dictionary as bindings-environmnt
Claus Gittinger <cg@exept.de>
parents: 428
diff changeset
   695
893
09ea254a9fda comments
Claus Gittinger <cg@exept.de>
parents: 876
diff changeset
   696
    "Modified: / 16.7.1998 / 19:39:42 / cg"
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   697
! !
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   698
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   699
!UISpecificationTool methodsFor:'accessing channels'!
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   700
164
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   701
modifiedHolder:aValueHolder
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   702
    "set the value holder set to true in case of modifying attributes
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   703
    "
1071
560a9eb1a5d8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1069
diff changeset
   704
164
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   705
    modifiedHolder notNil ifTrue:[
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   706
        modifiedHolder removeDependent:self. 
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   707
    ].
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   708
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   709
    (modifiedHolder := aValueHolder) notNil ifTrue:[
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   710
        modifiedHolder addDependent:self.
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   711
    ].
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   712
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   713
! !
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   714
364
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   715
!UISpecificationTool methodsFor:'actions'!
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   716
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   717
setMaxExtent
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   718
    "set the windows maxExtent from its current extent"
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   719
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   720
    |canvas currentExtent|
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   721
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   722
    canvas := self masterApplication painter topView.
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   723
    currentExtent := canvas extent.
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   724
    (self aspectFor:#maxX) value:currentExtent x.
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   725
    (self aspectFor:#maxY) value:currentExtent y.
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   726
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   727
    "Modified: / 29.10.1997 / 18:29:17 / cg"
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   728
!
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   729
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   730
setMinExtent
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   731
    "set the windows minExtent from its current extent"
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   732
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   733
    |canvas currentExtent|
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   734
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   735
    canvas := self masterApplication painter topView.
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   736
    currentExtent := canvas extent.
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   737
    (self aspectFor:#minX) value:currentExtent x.
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   738
    (self aspectFor:#minY) value:currentExtent y.
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   739
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   740
    "Created: / 29.10.1997 / 18:17:55 / cg"
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   741
    "Modified: / 29.10.1997 / 18:28:53 / cg"
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   742
! !
c175e197f050 setMin / setMax
Claus Gittinger <cg@exept.de>
parents: 350
diff changeset
   743
164
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   744
!UISpecificationTool methodsFor:'bindings'!
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   745
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   746
aspectFor:aKey
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   747
    "returns aspect for a key or nil
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   748
    "
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   749
    aspects notNil ifTrue:[
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   750
        ^ aspects at:aKey ifAbsent:nil
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   751
    ].
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   752
    ^ super aspectFor:aKey
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   753
428
f87cca33874e remove dependencies from builder when selection changed
ca
parents: 367
diff changeset
   754
!
f87cca33874e remove dependencies from builder when selection changed
ca
parents: 367
diff changeset
   755
f87cca33874e remove dependencies from builder when selection changed
ca
parents: 367
diff changeset
   756
releaseResources
f87cca33874e remove dependencies from builder when selection changed
ca
parents: 367
diff changeset
   757
    "release resources
f87cca33874e remove dependencies from builder when selection changed
ca
parents: 367
diff changeset
   758
    "
876
32b1012426e3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 870
diff changeset
   759
    |frame appl|
428
f87cca33874e remove dependencies from builder when selection changed
ca
parents: 367
diff changeset
   760
876
32b1012426e3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 870
diff changeset
   761
    builder notNil ifTrue:[
32b1012426e3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 870
diff changeset
   762
        frame := self windowFrame.
32b1012426e3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 870
diff changeset
   763
        appl  := builder application.
32b1012426e3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 870
diff changeset
   764
        builder application:appl.
32b1012426e3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 870
diff changeset
   765
        builder componentAt:#Frame put:frame.
32b1012426e3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 870
diff changeset
   766
    ].
869
65588145cd06 #createBuilder was removed
Claus Gittinger <cg@exept.de>
parents: 855
diff changeset
   767
876
32b1012426e3 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 870
diff changeset
   768
    "Modified: / 20.6.1998 / 15:45:20 / cg"
584
351914fcc5a4 Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents: 580
diff changeset
   769
!
351914fcc5a4 Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents: 580
diff changeset
   770
351914fcc5a4 Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents: 580
diff changeset
   771
specificationFor:aKey
351914fcc5a4 Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents: 580
diff changeset
   772
    "this is called if our current specification contains 
351914fcc5a4 Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents: 580
diff changeset
   773
     subspecifications or subcanvases.
351914fcc5a4 Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents: 580
diff changeset
   774
     Get the subspecification from the current specification"
351914fcc5a4 Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents: 580
diff changeset
   775
351914fcc5a4 Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents: 580
diff changeset
   776
    |cls|
351914fcc5a4 Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents: 580
diff changeset
   777
351914fcc5a4 Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents: 580
diff changeset
   778
    cls := specification class.
351914fcc5a4 Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents: 580
diff changeset
   779
    (cls respondsTo:aKey) ifTrue:[
351914fcc5a4 Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents: 580
diff changeset
   780
        ^ cls perform:aKey
351914fcc5a4 Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents: 580
diff changeset
   781
    ].
351914fcc5a4 Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents: 580
diff changeset
   782
    ^ nil
351914fcc5a4 Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents: 580
diff changeset
   783
351914fcc5a4 Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents: 580
diff changeset
   784
    "Created: / 4.2.1998 / 23:52:39 / stefan"
351914fcc5a4 Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents: 580
diff changeset
   785
    "Modified: / 4.2.1998 / 23:58:23 / stefan"
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   786
! !
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   787
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   788
!UISpecificationTool methodsFor:'change & update'!
164
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   789
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   790
update
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   791
    "reload specification
164
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   792
    "
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   793
    specChannel notNil ifTrue:[
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   794
        specChannel value:specification.
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   795
    ]
164
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   796
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   797
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   798
!
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   799
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   800
update:something with:someArgument from:someone
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   801
    "any attribute changed its state in the current specification
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   802
    "
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   803
    someone ~~ modifiedHolder ifTrue:[
893
09ea254a9fda comments
Claus Gittinger <cg@exept.de>
parents: 876
diff changeset
   804
        "/ any in the spec has changed.
09ea254a9fda comments
Claus Gittinger <cg@exept.de>
parents: 876
diff changeset
   805
        "/ update my modified holders value
09ea254a9fda comments
Claus Gittinger <cg@exept.de>
parents: 876
diff changeset
   806
1071
560a9eb1a5d8 checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1069
diff changeset
   807
        modifiedHolder value:true
164
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   808
    ]
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   809
893
09ea254a9fda comments
Claus Gittinger <cg@exept.de>
parents: 876
diff changeset
   810
    "Modified: / 16.7.1998 / 19:25:59 / cg"
164
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   811
! !
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   812
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   813
!UISpecificationTool methodsFor:'selection'!
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   814
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   815
selection:something
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   816
    "selection changed
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   817
    "
1069
7196ca547f5d code cleanup
Claus Gittinger <cg@exept.de>
parents: 1063
diff changeset
   818
    |slices idx spec window|
164
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   819
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   820
    specification notNil ifTrue:[
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   821
        slices := specification class slices.
164
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   822
        idx:= slices findFirst:[:aSlice| aSlice first = something ].
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   823
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   824
        idx ~~ 0 ifTrue:[
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   825
            spec := specification class perform:((slices at:idx) last).
428
f87cca33874e remove dependencies from builder when selection changed
ca
parents: 367
diff changeset
   826
        ]
164
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   827
    ].
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   828
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   829
    spec ~= selection ifTrue:[
759
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   830
        self releaseResources.
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   831
        self clearScrolledView.
752
2dc82cdfdd90 help texts
tz
parents: 610
diff changeset
   832
759
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   833
        window  := self scrolledView scrolledView.
164
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   834
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   835
        spec notNil ifTrue:[
759
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   836
            builder buildFromSpec:spec in:window.
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   837
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   838
            window allViewBackground:(self windowFrame viewBackground).
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   839
            window extent:1.0@(window preferredExtent y).
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   840
            window realizeAllSubViews.
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   841
            self scrolledView sizeChanged:nil.
164
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   842
        ]
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   843
    ].
172
10e8e0510baa helpSpec no longer under UIPainter
ca
parents: 164
diff changeset
   844
    selection := spec.
164
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   845
! !
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   846
759
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   847
!UISpecificationTool methodsFor:'spec. window'!
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   848
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   849
clearScrolledView
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   850
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   851
    scrolledView isNil ifFalse:[
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   852
        scrolledView scrolledView destroySubViews.
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   853
    ]
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   854
!
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   855
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   856
scrolledView
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   857
    |frame vscroller|
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   858
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   859
    scrolledView isNil ifTrue:[
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   860
        frame     := self windowFrame.
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   861
        vscroller := ScrollableView for:ViewScroller origin:0.0 @ 0.0 corner:1.0 @ 1.0 in:frame.
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   862
        vscroller verticalScrollable:true.
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   863
        vscroller verticalMini:true.
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   864
        vscroller autoHideScrollBars:true.
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   865
        scrolledView := vscroller scrolledView.
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   866
        scrolledView scrolledView:View new.
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   867
        frame realizeAllSubViews.
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   868
        frame sizeChanged:nil.
845
146b3f78afcb we dont want any 3D effect for the scrolled view
Claus Gittinger <cg@exept.de>
parents: 837
diff changeset
   869
146b3f78afcb we dont want any 3D effect for the scrolled view
Claus Gittinger <cg@exept.de>
parents: 837
diff changeset
   870
        "/ we dont want any 3D effect for the scrolled view.
146b3f78afcb we dont want any 3D effect for the scrolled view
Claus Gittinger <cg@exept.de>
parents: 837
diff changeset
   871
        "/ must change the slaveViews level late, after realization.
146b3f78afcb we dont want any 3D effect for the scrolled view
Claus Gittinger <cg@exept.de>
parents: 837
diff changeset
   872
        "/ (scrolledView has its own idea, changing the level of
146b3f78afcb we dont want any 3D effect for the scrolled view
Claus Gittinger <cg@exept.de>
parents: 837
diff changeset
   873
        "/ the scrolled view.
146b3f78afcb we dont want any 3D effect for the scrolled view
Claus Gittinger <cg@exept.de>
parents: 837
diff changeset
   874
        scrolledView level:0.
759
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   875
    ].
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   876
    ^ scrolledView
845
146b3f78afcb we dont want any 3D effect for the scrolled view
Claus Gittinger <cg@exept.de>
parents: 837
diff changeset
   877
146b3f78afcb we dont want any 3D effect for the scrolled view
Claus Gittinger <cg@exept.de>
parents: 837
diff changeset
   878
    "Modified: / 21.5.1998 / 00:59:05 / cg"
759
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   879
!
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   880
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   881
windowFrame
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   882
    windowFrame isNil ifTrue:[
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   883
        windowFrame := builder componentAt:#Frame
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   884
    ].
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   885
    ^ windowFrame.
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   886
! !
f0c325edcc6c add scroller
ca
parents: 752
diff changeset
   887
164
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   888
!UISpecificationTool class methodsFor:'documentation'!
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   889
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   890
version
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   891
    ^ '$Header$'
1bc26edd0d3e intitial checkin
ca
parents:
diff changeset
   892
! !