Skip to content

Commit 6174034

Browse files
committed
add GtPagerWrapperElement>>#gtNavigationContextFor: [feenkcom/gtoolkit#3422]
1 parent 3f9be8e commit 6174034

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

src/GToolkit-Pager/GtPagerWrapperElement.class.st

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,19 @@ GtPagerWrapperElement >> embellisher: aStencil [
2626
self viewModel embellisher: aStencil
2727
]
2828

29+
{ #category : #'gt - extensions' }
30+
GtPagerWrapperElement >> gtNavigationContextFor: aView [
31+
<gtView>
32+
^ aView forward
33+
title: 'Navigation contexts';
34+
priority: 3;
35+
object: [ self navigationContext ];
36+
view: #gtNavigationContextsFor:;
37+
actionButtonIcon: BrGlamorousVectorIcons inspect
38+
tooltip: 'Inspect navigation context'
39+
action: [ :aButton | aButton phlow spawnObject: self navigationContext ]
40+
]
41+
2942
{ #category : #testing }
3043
GtPagerWrapperElement >> hasTool [
3144
<return: #Boolean>

0 commit comments

Comments
 (0)