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

1468-IceProxyMCVersionInfogtDisplayString-should-be-removed #1524

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
20 changes: 1 addition & 19 deletions Iceberg/IceProxyMCVersionInfo.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Class {
#classVars : [
'LastCommitFound'
],
#category : 'Iceberg-Adapters'
#category : #'Iceberg-Adapters'
}

{ #category : #private }
Expand Down Expand Up @@ -120,24 +120,6 @@ Please fetch from "{1}" and try again.'
package: (IcePackage named: packageName repository: repo)
]

{ #category : #printing }
IceProxyMCVersionInfo >> gtDisplayOn: stream [
"This offers a means to customize how the object is shown in the inspector"
^ self printOn: stream
]

{ #category : #printing }
IceProxyMCVersionInfo >> gtDisplayString [
"This offers a means to customize how the object is shown in the inspector.
Do not override this method. Override gtDisplayOn: instead"

| limitedString limit |
limit := 1000.
limitedString := String streamContents: [:s | self gtDisplayOn: s] limitedTo: limit.
limitedString size < limit ifTrue: [^ limitedString].
^ limitedString , ' ...'
]

{ #category : #inspecting }
IceProxyMCVersionInfo >> inspect [
"Create and schedule an Inspector in which the user can examine the receiver's variables."
Expand Down