MethodFinderWindow.st
author Patrik Svestka <patrik.svestka@gmail.com>
Wed, 14 Nov 2018 12:07:51 +0100
branchjv
changeset 3630 5e718e0a754e
parent 3322 7fa5dfa1832f
child 3482 de4a67d603bb
permissions -rw-r--r--
Issue #239: Fix all Smalltak/X source files to be in unicode (UTF8 without BOM) and prefixed by "{ Encoding: utf8 }" when any unicode character is present - All source *.st files are now Unicode UTF8 without BOM Files are in two groups (fileOut works this way in Smalltalk/X): - containing a unicode character have "{ Encoding: utf8 }" at the header - ASCII only are without the header
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
     1
"
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
     2
 Copyright (C) Original Authors (Kaehler, Scott Wallace and Dan Ingalls)
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
     3
 Copyright (C) 2001 eXept Software AG
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
     4
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
     5
 Permission is hereby granted, free of charge, to any 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
     6
 person obtaining a copy of this software and associated 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
     7
 documentation files (the 'Software'), to deal in the 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
     8
 Software without restriction, including without limitation 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
     9
 the rights to use, copy, modify, merge, publish, distribute, 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    10
 sublicense, and/or sell copies of the Software, and to 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    11
 permit persons to whom the Software is furnished to do so, 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    12
 subject to the following conditions:
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    13
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    14
 The above copyright notice and this permission notice shall 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    15
 be included in all copies or substantial portions of the Software.
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    16
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    17
 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    18
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    19
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    20
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    21
 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    22
 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    23
 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    24
"
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
    25
"{ Package: 'stx:libtool2' }"
f67b97bc683a initial checkin
james
parents:
diff changeset
    26
3193
4ab685b49b91 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3109
diff changeset
    27
"{ NameSpace: Smalltalk }"
4ab685b49b91 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3109
diff changeset
    28
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
    29
ApplicationModel subclass:#MethodFinderWindow
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    30
	instanceVariableNames:'resultHolder selectorPatternHolder classOfResultHolder
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    31
		selectedClassOfResultHolder selectedImplementorsHolder
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    32
		argumentsEditor messageAnswerEditor receiverEditor receiver
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
    33
		resultSelectors arg2BoxVisible arg1BoxVisible arg4BoxVisible
f67b97bc683a initial checkin
james
parents:
diff changeset
    34
		arg3BoxVisible argCountHolder argCountList argument1Editor
f67b97bc683a initial checkin
james
parents:
diff changeset
    35
		argument2Editor argument3Editor argument4Editor resultSelected
2891
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
    36
		lookAtResultEditor codeHolder searchProcess'
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
    37
	classVariableNames:''
f67b97bc683a initial checkin
james
parents:
diff changeset
    38
	poolDictionaries:''
3215
4c69b031fb70 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3193
diff changeset
    39
	category:'Interface-Tools'
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
    40
!
f67b97bc683a initial checkin
james
parents:
diff changeset
    41
1530
37b18e9a12fb checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1529
diff changeset
    42
!MethodFinderWindow class methodsFor:'documentation'!
37b18e9a12fb checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1529
diff changeset
    43
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    44
copyright
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    45
"
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    46
 Copyright (C) Original Authors (Kaehler, Scott Wallace and Dan Ingalls)
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    47
 Copyright (C) 2001 eXept Software AG
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    48
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    49
 Permission is hereby granted, free of charge, to any 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    50
 person obtaining a copy of this software and associated 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    51
 documentation files (the 'Software'), to deal in the 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    52
 Software without restriction, including without limitation 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    53
 the rights to use, copy, modify, merge, publish, distribute, 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    54
 sublicense, and/or sell copies of the Software, and to 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    55
 permit persons to whom the Software is furnished to do so, 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    56
 subject to the following conditions:
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    57
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    58
 The above copyright notice and this permission notice shall 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    59
 be included in all copies or substantial portions of the Software.
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    60
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    61
 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    62
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    63
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    64
 IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    65
 CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    66
 TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE 
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    67
 SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    68
"
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    69
!
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    70
1530
37b18e9a12fb checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1529
diff changeset
    71
documentation
37b18e9a12fb checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1529
diff changeset
    72
"
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    73
  a tool to find implementing methods by example.
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    74
  Give it values for a receiver, optional arguments and a desired result,
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    75
  and it will find methods which do that for you.
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    76
  Please read the online documentation for details (open via the tool's help menu).
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    77
1531
9d4f8cd101fa *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1530
diff changeset
    78
  [author:]
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    79
    original squeak version by Ted Kaehler, Scott Wallace and Dan Ingalls.
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    80
    ported from Squeak and GUI enhanced 2001 by James Hayes james@exept.de.
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
    81
    improved by Claus Gittinger.
1530
37b18e9a12fb checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1529
diff changeset
    82
"
37b18e9a12fb checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1529
diff changeset
    83
! !
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
    84
1532
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
    85
!MethodFinderWindow class methodsFor:'constants'!
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
    86
2890
3d8556368fe9 added: #defaultIcon
Claus Gittinger <cg@exept.de>
parents: 2889
diff changeset
    87
defaultIcon
3109
92920c76aae3 Mark program icons with resource
Stefan Vogel <sv@exept.de>
parents: 3090
diff changeset
    88
    <resource: #programImage>
92920c76aae3 Mark program icons with resource
Stefan Vogel <sv@exept.de>
parents: 3090
diff changeset
    89
2890
3d8556368fe9 added: #defaultIcon
Claus Gittinger <cg@exept.de>
parents: 2889
diff changeset
    90
    ^ ToolbarIconLibrary methodFinder24x24Icon
3d8556368fe9 added: #defaultIcon
Claus Gittinger <cg@exept.de>
parents: 2889
diff changeset
    91
3d8556368fe9 added: #defaultIcon
Claus Gittinger <cg@exept.de>
parents: 2889
diff changeset
    92
    "Created: / 01-06-2012 / 13:05:11 / cg"
3d8556368fe9 added: #defaultIcon
Claus Gittinger <cg@exept.de>
parents: 2889
diff changeset
    93
!
3d8556368fe9 added: #defaultIcon
Claus Gittinger <cg@exept.de>
parents: 2889
diff changeset
    94
1532
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
    95
markerForImplementingClass
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
    96
    ^ '=> '.
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
    97
    ^ '*'
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
    98
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
    99
    "Created: / 13.11.2001 / 12:09:52 / cg"
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
   100
    "Modified: / 13.11.2001 / 12:11:57 / cg"
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
   101
! !
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
   102
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   103
!MethodFinderWindow class methodsFor:'help specs'!
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   104
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   105
flyByHelpSpec
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   106
    "This resource specification was automatically generated
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   107
     by the UIHelpTool of ST/X."
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   108
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   109
    "Do not manually edit this!! If it is corrupted,
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   110
     the UIHelpTool may not be able to read the specification."
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   111
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   112
    "
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   113
     UIHelpTool openOnClass:MethodFinderWindow    
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   114
    "
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   115
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   116
    <resource: #help>
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   117
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   118
    ^ super flyByHelpSpec addPairsFrom:#(
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   119
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   120
#receiverValue
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   121
'Enter a receiver value here.\Can be a constant (like ''hello'')\or an expression, such as "Rectangle basicNew".'
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   122
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   123
#answerValue
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   124
'Enter result value here.\Can be a constant (like ''hello'')\or an expression, such as "Rectangle basicNew".'
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   125
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   126
#arg1Value
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   127
'Enter a value for the first argument here.\Can be a constant or an expression.'
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   128
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   129
#arg2Value
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   130
'Enter a value for the second argument here.\Can be a constant or an expression.'
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   131
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   132
#arg3Value
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   133
'Enter a value for the third argument here.\Can be a constant or an expression.'
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   134
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   135
#argumentCount
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   136
'Specify the number of arguments here.'
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   137
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   138
#clearButton
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   139
'Clear all sample value fields.'
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   140
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   141
#startSearchButton
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   142
'Search for methods which answer the desired value,\given the concrete arguments'
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   143
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   144
#selectorPatternSearch
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   145
'Search by name.\You can use match characters '*' as in GLOB patterns (i.e. like filename patterns)'
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   146
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   147
)
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   148
! !
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   149
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
   150
