diff --git a/src/NewTools-Core/StProtocolNameChooserPresenter.class.st b/src/NewTools-Core/StProtocolNameChooserPresenter.class.st index 8d3c8fd8..db335c75 100644 --- a/src/NewTools-Core/StProtocolNameChooserPresenter.class.st +++ b/src/NewTools-Core/StProtocolNameChooserPresenter.class.st @@ -69,7 +69,7 @@ StProtocolNameChooserPresenter class >> requestProtocolNameConfiguring: aBlock [ protocolName isEmptyOrNil ifTrue: [ CmCommandAborted signal ]. (protocolName beginsWith: '*') ifTrue: [ - self inform: 'Star is forbidden for protocol name since this is used for method extensions.'. + UIManager default inform: 'Star is forbidden for protocol name since this is used for method extensions.'. ^ CmCommandAborted signal ]. ^ protocolName ] diff --git a/src/NewTools-Debugger-Breakpoints-Tools/StHaltInspectionItem.class.st b/src/NewTools-Debugger-Breakpoints-Tools/StHaltInspectionItem.class.st index d628d2f5..497871e8 100644 --- a/src/NewTools-Debugger-Breakpoints-Tools/StHaltInspectionItem.class.st +++ b/src/NewTools-Debugger-Breakpoints-Tools/StHaltInspectionItem.class.st @@ -99,8 +99,9 @@ StHaltInspectionItem >> printScope [ ] { #category : 'updating' } -StHaltInspectionItem >> removeInPresenterContext: aStObjectBreakpointInspection [ - self inform: 'Edit your code to remove halts' +StHaltInspectionItem >> removeInPresenterContext: aStObjectBreakpointInspection [ + + UIManager default inform: 'Edit your code to remove halts' ] { #category : 'accessing' } diff --git a/src/NewTools-FileBrowser/StRootDriveWrapper.class.st b/src/NewTools-FileBrowser/StRootDriveWrapper.class.st index 6a1e8824..61e35853 100644 --- a/src/NewTools-FileBrowser/StRootDriveWrapper.class.st +++ b/src/NewTools-FileBrowser/StRootDriveWrapper.class.st @@ -22,7 +22,7 @@ StRootDriveWrapper >> directories [ ^ [ (fileReference basename , '\') asFileReference directories ] on: FileSystemError do: [ - self inform: 'Missing permissions on ' , fileReference basename. + UIManager default inform: 'Missing permissions on ' , fileReference basename. #( ) ] ] diff --git a/src/NewTools-Finder/StFinderExampleSearch.class.st b/src/NewTools-Finder/StFinderExampleSearch.class.st index 8b69da43..ec7f3d40 100644 --- a/src/NewTools-Finder/StFinderExampleSearch.class.st +++ b/src/NewTools-Finder/StFinderExampleSearch.class.st @@ -47,11 +47,11 @@ StFinderExampleSearch >> computeDataObjects: aString [ dataObjects do: [ : e | e evaluateWithTimeOut: self evaluationTimeout ] ] on: CodeError , RuntimeSyntaxError do: [ :e | - self inform: 'Error: ' , e messageText. + UIManager default inform: 'Error: ' , e messageText. ^ #( ) ] . dataObjects size < 2 ifFalse: [ ^ dataObjects ]. - self inform: + UIManager default inform: 'If you are giving an example of receiver, \args, and result, please put periods between the parts.\Otherwise just type one selector fragment' withCRs. ^ #( ) diff --git a/src/NewTools-Inspector-Extensions/CompiledMethod.extension.st b/src/NewTools-Inspector-Extensions/CompiledMethod.extension.st index 7fdcea73..1cd8b812 100644 --- a/src/NewTools-Inspector-Extensions/CompiledMethod.extension.st +++ b/src/NewTools-Inspector-Extensions/CompiledMethod.extension.st @@ -29,7 +29,7 @@ CompiledMethod >> inspectionSource [ action: [ self methodClass browse ] ] ]; whenSubmitDo: [ :text | self isInstalled - ifFalse: [ self inform: 'can not edit methods that are not installed' ] + ifFalse: [ UIManager default inform: 'can not edit methods that are not installed' ] ifTrue: [ self methodClass compile: text ] ]; yourself ]