MethodSelectionBrowser.st
author Claus Gittinger <cg@exept.de>
Fri, 20 Jul 2012 20:17:17 +0200
changeset 2897 b6cd7ee2a43b
parent 1979 7b14d02e8ed1
child 3305 6cfecdd561c1
permissions -rw-r--r--
added: #openOn: #openOnPackage: changed:8 methods category of:
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
     1
"
771
905c3b4ba565 revised
tz
parents: 680
diff changeset
     2
 COPYRIGHT (c) 1997-1998 by eXept Software AG
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
     3
              All Rights Reserved
d2fc253819c1 initial checkin
tz
parents:
diff changeset
     4
d2fc253819c1 initial checkin
tz
parents:
diff changeset
     5
 This software is furnished under a license and may be used
d2fc253819c1 initial checkin
tz
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
d2fc253819c1 initial checkin
tz
parents:
diff changeset
     7
 inclusion of the above copyright notice. This software may not
d2fc253819c1 initial checkin
tz
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
d2fc253819c1 initial checkin
tz
parents:
diff changeset
     9
 other person. No title to or ownership of the software is
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    10
 hereby transferred.
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    11
"
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    12
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    13
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    14
1979
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
    15
"{ Package: 'stx:libtool2' }"
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
    16
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    17
ResourceSelectionBrowser subclass:#MethodSelectionBrowser
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    18
	instanceVariableNames:''
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    19
	classVariableNames:''
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    20
	poolDictionaries:''
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    21
	category:'Interface-Dialogs'
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    22
!
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    23
771
905c3b4ba565 revised
tz
parents: 680
diff changeset
    24
Object subclass:#Method
665
be9ead6a517b row label changed
tz
parents: 650
diff changeset
    25
	instanceVariableNames:'selector protocol'
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    26
	classVariableNames:''
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    27
	poolDictionaries:''
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    28
	privateIn:MethodSelectionBrowser
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    29
!
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    30
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    31
!MethodSelectionBrowser class methodsFor:'documentation'!
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    32
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    33
copyright
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    34
"
771
905c3b4ba565 revised
tz
parents: 680
diff changeset
    35
 COPYRIGHT (c) 1997-1998 by eXept Software AG
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    36
              All Rights Reserved
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    37
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    38
 This software is furnished under a license and may be used
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    39
 only in accordance with the terms of that license and with the
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    40
 inclusion of the above copyright notice. This software may not
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    41
 be provided or otherwise made available to, or used by, any
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    42
 other person. No title to or ownership of the software is
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    43
 hereby transferred.
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    44
"
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    45
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    46
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    47
!
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    48
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    49
documentation
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    50
"
771
905c3b4ba565 revised
tz
parents: 680
diff changeset
    51
    The MethodSelectionBrowser allows you to browse in class hierarchies
905c3b4ba565 revised
tz
parents: 680
diff changeset
    52
    for selecting methods for you purposes.
905c3b4ba565 revised
tz
parents: 680
diff changeset
    53
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    54
    [start with:]
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    55
        MethodSelectionBrowser open
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    56
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    57
    [author:]
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    58
        Thomas Zwick
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    59
"
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    60
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    61
! !
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    62
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    63
!MethodSelectionBrowser class methodsFor:'instance creation'!
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    64
771
905c3b4ba565 revised
tz
parents: 680
diff changeset
    65
request: aTitle onSuperclass: aSuperclass andClass: aClass andSelector: aSelector withTypes: protocolTypes
905c3b4ba565 revised
tz
parents: 680
diff changeset
    66
    "opens a MethodSelectionBrowser on 
908
6862c9c822a3 class presentation in categories added
tz
parents: 823
diff changeset
    67
        aSuperclassOrSymbol, 
6862c9c822a3 class presentation in categories added
tz
parents: 823
diff changeset
    68
        and aClassOrSymbol, 
6862c9c822a3 class presentation in categories added
tz
parents: 823
diff changeset
    69
        and aSelector,