!MethodFinderWindow class methodsFor:'interface specs'!
f67b97bc683a initial checkin
james
parents:
diff changeset
   151
f67b97bc683a initial checkin
james
parents:
diff changeset
   152
windowSpec
f67b97bc683a initial checkin
james
parents:
diff changeset
   153
    "This resource specification was automatically generated
f67b97bc683a initial checkin
james
parents:
diff changeset
   154
     by the UIPainter of ST/X."
f67b97bc683a initial checkin
james
parents:
diff changeset
   155
f67b97bc683a initial checkin
james
parents:
diff changeset
   156
    "Do not manually edit this!! If it is corrupted,
f67b97bc683a initial checkin
james
parents:
diff changeset
   157
     the UIPainter may not be able to read the specification."
f67b97bc683a initial checkin
james
parents:
diff changeset
   158
f67b97bc683a initial checkin
james
parents:
diff changeset
   159
    "
f67b97bc683a initial checkin
james
parents:
diff changeset
   160
     UIPainter new openOnClass:MethodFinderWindow andSelector:#windowSpec
f67b97bc683a initial checkin
james
parents:
diff changeset
   161
     MethodFinderWindow new openInterface:#windowSpec
f67b97bc683a initial checkin
james
parents:
diff changeset
   162
     MethodFinderWindow open
f67b97bc683a initial checkin
james
parents:
diff changeset
   163
    "
f67b97bc683a initial checkin
james
parents:
diff changeset
   164
f67b97bc683a initial checkin
james
parents:
diff changeset
   165
    <resource: #canvas>
f67b97bc683a initial checkin
james
parents:
diff changeset
   166
