Skip to content

Commit

Permalink
Added GtLepiterWorkingCopy>>#gtViewDetailsIn:
Browse files Browse the repository at this point in the history
  • Loading branch information
svenvc committed Oct 22, 2024
1 parent 0ce222f commit 0a4ed4d
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 0 deletions.
17 changes: 17 additions & 0 deletions src/GToolkit4Git/GtLepiterWorkingCopy.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,23 @@ GtLepiterWorkingCopy >> gtAllLoadedExamples [
^ self icebergWorkingCopy gtAllLoadedExamples
]

{ #category : #'*GToolkit4Git' }
GtLepiterWorkingCopy >> gtViewDetailsIn: composite [
<gtView>
^ composite columnedList
title: 'Details';
priority: 10;
items: [ {
{ 'repository' . self repository }.
{ 'databases' . self databases }.
{ 'changes strategy' . self lepiterChangesStragegy }.
} ];
column: 'Key' text: #first;
column: 'Value' text: #second weight: 3;
send: #last;
actionUpdateButton
]

{ #category : #accessing }
GtLepiterWorkingCopy >> hasDatabases [
^ databases size > 0
Expand Down
18 changes: 18 additions & 0 deletions src/GToolkit4Git/GtLepiterWorkingCopy.extension.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Extension { #name : #GtLepiterWorkingCopy }

{ #category : #'*GToolkit4Git' }
GtLepiterWorkingCopy >> gtViewDetailsIn: composite [
<gtView>
^ composite columnedList
title: 'Details';
priority: 10;
items: [ {
{ 'repository' . self repository }.
{ 'databases' . self databases }.
{ 'changes strategy' . self lepiterChangesStragegy }.
} ];
column: 'Key' text: #first;
column: 'Value' text: #second weight: 3;
send: #last;
actionUpdateButton
]

0 comments on commit 0a4ed4d

Please sign in to comment.