Skip to content

Commit

Permalink
deleted all initialExtentForWindow method (now useless)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisCnockaert committed Jan 6, 2025
1 parent a0ca6ed commit d585efe
Show file tree
Hide file tree
Showing 38 changed files with 0 additions and 262 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,12 +61,6 @@ IceGitHubAcceptPullRequestModel >> defaultType [
^ 'merge'
]

{ #category : 'api' }
IceGitHubAcceptPullRequestModel >> initialExtentForWindow [

^ (600 @ 300) scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceGitHubAcceptPullRequestModel >> initializeDialogWindow: aDialogWindowPresenter [

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -249,12 +249,6 @@ IceGitHubCreatePullRequestModel >> headRemote [
^ headRemote ifNil: [ self repository head upstream remote ]
]

{ #category : 'initialization' }
IceGitHubCreatePullRequestModel >> initialExtentForWindow [

^ (700 @ 300) scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceGitHubCreatePullRequestModel >> initializeDialogWindow: aWindow [

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,6 @@ IceGitHubNewBranchFromIssuePanel >> icon [
^ (self iconNamed: #github) scaledToSize: 16@16
]

{ #category : 'initialization' }
IceGitHubNewBranchFromIssuePanel >> initialExtentForWindow [

^ 800 @ 175
]

{ #category : 'initialization' }
IceGitHubNewBranchFromIssuePanel >> initialize [

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,6 @@ IceGitHubRejectPullRequestModel >> defaultType [
^ 'merge'
]

{ #category : 'api' }
IceGitHubRejectPullRequestModel >> initialExtentForWindow [

^ (500 @ 250) scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceGitHubRejectPullRequestModel >> initializeDialogWindow: aDialogWindowPresenter [

Expand Down
6 changes: 0 additions & 6 deletions Iceberg-Plugin-GitHub/IceGitHubRemoveBranchesModel.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,6 @@ IceGitHubRemoveBranchesModel >> displayBlock: aBlock [
displayBlock := aBlock
]

{ #category : 'initialization' }
IceGitHubRemoveBranchesModel >> initialExtentForWindow [

^ 550 @ 500
]

{ #category : 'initialization' }
IceGitHubRemoveBranchesModel >> initialize [

Expand Down
6 changes: 0 additions & 6 deletions Iceberg-Plugin-GitHub/IceGitHubTipPullRequestBrowser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,6 @@ IceGitHubTipPullRequestBrowser >> diff [
^ diff
]

{ #category : 'initialization' }
IceGitHubTipPullRequestBrowser >> initialExtentForWindow [

^ (1050 @ 800) scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceGitHubTipPullRequestBrowser >> initializeCommitsTable [

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,6 @@ IceTipGitHubPullRequestListBrowser >> fetchPullRequests [
yourself ]
]

{ #category : 'initialization' }
IceTipGitHubPullRequestListBrowser >> initialExtentForWindow [

^ (700 @ 700) scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceTipGitHubPullRequestListBrowser >> initializePresenters [

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,14 +94,6 @@ IceTipFiletreeToTonelDialogPresenter >> iconPanel [
^ iconPanel
]

{ #category : 'initialization' }
IceTipFiletreeToTonelDialogPresenter >> initialExtentForWindow [

^ (500
@ (self class inputTextHeight * 5 + self class buttonHeight + 50))
scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceTipFiletreeToTonelDialogPresenter >> initializePresenters [

Expand Down
7 changes: 0 additions & 7 deletions Iceberg-TipUI/IceTipAddPlaintextCredentialsPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,6 @@ IceTipAddPlaintextCredentialsPresenter >> hostnameFromInput [
^ hostInput text
]

{ #category : 'initialization' }
IceTipAddPlaintextCredentialsPresenter >> initialExtentForWindow [

^ (350 @ (self class inputTextHeight * 5 + self class buttonHeight))
scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceTipAddPlaintextCredentialsPresenter >> initializePresenters [

Expand Down
10 changes: 0 additions & 10 deletions Iceberg-TipUI/IceTipAddRemoteDialogPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,6 @@ IceTipAddRemoteDialogPresenter >> defaultLayout [

]

{ #category : 'initialization' }
IceTipAddRemoteDialogPresenter >> initialExtentForWindow [

^ (500@(
self class inputTextHeight * 2
+ self class buttonHeight
+ 50 "Yes, a magic number"
)) scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceTipAddRemoteDialogPresenter >> initializePresenters [

Expand Down
7 changes: 0 additions & 7 deletions Iceberg-TipUI/IceTipAddSSHCredentialsPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,6 @@ IceTipAddSSHCredentialsPresenter >> hostnameFromInput [
^ hostInput text
]

{ #category : 'initialization' }
IceTipAddSSHCredentialsPresenter >> initialExtentForWindow [

^ (350 @ (self class inputTextHeight * 7 + self class buttonHeight))
scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceTipAddSSHCredentialsPresenter >> initializePresenters [

Expand Down
6 changes: 0 additions & 6 deletions Iceberg-TipUI/IceTipAddTokenCredentialsPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,6 @@ IceTipAddTokenCredentialsPresenter >> hostnameFromInput [
^ hostInput text
]

{ #category : 'initialization' }
IceTipAddTokenCredentialsPresenter >> initialExtentForWindow [

^ (350 @ (self class inputTextHeight * 5 + self class buttonHeight)) scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceTipAddTokenCredentialsPresenter >> initializePresenters [

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,6 @@ IceTipAskForPlaintextCredentialsPresenter >> defaultLayout [

]

{ #category : 'initialization' }
IceTipAskForPlaintextCredentialsPresenter >> initialExtentForWindow [

^ (450 @ 180) scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceTipAskForPlaintextCredentialsPresenter >> titleForWindow [

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,6 @@ IceTipAskForPlaintextOtpCredentialsPresenter >> defaultLayout [
yourself
]

{ #category : 'initialization' }
IceTipAskForPlaintextOtpCredentialsPresenter >> initialExtentForWindow [

^ (350 @ 210) scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceTipAskForPlaintextOtpCredentialsPresenter >> initializePresenters [

Expand Down
6 changes: 0 additions & 6 deletions Iceberg-TipUI/IceTipBrowser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -125,12 +125,6 @@ IceTipBrowser >> iconForWindow [
^ self iconNamed: #komitterSmalltalkhubRemote
]

{ #category : 'initialization' }
IceTipBrowser >> initialExtentForWindow [

^ (600 @ 400) scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceTipBrowser >> initialize [

Expand Down
6 changes: 0 additions & 6 deletions Iceberg-TipUI/IceTipCheckoutBranchDialog.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,6 @@ IceTipCheckoutBranchDialog >> doAccept [
self selectedType doAccept
]

{ #category : 'initialization' }
IceTipCheckoutBranchDialog >> initialExtentForWindow [

^ (600 @ 400) scaledByDisplayScaleFactor
]

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

Expand Down
6 changes: 0 additions & 6 deletions Iceberg-TipUI/IceTipCherrypickPreviewBrowser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,6 @@ IceTipCherrypickPreviewBrowser >> doCherryPick [
self closeWindow
]

{ #category : 'initialization' }
IceTipCherrypickPreviewBrowser >> initialExtentForWindow [

^ (800 @ 600) scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceTipCherrypickPreviewBrowser >> initializePresenters [

Expand Down
6 changes: 0 additions & 6 deletions Iceberg-TipUI/IceTipCommitBrowser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,6 @@ IceTipCommitBrowser >> doExpandSelection [
diffPanel doExpandSelection
]

{ #category : 'initialization' }
IceTipCommitBrowser >> initialExtentForWindow [

^ (800@600) scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceTipCommitBrowser >> initialize [

Expand Down
6 changes: 0 additions & 6 deletions Iceberg-TipUI/IceTipDiscardAllChangesPreviewBrowser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,6 @@ IceTipDiscardAllChangesPreviewBrowser >> doDiscardAll [
executeWithContext: self
]

{ #category : 'initialization' }
IceTipDiscardAllChangesPreviewBrowser >> initialExtentForWindow [

^ (900 @ 400) scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceTipDiscardAllChangesPreviewBrowser >> initializePresenters [

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,6 @@ IceTipEditPlaintextCredentialsPresenter >> defaultLayout [
yourself
]

{ #category : 'initialization' }
IceTipEditPlaintextCredentialsPresenter >> initialExtentForWindow [

^ (350 @ 160) scaledByDisplayScaleFactor
]

{ #category : 'actions' }
IceTipEditPlaintextCredentialsPresenter >> refreshCredentialsFromPresenter [

Expand Down
15 changes: 0 additions & 15 deletions Iceberg-TipUI/IceTipEditProjectDialogPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -202,21 +202,6 @@ IceTipEditProjectDialogPresenter >> hasToShowWarning [
^ model repository workingCopy packages isNotEmpty
]

{ #category : 'initialization' }
IceTipEditProjectDialogPresenter >> initialExtentForWindow [

^ self hasToShowWarning
ifTrue: [ (475@525) scaledByDisplayScaleFactor ]
ifFalse: [
(475@(
200 "Tree"
+ (self class inputTextHeight * 3)
+ self class buttonHeight
+ 75 "Yes, a magic number"
)) scaledByDisplayScaleFactor]

]

{ #category : 'initialization' }
IceTipEditProjectDialogPresenter >> initialize [

Expand Down
6 changes: 0 additions & 6 deletions Iceberg-TipUI/IceTipEditSSHCredentialsPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,6 @@ IceTipEditSSHCredentialsPresenter >> defaultLayout [
yourself
]

{ #category : 'initialization' }
IceTipEditSSHCredentialsPresenter >> initialExtentForWindow [

^ (500@230) scaledByDisplayScaleFactor
]

{ #category : 'actions' }
IceTipEditSSHCredentialsPresenter >> refreshCredentialsFromPresenter [

Expand Down
10 changes: 0 additions & 10 deletions Iceberg-TipUI/IceTipErrorDialogPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,6 @@ IceTipErrorDialogPresenter >> iconPanel [
^ iconPanel
]

{ #category : 'initialization' }
IceTipErrorDialogPresenter >> initialExtentForWindow [

^ (500@(
self class inputTextHeight * 2
+ self class buttonHeight
+ 50 "Yes, a magic number"
)) scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceTipErrorDialogPresenter >> initializeDialogWindow: aWindow [

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,12 +80,6 @@ IceTipGitUsernameAndEmailDialogPresenter >> globalCheckbox [
^ globalCheckbox
]

{ #category : 'initialization' }
IceTipGitUsernameAndEmailDialogPresenter >> initialExtentForWindow [

^ (400@200) scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceTipGitUsernameAndEmailDialogPresenter >> initializePresenters [

Expand Down
6 changes: 0 additions & 6 deletions Iceberg-TipUI/IceTipHistoryActionBrowser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,6 @@ IceTipHistoryActionBrowser >> commitsPanel: aSpPresenter [
commitsPanel := aSpPresenter
]

{ #category : 'initialization' }
IceTipHistoryActionBrowser >> initialExtentForWindow [

^ (800@600) scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceTipHistoryActionBrowser >> initializePresenters [

Expand Down
6 changes: 0 additions & 6 deletions Iceberg-TipUI/IceTipHistoryBrowser.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -78,12 +78,6 @@ IceTipHistoryBrowser >> defaultLayout [
yourself
]

{ #category : 'initialization' }
IceTipHistoryBrowser >> initialExtentForWindow [

^ (700 @ 700) scaledByDisplayScaleFactor
]

{ #category : 'initialization' }
IceTipHistoryBrowser >> initializeCommitList [

Expand Down
10 changes: 0 additions & 10 deletions Iceberg-TipUI/IceTipLocalRepositoryPanel.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,6 @@ IceTipLocalRepositoryPanel >> iconForWindow [
^ self iconNamed: #smallOpen
]

{ #category : 'initialization' }
IceTipLocalRepositoryPanel >> initialExtentForWindow [

^ (500@(
self class inputTextHeight * 2
+ self class buttonHeight
+ 50 "Yes, a magic number"
)) scaledByDisplayScaleFactor
]

{ #category : 'testing' }
IceTipLocalRepositoryPanel >> isLocalRepository [

Expand Down
6 changes: 0 additions & 6 deletions Iceberg-TipUI/IceTipMergeBranchDialogPresenter.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,6 @@ IceTipMergeBranchDialogPresenter >> doAccept [
self selectedType doAccept
]

{ #category : 'initialization' }
IceTipMergeBranchDialogPresenter >> initialExtentForWindow [

^ (600 @ 400) scaledByDisplayScaleFactor
]

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

Expand Down
Loading

0 comments on commit d585efe

Please sign in to comment.