f67b97bc683a initial checkin
james
parents:
diff changeset
   167
    ^ 
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   168
    #(FullSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   169
       name: windowSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   170
       window: 
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   171
      (WindowSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   172
         label: 'MethodFinder'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   173
         name: 'MethodFinder'
3301
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   174
         bounds: (Rectangle 0 0 816 738)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   175
         menu: menu
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   176
         icon: defaultIcon
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   177
       )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   178
       component: 
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   179
      (SpecCollection
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   180
         collection: (
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   181
          (VariableHorizontalPanelSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   182
             name: 'VariableHorizontalPanel1'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   183
             layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   184
             showHandle: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   185
             snapMode: both
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   186
             component: 
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   187
            (SpecCollection
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   188
               collection: (
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   189
                (VariableVerticalPanelSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   190
                   name: 'LeftBox'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   191
                   showHandle: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   192
                   component: 
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   193
                  (SpecCollection
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   194
                     collection: (
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   195
                      (ViewSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   196
                         name: 'MethodFinderBox'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   197
                         component: 
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   198
                        (SpecCollection
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   199
                           collection: (
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   200
                            (ViewSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   201
                               name: 'ReceiverArgBox'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   202
                               layout: (LayoutFrame 0 0 0 0 0 1 -30 1)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   203
                               component: 
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   204
                              (SpecCollection
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   205
                                 collection: (
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   206
                                  (LabelSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   207
                                     label: 'Receiver'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   208
                                     name: 'ReceiverLabel'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   209
                                     layout: (LayoutFrame 0 0 0 0 0 0.34000000000000002 28 0)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   210
                                     translateLabel: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   211
                                   )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   212
                                  (ComboListSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   213
                                     name: 'allowedArgments'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   214
                                     layout: (LayoutFrame 0 0.34000000000000002 1 0 0 0.64000000000000135 28 0)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   215
                                     activeHelpKey: argumentCount
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   216
                                     model: argCountHolder
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   217
                                     comboList: argCountList
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   218
                                     useIndex: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   219
                                   )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   220
                                  (LabelSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   221
                                     label: 'Answer'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   222
                                     name: 'MessageAnswerLabel'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   223
                                     layout: (LayoutFrame 0 0.64000000000000135 0 0 0 1 28 0)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   224
                                     activeHelpKey: arg1Value
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   225
                                     translateLabel: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   226
                                   )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   227
                                  (HorizontalPanelViewSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   228
                                     name: 'HorizontalPanel1'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   229
                                     layout: (LayoutFrame 0 0 30 0 0 1 0 1)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   230
                                     horizontalLayout: fit
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   231
                                     verticalLayout: fit
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   232
                                     horizontalSpace: 3
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   233
                                     verticalSpace: 3
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   234
                                     component: 
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   235
                                    (SpecCollection
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   236
                                       collection: (
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   237
                                        (WorkspaceSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   238
                                           name: 'ReceiverEditor'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   239
                                           activeHelpKey: receiverValue
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   240
                                           tabable: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   241
                                           hasHorizontalScrollBar: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   242
                                           hasVerticalScrollBar: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   243
                                           miniScrollerHorizontal: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   244
                                           miniScrollerVertical: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   245
                                           autoHideScrollBars: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   246
                                           hasKeyboardFocusInitially: false
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   247
                                           extent: (Point 85 142)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   248
                                           postBuildCallback: receiverWidgetCreated:
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   249
                                         )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   250
                                        (VerticalPanelViewSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   251
                                           name: 'VerticalPanel1'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   252
                                           horizontalLayout: fit
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   253
                                           verticalLayout: fit
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   254
                                           horizontalSpace: 3
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   255
                                           verticalSpace: 3
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   256
                                           component: 
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   257
                                          (SpecCollection
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   258
                                             collection: (
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   259
                                              (ViewSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   260
                                                 name: 'Box1'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   261
                                                 visibilityChannel: arg1BoxVisible
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   262
                                                 component: 
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   263
                                                (SpecCollection
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   264
                                                   collection: (
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   265
                                                    (WorkspaceSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   266
                                                       name: 'Arg1Editor'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   267
                                                       layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   268
                                                       activeHelpKey: arg1Value
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   269
                                                       tabable: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   270
                                                       hasHorizontalScrollBar: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   271
                                                       hasVerticalScrollBar: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   272
                                                       miniScrollerHorizontal: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   273
                                                       miniScrollerVertical: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   274
                                                       autoHideScrollBars: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   275
                                                       hasKeyboardFocusInitially: false
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   276
                                                       postBuildCallback: argument1WidgetCreated:
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   277
                                                     )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   278
                                                    )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   279
                                                  
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   280
                                                 )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   281
                                                 extent: (Point 86 45)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   282
                                               )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   283
                                              (ViewSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   284
                                                 name: 'Box2'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   285
                                                 visibilityChannel: arg2BoxVisible
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   286
                                                 component: 
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   287
                                                (SpecCollection
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   288
                                                   collection: (
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   289
                                                    (WorkspaceSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   290
                                                       name: 'TextEditor5'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   291
                                                       layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   292
                                                       activeHelpKey: arg2Value
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   293
                                                       tabable: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   294
                                                       hasHorizontalScrollBar: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   295
                                                       hasVerticalScrollBar: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   296
                                                       miniScrollerHorizontal: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   297
                                                       miniScrollerVertical: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   298
                                                       autoHideScrollBars: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   299
                                                       hasKeyboardFocusInitially: false
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   300
                                                       postBuildCallback: argument2WidgetCreated:
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   301
                                                     )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   302
                                                    )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   303
                                                  
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   304
                                                 )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   305
                                                 extent: (Point 86 46)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   306
                                               )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   307
                                              (ViewSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   308
                                                 name: 'Box3'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   309
                                                 visibilityChannel: arg3BoxVisible
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   310
                                                 component: 
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   311
                                                (SpecCollection
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   312
                                                   collection: (
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   313
                                                    (WorkspaceSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   314
                                                       name: 'TextEditor6'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   315
                                                       layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   316
                                                       activeHelpKey: arg3Value
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   317
                                                       tabable: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   318
                                                       hasHorizontalScrollBar: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   319
                                                       hasVerticalScrollBar: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   320
                                                       miniScrollerHorizontal: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   321
                                                       miniScrollerVertical: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   322
                                                       autoHideScrollBars: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   323
                                                       hasKeyboardFocusInitially: false
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   324
                                                       postBuildCallback: argument3WidgetCreated:
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   325
                                                     )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   326
                                                    )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   327
                                                  
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   328
                                                 )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   329
                                                 extent: (Point 86 45)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   330
                                               )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   331
                                              )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   332
                                            
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   333
                                           )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   334
                                           extent: (Point 86 142)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   335
                                         )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   336
                                        (WorkspaceSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   337
                                           name: 'AnswerEditor'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   338
                                           activeHelpKey: answerValue
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   339
                                           tabable: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   340
                                           hasHorizontalScrollBar: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   341
                                           hasVerticalScrollBar: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   342
                                           miniScrollerHorizontal: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   343
                                           miniScrollerVertical: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   344
                                           autoHideScrollBars: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   345
                                           hasKeyboardFocusInitially: false
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   346
                                           extent: (Point 86 142)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   347
                                           postBuildCallback: messageAnswerWidgetCreated:
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   348
                                         )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   349
                                        )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   350
                                      
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   351
                                     )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   352
                                   )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   353
                                  )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   354
                                
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   355
                               )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   356
                             )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   357
                            (ViewSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   358
                               name: 'ReceiverArgBoxActionBox'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   359
                               layout: (LayoutFrame 0 0 -30 1 0 1 0 1)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   360
                               component: 
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   361
                              (SpecCollection
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   362
                                 collection: (
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   363
                                  (ActionButtonSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   364
                                     label: 'Clear'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   365
                                     name: 'Button2'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   366
                                     layout: (LayoutFrame 5 0 0 0 -5 0.5 0 1)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   367
                                     activeHelpKey: clearButton
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   368
                                     translateLabel: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   369
                                     model: clear
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   370
                                   )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   371
                                  (ActionButtonSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   372
                                     label: 'Search'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   373
                                     name: 'Button1'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   374
                                     layout: (LayoutFrame 5 0.5 0 0 -5 1 0 1)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   375
                                     activeHelpKey: startSearchButton
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   376
                                     translateLabel: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   377
                                     tabable: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   378
                                     model: search
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   379
                                   )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   380
                                  )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   381
                                
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   382
                               )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   383
                             )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   384
                            )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   385
                          
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   386
                         )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   387
                       )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   388
                      (ViewSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   389
                         name: 'SelectorFinderBox'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   390
                         component: 
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   391
                        (SpecCollection
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   392
                           collection: (
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   393
                            (ViewSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   394
                               name: 'MatchActionBox'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   395
                               layout: (LayoutFrame 0 0 0 0 0 1 90 0)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   396
                               component: 
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   397
                              (SpecCollection
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   398
                                 collection: (
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   399
                                  (LabelSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   400
                                     label: 'Selector Pattern:'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   401
                                     name: 'Label1'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   402
                                     layout: (LayoutFrame 0 0 0 0 0 0.5 25 0)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   403
                                     translateLabel: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   404
                                     adjust: left
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   405
                                   )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   406
                                  (InputFieldSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   407
                                     name: 'EntryField1'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   408
                                     layout: (LayoutFrame 2 0 -54 1 -2 1 -29 1)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   409
                                     model: selectorPatternHolder
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   410
                                     immediateAccept: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   411
                                     acceptOnReturn: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   412
                                     acceptOnTab: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   413
                                     acceptOnPointerLeave: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   414
                                   )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   415
                                  (ActionButtonSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   416
                                     label: 'Search'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   417
                                     name: 'Button4'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   418
                                     layout: (LayoutFrame 5 0.5 -25 1 -5 1 0 1)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   419
                                     translateLabel: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   420
                                     tabable: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   421
                                     model: searchPatternMatchesInBackground
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   422
                                   )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   423
                                  )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   424
                                
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   425
                               )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   426
                             )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   427
                            (SequenceViewSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   428
                               name: 'ResultList'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   429
                               layout: (LayoutFrame 0 0 94 0 0 1 0 1)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   430
                               model: selectedImplementorsHolder
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   431
                               menu: resultListMenu
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   432
                               hasHorizontalScrollBar: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   433
                               hasVerticalScrollBar: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   434
                               autoHideScrollBars: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   435
                               useIndex: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   436
                               sequenceList: resultHolder
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   437
                             )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   438
                            )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   439
                          
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   440
                         )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   441
                       )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   442
                      )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   443
                    
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   444
                   )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   445
                   handles: (Any 0.28000000000000003 1.0)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   446
                 )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   447
                (VariableVerticalPanelSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   448
                   name: 'RightBox'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   449
                   component: 
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   450
                  (SpecCollection
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   451
                     collection: (
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   452
                      (SequenceViewSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   453
                         name: 'List2'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   454
                         model: selectedClassOfResultHolder
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   455
                         menu: implementorListMenu
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   456
                         hasHorizontalScrollBar: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   457
                         hasVerticalScrollBar: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   458
                         autoHideScrollBars: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   459
                         doubleClickSelector: openBrowserOn:
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   460
                         valueChangeSelector: selectedClassOfResultHolderChanged
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   461
                         useIndex: false
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   462
                         sequenceList: classOfResultHolder
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   463
                       )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   464
                      (CodeViewSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   465
                         name: 'CodeView'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   466
                         model: codeHolder
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   467
                         hasHorizontalScrollBar: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   468
                         hasVerticalScrollBar: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   469
                         autoHideScrollBars: true
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   470
                         hasKeyboardFocusInitially: false
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   471
                         postBuildCallback: sourceCodeWidgetCreated:
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   472
                         viewClassName: 'codeViewClass'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   473
                       )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   474
                      )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   475
                    
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   476
                   )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   477
                   handles: (Any 0.23999999999999999 1.0)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   478
                 )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   479
                )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   480
              
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   481
             )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   482
             handles: (Any 0.33000000000000002 1.0)
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   483
           )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   484
          )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   485
        
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   486
       )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   487
     )
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   488
!
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   489
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   490
windowSpec_old
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   491
    "This resource specification was automatically generated
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   492
     by the UIPainter of ST/X."
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   493
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   494
    "Do not manually edit this!! If it is corrupted,
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   495
     the UIPainter may not be able to read the specification."
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   496
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   497
    "
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   498
     UIPainter new openOnClass:MethodFinderWindow andSelector:#windowSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   499
     MethodFinderWindow new openInterface:#windowSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   500
     MethodFinderWindow open
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   501
    "
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   502
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   503
    <resource: #canvas>
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   504
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   505
    ^ 
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   506
    #(FullSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   507
       name: windowSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   508
       window: 
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   509
      (WindowSpec
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   510
         label: 'MethodFinder'
1663b107709f #DOCUMENTATION by cg
Claus Gittinger <cg@exept.de>
parents: 3292
diff changeset
   511
         name: 'MethodFinder'
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   512
         bounds: (Rectangle 0 0 920 690)
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   513
         menu: menu
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   514
         icon: defaultIcon
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   515
       )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   516
       component: 
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   517
      (SpecCollection
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   518
         collection: (
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   519
          (VariableHorizontalPanelSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   520
             name: 'VariableHorizontalPanel1'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   521
             layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   522
             snapMode: both
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   523
             component: 
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   524
            (SpecCollection
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   525
               collection: (
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   526
                (ViewSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   527
                   name: 'LeftBox'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   528
                   level: 1
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   529
                   component: 
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   530
                  (SpecCollection
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   531
                     collection: (
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   532
                      (ViewSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   533
                         name: 'ReceiverArgBox'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   534
                         layout: (LayoutFrame 0 0 0 0 0 1 -100 0.5)
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   535
                         component: 
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   536
                        (SpecCollection
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   537
                           collection: (
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   538
                            (LabelSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   539
                               label: 'Receiver'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   540
                               name: 'ReceiverLabel'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   541
                               layout: (LayoutFrame 0 0 0 0 0 0.34000000000000002 28 0)
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   542
                               translateLabel: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   543
                             )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   544
                            (ComboListSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   545
                               name: 'allowedArgments'
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   546
                               layout: (LayoutFrame 0 0.34000000000000002 1 0 0 0.64000000000000046 28 0)
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   547
                               activeHelpKey: argumentCount
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   548
                               model: argCountHolder
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   549
                               comboList: argCountList
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   550
                               useIndex: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   551
                             )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   552
                            (LabelSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   553
                               label: 'Answer'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   554
                               name: 'MessageAnswerLabel'
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   555
                               layout: (LayoutFrame 0 0.64000000000000046 0 0 0 1 28 0)
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   556
                               activeHelpKey: arg1Value
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   557
                               translateLabel: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   558
                             )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   559
                            (HorizontalPanelViewSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   560
                               name: 'HorizontalPanel1'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   561
                               layout: (LayoutFrame 0 0 30 0 0 1 0 1)
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   562
                               horizontalLayout: fit
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   563
                               verticalLayout: fit
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   564
                               horizontalSpace: 3
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   565
                               verticalSpace: 3
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   566
                               component: 
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   567
                              (SpecCollection
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   568
                                 collection: (
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   569
                                  (WorkspaceSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   570
                                     name: 'ReceiverEditor'
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   571
                                     activeHelpKey: receiverValue
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   572
                                     tabable: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   573
                                     hasHorizontalScrollBar: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   574
                                     hasVerticalScrollBar: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   575
                                     miniScrollerHorizontal: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   576
                                     miniScrollerVertical: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   577
                                     autoHideScrollBars: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   578
                                     hasKeyboardFocusInitially: false
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   579
                                     extent: (Point 110 214)
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   580
                                     postBuildCallback: receiverWidgetCreated:
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   581
                                   )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   582
                                  (VerticalPanelViewSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   583
                                     name: 'VerticalPanel1'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   584
                                     horizontalLayout: fit
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   585
                                     verticalLayout: fit
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   586
                                     horizontalSpace: 3
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   587
                                     verticalSpace: 3
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   588
                                     component: 
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   589
                                    (SpecCollection
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   590
                                       collection: (
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   591
                                        (ViewSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   592
                                           name: 'Box1'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   593
                                           visibilityChannel: arg1BoxVisible
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   594
                                           component: 
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   595
                                          (SpecCollection
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   596
                                             collection: (
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   597
                                              (WorkspaceSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   598
                                                 name: 'Arg1Editor'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   599
                                                 layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   600
                                                 activeHelpKey: arg1Value
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   601
                                                 tabable: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   602
                                                 hasHorizontalScrollBar: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   603
                                                 hasVerticalScrollBar: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   604
                                                 miniScrollerHorizontal: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   605
                                                 miniScrollerVertical: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   606
                                                 autoHideScrollBars: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   607
                                                 hasKeyboardFocusInitially: false
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   608
                                                 postBuildCallback: argument1WidgetCreated:
1532
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
   609
                                               )
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   610
                                              )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   611
                                            
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   612
                                           )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   613
                                           extent: (Point 110 69)
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   614
                                         )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   615
                                        (ViewSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   616
                                           name: 'Box2'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   617
                                           visibilityChannel: arg2BoxVisible
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   618
                                           component: 
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   619
                                          (SpecCollection
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   620
                                             collection: (
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   621
                                              (WorkspaceSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   622
                                                 name: 'TextEditor5'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   623
                                                 layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   624
                                                 activeHelpKey: arg2Value
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   625
                                                 tabable: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   626
                                                 hasHorizontalScrollBar: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   627
                                                 hasVerticalScrollBar: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   628
                                                 miniScrollerHorizontal: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   629
                                                 miniScrollerVertical: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   630
                                                 autoHideScrollBars: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   631
                                                 hasKeyboardFocusInitially: false
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   632
                                                 postBuildCallback: argument2WidgetCreated:
1532
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
   633
                                               )
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   634
                                              )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   635
                                            
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   636
                                           )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   637
                                           extent: (Point 110 70)
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   638
                                         )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   639
                                        (ViewSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   640
                                           name: 'Box3'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   641
                                           visibilityChannel: arg3BoxVisible
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   642
                                           component: 
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   643
                                          (SpecCollection
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   644
                                             collection: (
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   645
                                              (WorkspaceSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   646
                                                 name: 'TextEditor6'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   647
                                                 layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   648
                                                 activeHelpKey: arg3Value
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   649
                                                 tabable: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   650
                                                 hasHorizontalScrollBar: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   651
                                                 hasVerticalScrollBar: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   652
                                                 miniScrollerHorizontal: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   653
                                                 miniScrollerVertical: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   654
                                                 autoHideScrollBars: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   655
                                                 hasKeyboardFocusInitially: false
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   656
                                                 postBuildCallback: argument3WidgetCreated:
1532
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
   657
                                               )
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   658
                                              )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   659
                                            
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   660
                                           )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   661
                                           extent: (Point 110 69)
1530
37b18e9a12fb checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1529
diff changeset
   662
                                         )
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   663
                                        )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   664
                                      
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   665
                                     )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   666
                                     extent: (Point 110 214)
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   667
                                   )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   668
                                  (WorkspaceSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   669
                                     name: 'AnswerEditor'
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   670
                                     activeHelpKey: answerValue
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   671
                                     tabable: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   672
                                     hasHorizontalScrollBar: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   673
                                     hasVerticalScrollBar: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   674
                                     miniScrollerHorizontal: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   675
                                     miniScrollerVertical: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   676
                                     autoHideScrollBars: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   677
                                     hasKeyboardFocusInitially: false
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   678
                                     extent: (Point 110 214)
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   679
                                     postBuildCallback: messageAnswerWidgetCreated:
1525
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   680
                                   )
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   681
                                  )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   682
                                
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   683
                               )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   684
                             )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   685
                            )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   686
                          
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   687
                         )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   688
                       )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   689
                      (ViewSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   690
                         name: 'ReceiverArgBoxActionBox'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   691
                         layout: (LayoutFrame 0 0 -98 0.5 0 1 -75 0.5)
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   692
                         component: 
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   693
                        (SpecCollection
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   694
                           collection: (
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   695
                            (ActionButtonSpec
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   696
                               activeHelpKey: clearButton    
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   697
                               label: 'Clear'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   698
                               name: 'Button2'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   699
                               layout: (LayoutFrame 5 0 0 0 -5 0.5 0 1)
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   700
                               translateLabel: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   701
                               model: clear
1532
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
   702
                             )
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   703
                            (ActionButtonSpec
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   704
                               activeHelpKey: startSearchButton    
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   705
                               label: 'Search'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   706
                               name: 'Button1'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   707
                               layout: (LayoutFrame 5 0.5 0 0 -5 1 0 1)
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   708
                               translateLabel: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   709
                               tabable: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   710
                               model: search
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   711
                             )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   712
                            )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   713
                          
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   714
                         )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   715
                       )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   716
                      (ViewSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   717
                         name: 'MatchActionBox'
3290
19e31edb0dd6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 3289
diff changeset
   718
                         layout: (LayoutFrame 0 0 -70 0.5 0 1 10 0.5)
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   719
                         component: 
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   720
                        (SpecCollection
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   721
                           collection: (
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   722
                            (LabelSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   723
                               label: 'Selector Pattern:'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   724
                               name: 'Label1'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   725
                               layout: (LayoutFrame 0 0 0 0 0 0.5 25 0)
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   726
                               translateLabel: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   727
                               adjust: left
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
   728
                             )
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   729
                            (InputFieldSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   730
                               name: 'EntryField1'
3290
19e31edb0dd6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 3289
diff changeset
   731
                               layout: (LayoutFrame 2 0 -54 1 -2 1 -29 1)
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   732
                               model: selectorPatternHolder
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   733
                               immediateAccept: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   734
                               acceptOnReturn: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   735
                               acceptOnTab: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   736
                               acceptOnPointerLeave: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   737
                             )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   738
                            (ActionButtonSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   739
                               label: 'Search'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   740
                               name: 'Button4'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   741
                               layout: (LayoutFrame 5 0.5 -25 1 -5 1 0 1)
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   742
                               translateLabel: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   743
                               tabable: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   744
                               model: searchPatternMatchesInBackground
2886
ba035714bf27 added search by pattern;
Claus Gittinger <cg@exept.de>
parents: 2859
diff changeset
   745
                             )
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   746
                            )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   747
                          
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   748
                         )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   749
                       )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   750
                      (SequenceViewSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   751
                         name: 'ResultList'
3290
19e31edb0dd6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 3289
diff changeset
   752
                         layout: (LayoutFrame 0 0 15 0.5 0 1 0 1)
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   753
                         model: selectedImplementorsHolder
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   754
                         menu: resultListMenu
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   755
                         hasHorizontalScrollBar: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   756
                         hasVerticalScrollBar: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   757
                         autoHideScrollBars: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   758
                         useIndex: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   759
                         sequenceList: resultHolder
1530
37b18e9a12fb checkin from browser
Claus Gittinger <cg@exept.de>
parents: 1529
diff changeset
   760
                       )
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   761
                      )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   762
                    
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   763
                   )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   764
                 )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   765
                (VariableVerticalPanelSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   766
                   name: 'VariableVerticalPanel1'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   767
                   component: 
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   768
                  (SpecCollection
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   769
                     collection: (
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   770
                      (SequenceViewSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   771
                         name: 'List2'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   772
                         model: selectedClassOfResultHolder
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   773
                         menu: implementorListMenu
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   774
                         hasHorizontalScrollBar: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   775
                         hasVerticalScrollBar: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   776
                         autoHideScrollBars: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   777
                         doubleClickSelector: openBrowserOn:
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   778
                         valueChangeSelector: selectedClassOfResultHolderChanged
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   779
                         useIndex: false
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   780
                         sequenceList: classOfResultHolder
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
   781
                       )
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   782
                      (CodeViewSpec
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   783
                         name: 'CodeView'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   784
                         model: codeHolder
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   785
                         hasHorizontalScrollBar: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   786
                         hasVerticalScrollBar: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   787
                         autoHideScrollBars: true
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   788
                         hasKeyboardFocusInitially: false
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   789
                         postBuildCallback: sourceCodeWidgetCreated:
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   790
                         viewClassName: 'codeViewClass'
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   791
                       )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   792
                      )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   793
                    
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   794
                   )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   795
                   handles: (Any 0.5 1.0)
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
   796
                 )
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   797
                )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   798
              
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   799
             )
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   800
             handles: (Any 0.37391304347826104 1.0)
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
   801
           )
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   802
          )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   803
        
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   804
       )
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   805
     )
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
   806
