-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A set of extra gtViews for (internal) Iceberg classes
- Loading branch information
Showing
5 changed files
with
126 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Extension { #name : #IceBasicProject } | ||
|
||
{ #category : #'*GToolkit4Git' } | ||
IceBasicProject >> gtViewDetailsIn: composite [ | ||
<gtView> | ||
^ composite columnedList | ||
title: 'Details'; | ||
priority: 20; | ||
items: [ { | ||
{ 'project name' . self projectName }. | ||
{ 'repository' . self repository }. | ||
{ 'commitish' . self commitish }. | ||
{ 'project file path' . self projectFilePath }. | ||
{ 'source directory' . self sourceDirectory }. | ||
{ 'tags' . $, join: self tags. self tags }. | ||
{ 'dirty' . self isDirty }. | ||
} ]; | ||
column: 'Key' text: #first; | ||
column: 'Value' text: #second weight: 3; | ||
send: #last; | ||
actionUpdateButton | ||
] | ||
|
||
{ #category : #'*GToolkit4Git' } | ||
IceBasicProject >> gtViewPropertiesIn: aView [ | ||
<gtView> | ||
^ aView forward | ||
title: 'Properties'; | ||
priority: 30; | ||
object: [ self properties ]; | ||
view: #gtItemsFor: | ||
] |
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
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,32 @@ | ||
Extension { #name : #IceRepositoryProperties } | ||
|
||
{ #category : #'*GToolkit4Git' } | ||
IceRepositoryProperties >> gtViewDetailsIn: composite [ | ||
<gtView> | ||
^ composite columnedList | ||
title: 'Details'; | ||
priority: 20; | ||
items: [ { | ||
{ 'repository' . self repository }. | ||
{ 'commitish' . self commitish }. | ||
{ 'file format' . self fileFormat id }. | ||
{ 'reader class' . self readerClass }. | ||
{ 'writer class' . self writerClass }. | ||
{ 'dirty' . self isDirty }. | ||
{ 'unborn' . self isUnborn }. | ||
} ]; | ||
column: 'Key' text: #first; | ||
column: 'Value' text: #second weight: 3; | ||
send: #last; | ||
actionUpdateButton | ||
] | ||
|
||
{ #category : #'*GToolkit4Git' } | ||
IceRepositoryProperties >> gtViewPropertiesIn: aView [ | ||
<gtView> | ||
^ aView forward | ||
title: 'Properties'; | ||
priority: 30; | ||
object: [ self properties ]; | ||
view: #gtItemsFor: | ||
] |
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