UISpecificationTool.st
changeset 294 65cb680c74e4
parent 172 10e8e0510baa
child 303 798e309561f1
equal deleted inserted replaced
293:54d00bdebfa9 294:65cb680c74e4
    55 
    55 
    56 !UISpecificationTool class methodsFor:'help specs'!
    56 !UISpecificationTool class methodsFor:'help specs'!
    57 
    57 
    58 helpSpec
    58 helpSpec
    59     "return a dictionary filled with helpKey -> helptext associations.
    59     "return a dictionary filled with helpKey -> helptext associations.
    60      These are used by the activeHelp tool.
    60      These are used by the activeHelp tool."
    61     "
    61 
       
    62     "
       
    63     UIHelpTool openOnClass:UISpecificationTool    
       
    64     "
       
    65 
    62   ^ super helpSpec addPairsFrom:#(
    66   ^ super helpSpec addPairsFrom:#(
    63 
    67 
       
    68 #menuHolder
       
    69 'selector or holder of the middle button menu'
       
    70 
       
    71 #galleryModel
       
    72 'a holder, which keeps the label of the current selected tab or nil.'
       
    73 
       
    74 #listHolder
       
    75 'gets a list or list holder'
       
    76 
    64 #maxChars
    77 #maxChars
    65 'set the maximum number of
    78 'set the maximum number of characters that are allowed in the editfield.'
    66 characters that are allowed
    79 
    67 in the editfield.'
    80 #canvasSelector
       
    81 'after open the application specified by the clientKey, this selector if not nil will be evaluated,'
       
    82 
       
    83 #enableChannel
       
    84 'enable the view - selection changes are allowed'
       
    85 
       
    86 #canvas
       
    87 'gets a widget placed into the notebook'
       
    88 
       
    89 #middleButtonPressed
       
    90 'called if the middle button is pressed; you can open a menu'
       
    91 
       
    92 #defaultLabel
       
    93 'set the default label which will be set if nothing selected.'
    68 
    94 
    69 #id
    95 #id
    70 'enter the name of the field here. 
    96 'enter the name of the field here. This ID can be used by the application to access components, using #componentAt:<key>'
    71 This ID can be used by the application 
    97 
    72 to access components, using #componentAt:<key>'
    98 #selectionHolder
       
    99 'the one which keeps the selection and in case of a ''SelectionInList'' model the list.'
       
   100 
       
   101 #level
       
   102 'set the level relative to its superView'
       
   103 
       
   104 #majorKey
       
   105 'name of the class which provides the window specification or in case of nil the application itself is used'
       
   106 
       
   107 #isMultiSelect
       
   108 'enable/disable multiple selections.'
       
   109 
       
   110 #gallerySelectors
       
   111 'the list of selectors specify which interface specification should be used dependent on the tab pressed. Each selector must return an interfaceSpec. On default the #windowSpec method is used'
       
   112 
       
   113 #gallerySelection
       
   114 'a holder, which keeps the specification of the current selected widget or nil.'
       
   115 
       
   116 #canvasArgument
       
   117 'the argument to the selector or none'
       
   118 
       
   119 #typeConverter
       
   120 'convert the fields string value to some object'
       
   121 
       
   122 #backgroundColor
       
   123 'set the background color'
       
   124 
       
   125 #minorKey
       
   126 'the selector specifies which interface specification to be used. The selector must return an interfaceSpec. On default the #windowSpec method is used'
       
   127 
       
   128 #menuButton
       
   129 'pressing the button will open the menu editor on the specified menu selector.'
       
   130 
       
   131 #galleryLabels
       
   132 'a list of tab labels'
       
   133 
       
   134 #selectionModel
       
   135 'the one which keeps the selection and in case of a ''SelectionInList'' model the list.'
       
   136 
       
   137 #tabLabels
       
   138 'a list or list holder which provides the labels assigned to the tabs.'
       
   139 
       
   140 #foregroundColor
       
   141 'set the foreground color'
       
   142 
       
   143 #tabWidget
       
   144 'select the tab style'
       
   145 
       
   146 #valueChangeSelector
       
   147 'called whenever the selection changed'
       
   148 
       
   149 #doubleClickSelector
       
   150 'define the double click action which is evaluated on double click in case of a none nil selection'
       
   151 
       
   152 #fontMenu
       
   153 'set the font for the widget'
       
   154 
       
   155 #clientKey
       
   156 'returns an application which provides the builder. On default the application itself is used.'
       
   157 
       
   158 #useIndex
       
   159 'set/clear the useIndex flag. If set, the index of the selection is used otherwise the selected string.'
       
   160 
       
   161 #tabOrientation
       
   162 'where to place the tabs'
    73 
   163 
    74 )
   164 )
    75 ! !
   165 ! !
    76 
   166 
    77 !UISpecificationTool class methodsFor:'interface specs'!
   167 !UISpecificationTool class methodsFor:'interface specs'!