! !
f67b97bc683a initial checkin
james
parents:
diff changeset
   807
1525
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   808
!MethodFinderWindow class methodsFor:'menu specs'!
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   809
1529
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   810
implementorListMenu
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   811
    "This resource specification was automatically generated
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   812
     by the MenuEditor of ST/X."
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   813
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   814
    "Do not manually edit this!! If it is corrupted,
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   815
     the MenuEditor may not be able to read the specification."
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   816
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   817
    "
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   818
     MenuEditor new openOnClass:MethodFinderWindow andSelector:#implementorListMenu
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   819
     (Menu new fromLiteralArrayEncoding:(MethodFinderWindow implementorListMenu)) startUp
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   820
    "
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   821
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   822
    <resource: #menu>
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   823
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   824
    ^ 
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   825
     #(#Menu
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   826
        #(
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   827
         #(#MenuItem
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   828
            #label: 'Browse'
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   829
            #translateLabel: true
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   830
            #value: #openBrowserOnSelectedItem
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   831
          )
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   832
         )
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   833
        nil
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   834
        nil
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   835
      )
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   836
!
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
   837
1525
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   838
menu
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   839
    "This resource specification was automatically generated
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   840
     by the MenuEditor of ST/X."
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   841
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   842
    "Do not manually edit this!! If it is corrupted,
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   843
     the MenuEditor may not be able to read the specification."
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   844
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   845
    "
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   846
     MenuEditor new openOnClass:MethodFinderWindow andSelector:#menu
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   847
     (Menu new fromLiteralArrayEncoding:(MethodFinderWindow menu)) startUp
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   848
    "
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   849
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   850
    <resource: #menu>
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   851
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   852
    ^ 
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   853
     #(#Menu
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   854
        #(
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   855
         #(#MenuItem
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   856
            #label: '&File'
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   857
            #activeHelpKey: #file
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   858
            #submenu: 
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   859
           #(#Menu
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   860
              #(
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   861
               #(#MenuItem
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   862
                  #label: 'Exit'
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   863
                  #value: #closeRequest
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   864
                  #activeHelpKey: #fileExit
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   865
                )
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   866
               )
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   867
              nil
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   868
              nil
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   869
            )
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   870
          )
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   871
         #(#MenuItem
