-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Multiple methods are defined in the Manifest package but are used only for the critics UI. I propose to move them to the UI package. I also used packages instead of categories and updated a call to a deprecated method.
- Loading branch information
Showing
4 changed files
with
47 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Extension { #name : 'ClassDescription' } | ||
|
||
{ #category : '*NewTools-CodeCritiques' } | ||
ClassDescription >> criticNameOn: aStream [ | ||
"This behavior may be folded later by changing the name of this method or using another one." | ||
|
||
aStream << self name << ' (' << self package name << ')' | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Extension { #name : 'CompiledMethod' } | ||
|
||
{ #category : '*NewTools-CodeCritiques' } | ||
CompiledMethod >> criticNameOn: aStream [ | ||
"This behavior may be folded later by changing the name of this method or using another one." | ||
|
||
aStream | ||
<< self methodClass name | ||
<< '>>#' | ||
<< self selector | ||
<< ' (' | ||
<< self methodClass package name | ||
<< ')' | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
Extension { #name : 'RPackage' } | ||
|
||
{ #category : '*NewTools-CodeCritiques' } | ||
RPackage >> criticNameOn: aStream [ | ||
"This behavior may be folded later by changing the name of this method or using another one." | ||
|
||
aStream << self packageName | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters