Skip to content

Commit

Permalink
add GtPharoStreamingMethodsScrollToTargetSignal>>#gtPromiseFor: [fe…
Browse files Browse the repository at this point in the history
  • Loading branch information
JurajKubelka committed Jul 19, 2024
1 parent 7a88946 commit 297a0c0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Class {
#name : #GtPharoStreamingMethodsCoderElementSignal,
#superclass : #BeaconSignal,
#superclass : #ContextStackSignal,
#instVars : [
'element'
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,18 @@ Class {
#category : #'GToolkit-Pharo-Coder-Method-UI-Beacon Signals'
}

{ #category : #'gt - extensions' }
GtPharoStreamingMethodsScrollToTargetSignal >> gtPromiseFor: aView [
<gtView>
self promise ifNil: [ ^ aView empty ].

^ aView forward
title: 'Promise';
priority: 1;
object: [ self promise ];
view: #gtPromiseFor:
]

{ #category : #printing }
GtPharoStreamingMethodsScrollToTargetSignal >> printOneLineContentsOn: stream [
self scrollTarget printTargetNameOn: stream.
Expand Down

0 comments on commit 297a0c0

Please sign in to comment.