3193
4ab685b49b91 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3109
diff changeset
   872
            label: 'MENU_Help'
4ab685b49b91 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3109
diff changeset
   873
            startGroup: conditionalRight
1525
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   874
            #submenu: 
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   875
           #(#Menu
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   876
              #(
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   877
               #(#MenuItem
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   878
                  #label: 'Documentation'
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   879
                  #value: #openHTMLDocumentation
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   880
                  #activeHelpKey: #helpTutorial
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   881
                )
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   882
               #(#MenuItem
1532
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
   883
                  #label: 'About MethodFinder...'
1525
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   884
                  #value: #openAboutThisApplication
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   885
                  #activeHelpKey: #aboutThisAppliaction
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   886
                )
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   887
               )
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   888
              nil
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   889
              nil
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   890
            )
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   891
          )
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   892
         )
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   893
        nil
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   894
        nil
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   895
      )
1532
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
   896
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
   897
    "Modified: / 13.11.2001 / 12:36:39 / cg"
2927
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   898
!
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   899
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   900
resultListMenu
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   901
    "This resource specification was automatically generated
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   902
     by the MenuEditor of ST/X."
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   903
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   904
    "Do not manually edit this!! If it is corrupted,
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   905
     the MenuEditor may not be able to read the specification."
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   906
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   907
    "
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   908
     MenuEditor new openOnClass:MethodFinderWindow andSelector:#implementorListMenu
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   909
     (Menu new fromLiteralArrayEncoding:(MethodFinderWindow implementorListMenu)) startUp
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   910
    "
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   911
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   912
    <resource: #menu>
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   913
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   914
    ^ 
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   915
     #(#Menu
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   916
        #(
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   917
         #(#MenuItem
