Skip to content

Commit

Permalink
Added StInspectorTransmissionNode
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanmontt committed Apr 20, 2023
1 parent f79ad42 commit 9f56be7
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions src/NewTools-Inspector/StInspectorTransmissionNode.class.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
Class {
#name : #StInspectorTransmissionNode,
#superclass : #StInspectorNode,
#instVars : [
'transmissionBlock'
],
#category : #'NewTools-Inspector-Model'
}

{ #category : #'instance initialization' }
StInspectorTransmissionNode class >> hostObject: anObject transmissionBlock: aFullBlockClosure [

^ self new
hostObject: anObject;
transmissionBlock: aFullBlockClosure;
yourself
]

{ #category : #accessing }
StInspectorTransmissionNode >> key [

^ self hostObject
]

{ #category : #accessing }
StInspectorTransmissionNode >> rawValue [

^ transmissionBlock value: hostObject
]

{ #category : #accessing }
StInspectorTransmissionNode >> transmissionBlock: aBlock [

transmissionBlock := aBlock
]

0 comments on commit 9f56be7

Please sign in to comment.