-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
exemplify forward view not computing its object if not displayed [fee…
- Loading branch information
1 parent
e4faea7
commit 9f8b8b7
Showing
5 changed files
with
109 additions
and
2 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
5 changes: 5 additions & 0 deletions
5
src/GToolkit-Inspector/GtInspectorSampleBOneForwardObjectSignal.class.st
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,5 @@ | ||
Class { | ||
#name : #GtInspectorSampleBOneForwardObjectSignal, | ||
#superclass : #ContextStackSignal, | ||
#category : #'GToolkit-Inspector-Example Samples' | ||
} |
81 changes: 81 additions & 0 deletions
81
src/GToolkit-Inspector/GtInspectorSelectTabSignal.class.st
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,81 @@ | ||
Class { | ||
#name : #GtInspectorSelectTabSignal, | ||
#superclass : #ContextStackSignal, | ||
#instVars : [ | ||
'tabGroup', | ||
'selector', | ||
'selectedTabModel', | ||
'requestedTabModel' | ||
], | ||
#category : #'GToolkit-Inspector-Tab Selector' | ||
} | ||
|
||
{ #category : #'gt - extensions' } | ||
GtInspectorSelectTabSignal >> gtOverview [ | ||
^ {GtPhlowOverviewItem new | ||
name: 'Selector'; | ||
value: self selector. | ||
GtPhlowOverviewItem new | ||
name: 'Requested tab model'; | ||
value: self requestedTabModel. | ||
GtPhlowOverviewItem new | ||
name: 'Selected tab model'; | ||
value: self selectedTabModel. | ||
GtPhlowOverviewItem new | ||
name: 'Tab group'; | ||
value: self tabGroup} | ||
] | ||
|
||
{ #category : #'gt - extensions' } | ||
GtInspectorSelectTabSignal >> gtOverviewFor: aView [ | ||
<gtView> | ||
selector ifNil: [ ^ aView empty ]. | ||
|
||
^ aView columnedList | ||
title: 'Overview'; | ||
priority: 0; | ||
items: [ self gtOverview ]; | ||
column: 'Name' text: #name weight: 0.3; | ||
column: 'Value' text: #description; | ||
send: #value | ||
] | ||
|
||
{ #category : #accessing } | ||
GtInspectorSelectTabSignal >> requestedTabModel [ | ||
^ requestedTabModel | ||
] | ||
|
||
{ #category : #accessing } | ||
GtInspectorSelectTabSignal >> requestedTabModel: anObject [ | ||
requestedTabModel := anObject | ||
] | ||
|
||
{ #category : #accessing } | ||
GtInspectorSelectTabSignal >> selectedTabModel [ | ||
^ selectedTabModel | ||
] | ||
|
||
{ #category : #accessing } | ||
GtInspectorSelectTabSignal >> selectedTabModel: anObject [ | ||
selectedTabModel := anObject | ||
] | ||
|
||
{ #category : #accessing } | ||
GtInspectorSelectTabSignal >> selector [ | ||
^ selector | ||
] | ||
|
||
{ #category : #accessing } | ||
GtInspectorSelectTabSignal >> selector: anObject [ | ||
selector := anObject | ||
] | ||
|
||
{ #category : #accessing } | ||
GtInspectorSelectTabSignal >> tabGroup [ | ||
^ tabGroup | ||
] | ||
|
||
{ #category : #accessing } | ||
GtInspectorSelectTabSignal >> tabGroup: anObject [ | ||
tabGroup := anObject | ||
] |
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
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