3024
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
   918
            #label: 'Browse Senders'
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
   919
            #translateLabel: true
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
   920
            #value: #openBrowserOnSenderOfSelectedResultItem
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
   921
          )
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
   922
         #(#MenuItem
2927
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   923
            #label: 'Browse Implementors'
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   924
            #translateLabel: true
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   925
            #value: #openBrowserOnSelectedResultItem
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   926
          )
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   927
         )
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   928
        nil
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   929
        nil
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   930
      )
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   931
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
   932
    "Created: / 21-09-2012 / 11:05:15 / cg"
1525
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   933
! !
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   934
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   935
!MethodFinderWindow class methodsFor:'startup'!
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   936
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   937
openOnSelectorPattern:selector
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   938
    |app|
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   939
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   940
    app := self new.
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   941
    app allButOpen.
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   942
    app selectorPatternHolder value:selector.
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   943
    app openWindow.
3290
19e31edb0dd6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 3289
diff changeset
   944
    "/ app waitForBackgroundSearchFinished.
19e31edb0dd6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 3289
diff changeset
   945
    
3289
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   946
    ^ app
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   947
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   948
    "
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   949
     self openOnSelectorPattern:'asLowercase'
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   950
    "
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   951
! !
2902c1233b4e #UI_ENHANCEMENT by cg
Claus Gittinger <cg@exept.de>
parents: 3215
diff changeset
   952
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
   953
!MethodFinderWindow methodsFor:'accessing'!
f67b97bc683a initial checkin
james
parents:
diff changeset
   954
f67b97bc683a initial checkin
james
parents:
diff changeset
   955
receiver
1525
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   956
    "Return a copy of the value of the instance variable 'receiver' "
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
   957
f67b97bc683a initial checkin
james
parents:
diff changeset
   958
    ^ receiver copy
f67b97bc683a initial checkin
james
parents:
diff changeset
   959
! !
f67b97bc683a initial checkin
james
parents:
diff changeset
   960
f67b97bc683a initial checkin
james
parents:
diff changeset
   961
!MethodFinderWindow methodsFor:'actions'!
f67b97bc683a initial checkin
james
parents:
diff changeset
   962
f67b97bc683a initial checkin
james
parents:
diff changeset
   963
clear
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
   964
    "Reset the contents of all the outputs."
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
   965
f67b97bc683a initial checkin
james
parents:
diff changeset
   966
    receiverEditor contents:nil.
f67b97bc683a initial checkin
james
parents:
diff changeset
   967
    argument1Editor contents:nil.
f67b97bc683a initial checkin
james
parents:
diff changeset
   968
    argument2Editor contents:nil.
f67b97bc683a initial checkin
james
parents:
diff changeset
   969
    argument3Editor contents:nil.
