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