Skip to content

Commit

Permalink
Merge pull request #701 from jecisc/sortable
Browse files Browse the repository at this point in the history
Allow to sort some file browser columns
  • Loading branch information
Ducasse authored Feb 17, 2024
2 parents e64ce8c + 50b87fd commit c5ecb11
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ Class {

{ #category : 'adding' }
StFileBrowserCreationDateColumn class >> addConstraintTo: aTableColumn [
aTableColumn width: 150

aTableColumn
width: 150;
beSortable
]

{ #category : 'templateMethod' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ Class {

{ #category : 'adding' }
StFileBrowserLastOpenDateColumn class >> addConstraintTo: aTableColumn [
aTableColumn width: 150

aTableColumn
width: 150;
beSortable
]

{ #category : 'templateMethod' }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ Class {

{ #category : 'adding' }
StFileBrowserModificationDateColumn class >> addConstraintTo: aTableColumn [
aTableColumn width: 150

aTableColumn
width: 150;
beSortable
]

{ #category : 'templateMethod' }
Expand Down
3 changes: 2 additions & 1 deletion src/NewTools-FileBrowser/StFileBrowserNameColumn.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ Class {

{ #category : 'adding' }
StFileBrowserNameColumn class >> addConstraintTo: aTableColumn [
"do nothing"

aTableColumn beSortable
]

{ #category : 'templateMethod' }
Expand Down
5 changes: 4 additions & 1 deletion src/NewTools-FileBrowser/StFileBrowserSizeColumn.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ Class {

{ #category : 'adding' }
StFileBrowserSizeColumn class >> addConstraintTo: aTableColumn [
aTableColumn width: 70

aTableColumn
width: 70;
beSortable
]

{ #category : 'templateMethod' }
Expand Down

0 comments on commit c5ecb11

Please sign in to comment.