f67b97bc683a initial checkin
james
parents:
diff changeset
   970
    messageAnswerEditor contents:nil.
f67b97bc683a initial checkin
james
parents:
diff changeset
   971
    self resultHolder value:nil.
1525
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   972
    self classOfResultHolder value: nil.
2730
abcb0402d5ba changed: #clear
Claus Gittinger <cg@exept.de>
parents: 2459
diff changeset
   973
    codeHolder value:nil.
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
   974
!
f67b97bc683a initial checkin
james
parents:
diff changeset
   975
f67b97bc683a initial checkin
james
parents:
diff changeset
   976
messageAnswerEditorContents
3024
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
   977
    "Return a cleaned up version of message answer taken from the messageAnswerEditor
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
   978
     as an association. The association has cleanedAnswerString as a key and the
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
   979
     compiledAnswer as value."
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
   980
    
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
   981
    |aCleanedAnswerString compiledAnswer|
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
   982
3024
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
   983
    aCleanedAnswerString := self cleanInputs:(messageAnswerEditor contents).
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
   984
    compiledAnswer := Compiler evaluate:aCleanedAnswerString.
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
   985
    ((self isExpression:aCleanedAnswerString) or:[ compiledAnswer isNil ]) ifTrue:[
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
   986
        aCleanedAnswerString := compiledAnswer printString
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
   987
    ].
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
   988
    ^ aCleanedAnswerString -> compiledAnswer.
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
   989
!
f67b97bc683a initial checkin
james
parents:
diff changeset
   990
f67b97bc683a initial checkin
james
parents:
diff changeset
   991
openBrowserOn:anArgument 
f67b97bc683a initial checkin
james
parents:
diff changeset
   992
    "Opens browser on theArgument of a specific class. anArgument being a string with the
1525
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   993
       Class and the selector upon which the browser is to be opened. Return the receiver."
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
   994
1532
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
   995
    |classAndSelector|
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
   996
1532
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
   997
    classAndSelector := self extractClassAndSelectorFrom:anArgument.
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
   998
    classAndSelector isNil ifTrue:[
1525
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
   999
        ^ self
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
  1000
    ].
3024
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1001
    UserPreferences systemBrowserClass
2459
dc2cc94d9444 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2412
diff changeset
  1002
        openInClass:classAndSelector key 
dc2cc94d9444 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2412
diff changeset
  1003
        selector:classAndSelector value   
1525
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
  1004
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
  1005
"
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
  1006
MethodFinderWindow new openBrowserOn: '*SmallInteger +'
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
  1007
MethodFinderWindow new openBrowserOn: 'String ,'
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
  1008
MethodFinderWindow new openBrowserOn: 'Number detentBy:atMultiplesOf:snap:' 
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
  1009
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
  1010
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
  1011
"
1532
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
  1012
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
  1013
    "Modified: / 13.11.2001 / 12:46:17 / cg"
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
  1014
!
f67b97bc683a initial checkin
james
parents:
diff changeset
  1015
1529
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
  1016
openBrowserOnSelectedItem 
2927
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1017
    "on the selected implementor"
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1018
1529
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
  1019
    |sel|
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
  1020
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
  1021
    sel := self selectedClassOfResultHolder value.
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
  1022
    self openBrowserOn:sel
1532
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
  1023
2927
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1024
    "Modified: / 13-11-2001 / 12:47:39 / cg"
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1025
    "Modified (comment): / 21-09-2012 / 11:08:33 / cg"
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1026
!
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1027
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1028
openBrowserOnSelectedResultItem 
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1029
    "on an item in the lower left list,
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1030
     on all implementors of that message"
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1031
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1032
    |selIndex selector|
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1033
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1034
    selIndex := self selectedImplementorsHolder value.
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1035
    selIndex isNil ifTrue:[^ self].
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1036
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1037
    selector := resultSelectors at:selIndex.
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1038
    UserPreferences browserClass browseImplementorsOf:selector.
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1039
Claus Gittinger <cg@exept.de>
parents: 2892
diff changeset
  1040
    "Created: / 21-09-2012 / 11:05:46 / cg"
1529
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
  1041
!
8c1607c0fbe8 pop up menu
Claus Gittinger <cg@exept.de>
parents: 1526
diff changeset
  1042
3024
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1043
openBrowserOnSenderOfSelectedResultItem
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1044
    "on an item in the lower left list,
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1045
     on all implementors of that message"
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1046
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1047
    |selIndex selector|
1525
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
  1048
3024
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1049
    selIndex := self selectedImplementorsHolder value.
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1050
    selIndex isNil ifTrue:[^ self].
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1051
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1052
    selector := resultSelectors at:selIndex.
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1053
    UserPreferences browserClass browseSendersOf:selector.
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1054
!
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
  1055
f67b97bc683a initial checkin
james
parents:
diff changeset
  1056
search
3024
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1057
    "Do a search based on the input in the various text editors. Return the receiver."
3322
7fa5dfa1832f #OTHER by mawalch
mawalch
parents: 3315
diff changeset
  1058
3024
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1059
    |tempReceiver tempAnswer tempArguments anArray resultArray receiverWithArgument mf|
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
  1060
3024
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1061
    self resultHolder value:nil.
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1062
    self classOfResultHolder value:nil.
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1063
    self codeHolder value:nil.
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1064
    tempArguments := self argumentEditorsContents.
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1065
    tempReceiver := self receiverEditorContents.
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1066
    tempAnswer := self messageAnswerEditorContents.
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1067
     "self cleanInputRec:tempReceiver arg:tempArguments ans:tempAnswer."
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1068
    anArray := Array new:2.
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
  1069
    receiverWithArgument := self mergeReceiver:(tempReceiver value)
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
  1070
                                 withArgument:(tempArguments values).
3024
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1071
    anArray
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1072
        at:1 put:receiverWithArgument;
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1073
        at:2 put:tempAnswer value.
3322
7fa5dfa1832f #OTHER by mawalch
mawalch
parents: 3315
diff changeset
  1074
     "an array now holds the following array #(#(receiver argument) answer) or #(#(receiver) answer). which should
3024
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1075
     be suitable input for the method finder."
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1076
    self withCursor:Cursor execute
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1077
        do:[
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1078
            mf := MethodFinder new.
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1079
            resultArray := mf
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1080
                    load:anArray;
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1081
                    findMessage.
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1082
        ].
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1083
    ((resultArray at:1) includesSubString:'no single') ifTrue:[
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1084
        self warn:(resultArray at:1).
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1085
        ^ self
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1086
    ].
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1087
     "the following then replaces data1 and data2 created by the method finder to the appropriate arguments"
3322
7fa5dfa1832f #OTHER by mawalch
mawalch
parents: 3315
diff changeset
  1088
    resultArray