6862c9c822a3 class presentation in categories added
tz
parents: 823
diff changeset
    70
        with allowed protocolTypes"
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    71
1979
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
    72
    ^ self new
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
    73
        title: aTitle;
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
    74
        openOnSuperclass: aSuperclass
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
    75
        andClass: aClass
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
    76
        andSelector: aSelector
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
    77
        withTypes: protocolTypes
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
    78
650
495b35593c09 the returning message should contain some info about the method protocol type
tz
parents: 646
diff changeset
    79
    "
1979
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
    80
     MethodSelectionBrowser
908
6862c9c822a3 class presentation in categories added
tz
parents: 823
diff changeset
    81
        request: 'Select a Method'
6862c9c822a3 class presentation in categories added
tz
parents: 823
diff changeset
    82
        onSuperclass: #ApplicationModel 
6862c9c822a3 class presentation in categories added
tz
parents: 823
diff changeset
    83
        andClass: #MenuEditor 
6862c9c822a3 class presentation in categories added
tz
parents: 823
diff changeset
    84
        andSelector: #menuItemImage
6862c9c822a3 class presentation in categories added
tz
parents: 823
diff changeset
    85
        withTypes: #(class)      
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    86
    "
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    87
! !
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    88
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    89
!MethodSelectionBrowser class methodsFor:'list specs'!
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    90
823
47e7d348e01a *** empty log message ***
tz
parents: 821
diff changeset
    91
tableColumnsForResourceMethodAttributes
821
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
    92
    "This resource specification was automatically generated
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
    93
     by the DataSetBuilder of ST/X."
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
    94
821
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
    95
    "Do not manually edit this!! If it is corrupted,
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
    96
     the DataSetBuilder may not be able to read the specification."
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
    97
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
    98
    "
823
47e7d348e01a *** empty log message ***
tz
parents: 821
diff changeset
    99
     DataSetBuilder new openOnClass:MethodSelectionBrowser andSelector:#tableColumnsForResourceMethodAttributes
821
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
   100
    "
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
   101
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
   102
    <resource: #tableColumns>
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   103
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   104
821
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
   105
    ^ #(
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
   106
        #(#DataSetColumnSpec
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
   107
           #label: ' Selector'
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
   108
           #labelAlignment: #left
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
   109
           #model: #selector
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
   110
           #canSelect: false
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
   111
       )
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
   112
        #(#DataSetColumnSpec
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
   113
           #label: ' Protocol'
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
   114
           #labelAlignment: #left
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
   115
           #model: #protocol
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
   116
           #canSelect: false
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
   117
       )
950e6fbbc1f0 table columns formatted
tz
parents: 789
diff changeset
   118
     )
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   119
! !
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   120
773
tz
parents: 771
diff changeset
   121
!MethodSelectionBrowser methodsFor:'aspects'!
tz
parents: 771
diff changeset
   122
tz
parents: 771
diff changeset
   123
helpEnabled
tz
parents: 771
diff changeset
   124
    "returns whether there is a documentation file"
tz
parents: 771
diff changeset
   125
tz
parents: 771
diff changeset
   126
    ^false
tz
parents: 771
diff changeset
   127
tz
parents: 771
diff changeset
   128
! !
tz
parents: 771
diff changeset
   129
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   130
!MethodSelectionBrowser methodsFor:'callbacks - user'!
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   131
771
905c3b4ba565 revised
tz
parents: 680
diff changeset
   132
classSelected
905c3b4ba565 revised
tz
parents: 680
diff changeset
   133
    "after a class selection, read the class or/and instance methods of the selected class"
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   134
908
6862c9c822a3 class presentation in categories added
tz
parents: 823
diff changeset
   135
    ClassPresentation = #'Class Hierarchy'
6862c9c822a3 class presentation in categories added
tz
parents: 823
diff changeset
   136
        ifTrue:  [self selectionOfClassHierarchy  value isNil ifTrue: [^nil]]
