Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Branch: CommandRepoBrowser1841, Fixes # 1841 #1855

Merged
merged 2 commits into from
Nov 18, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 32 additions & 2 deletions Iceberg-TipUI/IceTipDiffPanel.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,8 @@ also #elements answer should be a collection of elements that also understand el
"
Class {
#name : 'IceTipDiffPanel',
#superclass : 'IceTipPresenter',
#superclass : 'IceTipBrowser',
#instVars : [
'model',
'diffPanel',
'iceNodesTree'
],
Expand All @@ -19,6 +18,31 @@ Class {
#tag : 'View-Branch'
}

{ #category : 'commands' }
IceTipDiffPanel class >> buildCommandsGroupWith: presenter forRoot: aCommandGroup [
| selectionCommandGroup |
selectionCommandGroup := (CmCommandGroup named: self selectionCommandGroupName) asSpecGroup.

aCommandGroup register: selectionCommandGroup.

self buildSelectionCommandGroupWith: presenter for: selectionCommandGroup.

]

{ #category : 'commands' }
IceTipDiffPanel class >> buildGeneralCommandGroupWith: presenter for: aCommandGroup [

"Nothing to add"
]

{ #category : 'commands' }
IceTipDiffPanel class >> buildSelectionCommandGroupWith: presenter for: aCommandGroup [
{
IceTipBrowseCommand.
IceTipInspectCommand } do: [ :each |
aCommandGroup register: (each forSpecContext: presenter)]
]

{ #category : 'instance creation' }
IceTipDiffPanel class >> onDiff: aDiff [

Expand Down Expand Up @@ -204,6 +228,12 @@ IceTipDiffPanel >> leftLabel: aString [
diffPanel leftLabel: aString.
]

{ #category : 'accessing - ui' }
IceTipDiffPanel >> mainList [

^iceNodesTree
]

{ #category : 'accessing' }
IceTipDiffPanel >> model [

Expand Down
Loading