7fa5dfa1832f #OTHER by mawalch
mawalch
parents: 3315
diff changeset
  1089
        keysAndValuesDo:[:key :value |
3024
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1090
            |newValue|
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
  1091
3024
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1092
            newValue := value replString:'data1' withString:(tempReceiver key).
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1093
            (tempArguments size) >= 1 ifTrue:[
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1094
                newValue := newValue replString:'data2'
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1095
                        withString:(tempArguments keyAt:1)
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1096
            ].
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1097
            (tempArguments size) > 1 ifTrue:[
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1098
                newValue := newValue replString:'data3'
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1099
                        withString:(tempArguments keyAt:2).
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1100
            ].
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1101
            (tempArguments size) > 2 ifTrue:[
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1102
                newValue := newValue replString:'data4'
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1103
                        withString:(tempArguments keyAt:3).
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1104
            ].
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1105
            (tempArguments size) > 3 ifTrue:[
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1106
                self halt:'unimplemented'.
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1107
            ].
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1108
             "    newValue:= value replString: 'data3' withString:(self messageAnswer key). "
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1109
            newValue := newValue , ' --> ' , (tempAnswer key).
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1110
            newValue replaceAll:Character cr with:Character space.
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1111
            resultArray at:key put:newValue.
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1112
        ].
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1113
    self resultHolder value:resultArray.
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1114
    resultSelectors := mf selectors.
66a99ab06e19 class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3023
diff changeset
  1115
    receiver := tempReceiver
1532
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
  1116
2859
118c4294d9cd changed: #search
Claus Gittinger <cg@exept.de>
parents: 2775
diff changeset
  1117
    "Modified: / 26-09-2011 / 12:42:28 / cg"
1532
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
  1118
!
318c295490c1 GUI enhanced
Claus Gittinger <cg@exept.de>
parents: 1531
diff changeset
  1119
3023
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1120
searchPatternMatchesInBackground
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1121
    "Do a search based on the pattern match as a background task"
2886
ba035714bf27 added search by pattern;
Claus Gittinger <cg@exept.de>
parents: 2859
diff changeset
  1122
3023
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1123
    | p pattern|
2891
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
  1124
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
  1125
    (p := searchProcess) notNil ifTrue:[
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
  1126
        searchProcess := nil.
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
  1127
        p terminate.
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
  1128
    ].
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
  1129
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
  1130
    pattern := self selectorPatternHolder value.
3023
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1131
    pattern isEmptyOrNil ifTrue:[
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1132
        self resultHolder value:self resultInfoText.
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1133
        self classOfResultHolder value:nil.
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1134
        self codeHolder value:nil.
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1135
        ^ self
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1136
    ].
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1137
2891
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
  1138
    searchProcess := 
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
  1139
        [
3290
19e31edb0dd6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 3289
diff changeset
  1140
            |list counts firsts seconds selectors resultList idx match|
2891
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
  1141
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
  1142
            self withCursor:Cursor execute do:[
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
  1143
                pattern includesMatchCharacters ifFalse:[   
3290
19e31edb0dd6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 3289
diff changeset
  1144
                    list := SystemBrowser findImplementorsOf:pattern in:Smalltalk allClasses ignoreCase:true.
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
  1145
                    list isEmptyOrNil ifTrue:[
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
  1146
                        match := pattern,'*'.
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
  1147
                        list := SystemBrowser findImplementorsMatching:match in:Smalltalk allClasses ignoreCase:true.
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
  1148
                    ].
3290
19e31edb0dd6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 3289
diff changeset
  1149
                ] ifTrue:[
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
  1150
                    "/ match := '*',pattern,'*'.
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
  1151
                    match := pattern.
3290
19e31edb0dd6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 3289
diff changeset
  1152
                    list := SystemBrowser findImplementorsMatching:match in:Smalltalk allClasses ignoreCase:true.
2891
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
  1153
                ].
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
  1154
            ].
3023
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1155
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1156
            counts := IdentityDictionary new.
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1157
            firsts := IdentityDictionary new.
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1158
            seconds := IdentityDictionary new.
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1159
            selectors := IdentitySet new.
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1160
            list do:[:eachMethod |
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1161
                |msel|
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1162
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1163
                msel := eachMethod selector.
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1164
                selectors add:msel.
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1165
                (counts at:msel ifAbsentPut:[ 0 asValue ]) increment.
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1166
                (firsts includesKey:msel) ifTrue:[
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1167
                    (seconds includesKey:msel) ifFalse:[
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1168
                        seconds at:msel ifAbsentPut:[ eachMethod mclass ].
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1169
                    ].
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1170
                ] ifFalse:[
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1171
                    firsts at:msel ifAbsentPut:[ eachMethod mclass ].
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1172
                ].
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1173
            ].
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1174
            resultSelectors := selectors asOrderedCollection sort.
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1175
            resultList := resultSelectors 
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1176
                            collect:[:sel | 
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1177
                                |cnt s|
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1178
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1179
                                s := sel allBold , ' --> '.
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1180
                                cnt := (counts at:sel) value.
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1181
                                cnt == 1 ifTrue:[
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1182
                                    s , (firsts at:sel) name
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1183
                                ] ifFalse:[
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1184
                                    cnt == 2 ifTrue:[
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1185
                                        s , (firsts at:sel) name , ' and ' , (seconds at:sel) name
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1186
                                    ] ifFalse:[
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1187
                                        s , cnt printString , ' implementor(s)'
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1188
                                    ]
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1189
                                ].
8298397571eb class: MethodFinderWindow
Claus Gittinger <cg@exept.de>
parents: 3003
diff changeset
  1190
                            ].
3292
f29412454cd5 #REFACTORING by cg
Claus Gittinger <cg@exept.de>
parents: 3290
diff changeset
  1191
                            
3290
19e31edb0dd6 #FEATURE by cg
Claus Gittinger <cg@exept.de>
parents: 3289
diff changeset
  1192
            self enqueueDelayedAction:[ self updateListAfterPatternSearch: resultList ].
2891
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
  1193
        ] fork.
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
  1194
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
  1195
    "Created: / 01-06-2012 / 13:16:54 / cg"
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
  1196
!
d4f1cd8626e6 class definition
Claus Gittinger <cg@exept.de>
parents: 2890
diff changeset
  1197
1522
f67b97bc683a initial checkin
james
parents:
diff changeset
  1198
updateImplementorsOf:anInteger 
1525
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
  1199
    "Request the implementors of the selected argument provided by aNumber.
2892
a1349bc5e2fe changed:
Claus Gittinger <cg@exept.de>
parents: 2891
diff changeset
  1200
     Return the receiver."
a1349bc5e2fe changed:
Claus Gittinger <cg@exept.de>
parents: 2891
diff changeset
  1201
    
a1349bc5e2fe changed:
Claus Gittinger <cg@exept.de>
parents: 2891
diff changeset
  1202
    |methods classList aNumber|
1525
c91fbd9f8338 checkin from browser
james
parents: 1522
diff changeset
  1203
2892
a1349bc5e2fe changed:
Claus Gittinger <cg@exept.de>
parents: 2891
diff changeset