The Trunk: Tools-ul.551.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Tools-ul.551.mcz

commits-2
Levente Uzonyi uploaded a new version of Tools to project The Trunk:
http://source.squeak.org/trunk/Tools-ul.551.mcz

==================== Summary ====================

Name: Tools-ul.551
Author: ul
Time: 13 March 2015, 5:39:48.09 am
UUID: fe6d3208-411b-4114-b0ad-f3d148797a36
Ancestors: Tools-mt.550

- don't try to show message icons in FileContentsBrowser, because PseudoClass doesn't implement the necessary API to do that.
- use the new methods #isSelectorOverride: and #isSelectorOverridden: in CodeHolder.

=============== Diff against Tools-mt.550 ===============

Item was changed:
  ----- Method: CodeHolder>>isThereAnOverride (in category 'misc') -----
  isThereAnOverride
+ "Answer whether any subclass of my selected class implements my selected selector"
+
- "Answer whether any subclass of my selected class implements my
- selected selector"
  | aName aClass |
  aName := self selectedMessageName ifNil: [^ false].
  aClass := self selectedClassOrMetaClass ifNil: [^ false].
+ ^aClass isSelectorOverridden: aName!
- aClass allSubclassesDo: [ :cls | (cls includesSelector: aName) ifTrue: [ ^true ]].
- ^ false!

Item was changed:
  ----- Method: CodeHolder>>isThisAnOverride (in category 'misc') -----
  isThisAnOverride
  "Answer whether any superclass of my selected class implements my selected selector"
+
  | aName aClass |
  aName := self selectedMessageName ifNil: [^ false].
  aClass := self selectedClassOrMetaClass ifNil: [^ false].
+ ^aClass isSelectorOverride: aName!
- aClass allSuperclassesDo: [ :cls | (cls includesSelector: aName) ifTrue: [ ^true ]].
- ^ false!

Item was added:
+ ----- Method: FileContentsBrowser class>>showMessageIcons (in category 'preferences') -----
+ showMessageIcons
+ "Remove this method once PseudoClass implements the methods of the class API required to show the icons."
+
+ ^false!


Reply | Threaded
Open this post in threaded view
|

Re: The Trunk: Tools-ul.551.mcz

Tobias Pape

On 13.03.2015, at 04:40, [hidden email] wrote:

> Levente Uzonyi uploaded a new version of Tools to project The Trunk:
> http://source.squeak.org/trunk/Tools-ul.551.mcz
>
> ==================== Summary ====================
>
> Name: Tools-ul.551
> Author: ul
> Time: 13 March 2015, 5:39:48.09 am
> UUID: fe6d3208-411b-4114-b0ad-f3d148797a36
> Ancestors: Tools-mt.550
>
> - don't try to show message icons in FileContentsBrowser, because PseudoClass doesn't implement the necessary API to do that.

… Ok, I thoght I fixed that in ToolIcons already?

Best
        -Tobias

> - use the new methods #isSelectorOverride: and #isSelectorOverridden: in CodeHolder.
>
> =============== Diff against Tools-mt.550 ===============
>
> Item was changed: