11Class {
22 #name : #GtRemotePhlowDeclarativeDetailsInspectableForExamples ,
33 #superclass : #Object ,
4+ #instVars : [
5+ ' propertyOne' ,
6+ ' propertyTwo'
7+ ],
48 #category : #' GToolkit-RemotePhlow-Examples'
59}
610
@@ -43,6 +47,17 @@ GtRemotePhlowDeclarativeDetailsInspectableForExamples >> gtDetailsViewFor: aView
4347 row: ' Date' value: [ self exampleDate ]
4448]
4549
50+ { #category : #views }
51+ GtRemotePhlowDeclarativeDetailsInspectableForExamples >> gtDetailsViewWithPropertiesFor: aView [
52+ < gtView>
53+
54+ ^ aView details
55+ title: ' Properties' ;
56+ priority: 40 ;
57+ row: ' Property One' value: [ self propertyOne ifNil: [' <missing>' ] ];
58+ row: ' Property Two' value: [ self propertyTwo ifNil: [' <missing>' ] ]
59+ ]
60+
4661{ #category : #views }
4762GtRemotePhlowDeclarativeDetailsInspectableForExamples >> gtDetailsWithErrorsViewFor: aView [
4863 < gtView>
@@ -57,6 +72,26 @@ GtRemotePhlowDeclarativeDetailsInspectableForExamples >> gtDetailsWithErrorsView
5772 row: ' Error in both' value: [ 1 / 0 ] text: [ :each | 1 / 0 ]
5873]
5974
75+ { #category : #accessing }
76+ GtRemotePhlowDeclarativeDetailsInspectableForExamples >> propertyOne [
77+ ^ propertyOne
78+ ]
79+
80+ { #category : #accessing }
81+ GtRemotePhlowDeclarativeDetailsInspectableForExamples >> propertyOne: anObject [
82+ propertyOne := anObject
83+ ]
84+
85+ { #category : #accessing }
86+ GtRemotePhlowDeclarativeDetailsInspectableForExamples >> propertyTwo [
87+ ^ propertyTwo
88+ ]
89+
90+ { #category : #accessing }
91+ GtRemotePhlowDeclarativeDetailsInspectableForExamples >> propertyTwo: anObject [
92+ propertyTwo := anObject
93+ ]
94+
6095{ #category : #accessing }
6196GtRemotePhlowDeclarativeDetailsInspectableForExamples >> string [
6297 ^ ' hello world'
0 commit comments