6862c9c822a3 class presentation in categories added
tz
parents: 823
diff changeset
   137
        ifFalse: [self selectionOfClassCategories value isNil ifTrue: [^nil]].
6862c9c822a3 class presentation in categories added
tz
parents: 823
diff changeset
   138
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   139
    self withWaitCursorDo:
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   140
    [
771
905c3b4ba565 revised
tz
parents: 680
diff changeset
   141
        |clsName contentsBlock|
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   142
        resourceTypes isNil ifTrue: [resourceTypes := #(instance class)].
908
6862c9c822a3 class presentation in categories added
tz
parents: 823
diff changeset
   143
        ClassPresentation = #'Class Hierarchy'
6862c9c822a3 class presentation in categories added
tz
parents: 823
diff changeset
   144
            ifTrue:  [clsName := (self selectionOfClassHierarchy  value name upTo: $ ) asSymbol]
6862c9c822a3 class presentation in categories added
tz
parents: 823
diff changeset
   145
            ifFalse: [clsName := (self selectionOfClassCategories value name upTo: $ ) asSymbol].
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   146
        self valueOfClassName value: clsName.
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   147
        self class lastSelection: clsName.
771
905c3b4ba565 revised
tz
parents: 680
diff changeset
   148
        self listOfResourceMethods removeAll.
905c3b4ba565 revised
tz
parents: 680
diff changeset
   149
        contentsBlock := 
905c3b4ba565 revised
tz
parents: 680
diff changeset
   150
        [:protocol|
905c3b4ba565 revised
tz
parents: 680
diff changeset
   151
            |cls|
905c3b4ba565 revised
tz
parents: 680
diff changeset
   152
            (resourceTypes includes: protocol) 
905c3b4ba565 revised
tz
parents: 680
diff changeset
   153
            ifTrue: 
905c3b4ba565 revised
tz
parents: 680
diff changeset
   154
            [
905c3b4ba565 revised
tz
parents: 680
diff changeset
   155
                cls := Smalltalk at: clsName.
905c3b4ba565 revised
tz
parents: 680
diff changeset
   156
                cls := (protocol = #instance) ifTrue: [cls] ifFalse: [cls class].
905c3b4ba565 revised
tz
parents: 680
diff changeset
   157
                self listOfResourceMethods addAll:
905c3b4ba565 revised
tz
parents: 680
diff changeset
   158
                    (cls selectors asOrderedCollection
905c3b4ba565 revised
tz
parents: 680
diff changeset
   159
                     collect: [:sel| Method new selector: sel; protocol: protocol asString])
905c3b4ba565 revised
tz
parents: 680
diff changeset
   160
            ]
905c3b4ba565 revised
tz
parents: 680
diff changeset
   161
        ].
905c3b4ba565 revised
tz
parents: 680
diff changeset
   162
        contentsBlock value: #instance.
905c3b4ba565 revised
tz
parents: 680
diff changeset
   163
        contentsBlock value: #class.
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   164
    ]
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   165
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   166
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   167
! !
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   168
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   169
!MethodSelectionBrowser methodsFor:'instance creation'!
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   170
771
905c3b4ba565 revised
tz
parents: 680
diff changeset
   171
openOnSuperclass: aSuperclassOrSymbol andClass: aClassOrSymbol andSelector: aSelector withTypes: protocolTypes
905c3b4ba565 revised
tz
parents: 680
diff changeset
   172
    "opens a MethodSelectionBrowser on 
1979
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
   173
        aSuperclassOrSymbol, 
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
   174
        and aClassOrSymbol, 
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
   175
        and aSelector,
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
   176
        with allowed protocolTypes"
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   177
650
495b35593c09 the returning message should contain some info about the method protocol type
tz
parents: 646
diff changeset
   178
    |message type row|
771
905c3b4ba565 revised
tz
parents: 680
diff changeset
   179
1979
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
   180
    message := self 
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
   181
        openOnSuperclass: aSuperclassOrSymbol 
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
   182
        andClass: aClassOrSymbol 
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
   183
        andSelector: aSelector 
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
   184
        withResourceTypes: protocolTypes.
650
495b35593c09 the returning message should contain some info about the method protocol type
tz
parents: 646
diff changeset
   185
495b35593c09 the returning message should contain some info about the method protocol type
tz
parents: 646
diff changeset
   186
    (message notNil and:
771
905c3b4ba565 revised
tz
parents: 680
diff changeset
   187
    [((row := self selectionOfResourceMethod value) notNil and:
905c3b4ba565 revised
tz
parents: 680
diff changeset
   188
    [(type := row protocol) = 'class'])])
650
495b35593c09 the returning message should contain some info about the method protocol type
tz
parents: 646
diff changeset
   189
    ifTrue:
495b35593c09 the returning message should contain some info about the method protocol type
tz
parents: 646
diff changeset
   190
    [   
1979
7b14d02e8ed1 code cleanup & refactoring
Claus Gittinger <cg@exept.de>
parents: 908
diff changeset
   191
        message := message replChar:$  withString: ' class '
650
495b35593c09 the returning message should contain some info about the method protocol type
tz
parents: 646
diff changeset
   192
    ].
495b35593c09 the returning message should contain some info about the method protocol type
tz
parents: 646
diff changeset
   193
    ^message
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   194
! !
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   195
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   196
!MethodSelectionBrowser methodsFor:'startup / release'!
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   197
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   198
postBuildWith:aBuilder
771
905c3b4ba565 revised
tz
parents: 680
diff changeset
   199
    "sets the correct title"
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   200
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   201
    title := 'Method Selection Browser'.
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   202
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   203
    ^super postBuildWith:aBuilder
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   204
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   205
! !
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   206
771
905c3b4ba565 revised
tz
parents: 680
diff changeset
   207
!MethodSelectionBrowser::Method methodsFor:'accessing'!
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   208
665
be9ead6a517b row label changed
tz
parents: 650
diff changeset
   209
protocol
773
tz
parents: 771
diff changeset
   210
    "returns the protocol of the method (#instance or #class)"
665
be9ead6a517b row label changed
tz
parents: 650
diff changeset
   211
be9ead6a517b row label changed
tz
parents: 650
diff changeset
   212
    ^protocol
be9ead6a517b row label changed
tz
parents: 650
diff changeset
   213
be9ead6a517b row label changed
tz
parents: 650
diff changeset
   214
be9ead6a517b row label changed
tz
parents: 650
diff changeset
   215
!
be9ead6a517b row label changed
tz
parents: 650
diff changeset
   216
773
tz
parents: 771
diff changeset
   217
protocol: aSymbol
tz
parents: 771
diff changeset
   218
    "sets the protocol of the method (#instance or #class)"
665
be9ead6a517b row label changed
tz
parents: 650
diff changeset
   219
773
tz
parents: 771
diff changeset
   220
    protocol := aSymbol
665
be9ead6a517b row label changed
tz
parents: 650
diff changeset
   221
be9ead6a517b row label changed
tz
parents: 650
diff changeset
   222
be9ead6a517b row label changed
tz
parents: 650
diff changeset
   223
!
be9ead6a517b row label changed
tz
parents: 650
diff changeset
   224
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   225
selector
773
tz
parents: 771
diff changeset
   226
    "returns the selector of the method"
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   227
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   228
    ^selector
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   229
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   230
!
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   231
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   232
selector: aSymbol
773
tz
parents: 771
diff changeset
   233
    "sets the selector of the method"
646
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   234
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   235
    selector := aSymbol
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   236
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   237
! !
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   238
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   239
!MethodSelectionBrowser class methodsFor:'documentation'!
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   240
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   241
version
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   242
    ^ '$Header$'
d2fc253819c1 initial checkin
tz
parents:
diff changeset
   243
! !