Skip to content

Commit

Permalink
pharo12 migration
Browse files Browse the repository at this point in the history
  • Loading branch information
tomooda committed Apr 30, 2024
1 parent 49accd6 commit ea3a365
Show file tree
Hide file tree
Showing 75 changed files with 987 additions and 910 deletions.
6 changes: 3 additions & 3 deletions repository/ViennaTalk-Browser-Core/Duration.extension.st
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
Extension { #name : #Duration }
Extension { #name : 'Duration' }

{ #category : #'*ViennaTalk-Browser-Core' }
{ #category : '*ViennaTalk-Browser-Core' }
Duration >> printRoughly [

^ String streamContents: [ :stream | self printRoughlyOn: stream ]
]

{ #category : #'*ViennaTalk-Browser-Core' }
{ #category : '*ViennaTalk-Browser-Core' }
Duration >> printRoughlyOn: stream [

| count |
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #SpAbstractListPresenter }
Extension { #name : 'SpAbstractListPresenter' }

{ #category : #'*ViennaTalk-Browser-Core' }
{ #category : '*ViennaTalk-Browser-Core' }
SpAbstractListPresenter >> items: aSequenceableCollection selectsFirst: aBoolean [

model collection: aSequenceableCollection.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Extension { #name : #SpAbstractPresenter }
Extension { #name : 'SpAbstractPresenter' }

{ #category : #'*ViennaTalk-Browser-Core' }
{ #category : '*ViennaTalk-Browser-Core' }
SpAbstractPresenter >> font: aFont [
]
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #SpWindowPresenter }
Extension { #name : 'SpWindowPresenter' }

{ #category : #'*ViennaTalk-Browser-Core' }
{ #category : '*ViennaTalk-Browser-Core' }
SpWindowPresenter >> okToClose [

^ presenter ifNotNil: #okToClose ifNil: [ super okToClose ]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,61 +1,63 @@
Class {
#name : #ViennaAbstractNodeChange,
#superclass : #Object,
#name : 'ViennaAbstractNodeChange',
#superclass : 'Object',
#instVars : [
'from',
'to',
'sourceDiffText'
],
#category : #'ViennaTalk-Browser-Core-Diff'
#category : 'ViennaTalk-Browser-Core-Diff',
#package : 'ViennaTalk-Browser-Core',
#tag : 'Diff'
}

{ #category : #utilities }
{ #category : 'utilities' }
ViennaAbstractNodeChange class >> flushSourceDiffText [

<script: 'self flushSourceDiffText'>
self allSubclassesDo: [ :c |
c allInstancesDo: [ :i | i flushSourceDiffText ] ]
]

{ #category : #'instance creation' }
{ #category : 'instance creation' }
ViennaAbstractNodeChange class >> from: aViennaNode to: anotherViennaNode [

^ self new
setFrom: aViennaNode to: anotherViennaNode;
yourself
]

{ #category : #private }
{ #category : 'private' }
ViennaAbstractNodeChange >> flushSourceDiffText [

sourceDiffText := nil
]

{ #category : #accessing }
{ #category : 'accessing' }
ViennaAbstractNodeChange >> from [

^ from
]

{ #category : #printing }
{ #category : 'printing' }
ViennaAbstractNodeChange >> printNames [

^ String streamContents: [ :stream | self printNamesOn: stream ]
]

{ #category : #printing }
{ #category : 'printing' }
ViennaAbstractNodeChange >> printNamesOn: aStream [

^ self subclassResponsibility
]

{ #category : #printing }
{ #category : 'printing' }
ViennaAbstractNodeChange >> printSummary [

^ String streamContents: [ :stream | self printSummaryOn: stream ]
]

{ #category : #printing }
{ #category : 'printing' }
ViennaAbstractNodeChange >> printSummaryOn: aStream [

from
Expand All @@ -66,14 +68,14 @@ ViennaAbstractNodeChange >> printSummaryOn: aStream [
ifNotNil: [ aStream nextPutAll: 'modified' ] ]
]

{ #category : #private }
{ #category : 'private' }
ViennaAbstractNodeChange >> setFrom: aViennaNode to: anotherViennaNode [

from := aViennaNode.
to := anotherViennaNode
]

{ #category : #printing }
{ #category : 'printing' }
ViennaAbstractNodeChange >> sourceDiffText [

^ sourceDiffText ifNil: [
Expand Down Expand Up @@ -111,7 +113,7 @@ ViennaAbstractNodeChange >> sourceDiffText [
yourself ]
]

{ #category : #accessing }
{ #category : 'accessing' }
ViennaAbstractNodeChange >> to [

^ to
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #ViennaAddFramAnnotationToOperation }
Extension { #name : 'ViennaAddFramAnnotationToOperation' }

{ #category : #'*ViennaTalk-Browser-Core' }
{ #category : '*ViennaTalk-Browser-Core' }
ViennaAddFramAnnotationToOperation >> isForDefinitionList [

^ true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #ViennaAddModule }
Extension { #name : 'ViennaAddModule' }

{ #category : #'*ViennaTalk-Browser-Core' }
{ #category : '*ViennaTalk-Browser-Core' }
ViennaAddModule >> isForModuleList [

^ true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #ViennaAddSection }
Extension { #name : 'ViennaAddSection' }

{ #category : #'*ViennaTalk-Browser-Core' }
{ #category : '*ViennaTalk-Browser-Core' }
ViennaAddSection >> isForCategoryList [

^ true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #ViennaAddStateDefinition }
Extension { #name : 'ViennaAddStateDefinition' }

{ #category : #'*ViennaTalk-Browser-Core' }
{ #category : '*ViennaTalk-Browser-Core' }
ViennaAddStateDefinition >> isForCategoryList [

^ true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #ViennaAddStateVariable }
Extension { #name : 'ViennaAddStateVariable' }

{ #category : #'*ViennaTalk-Browser-Core' }
{ #category : '*ViennaTalk-Browser-Core' }
ViennaAddStateVariable >> isForDefinitionList [

^ true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Extension { #name : #ViennaAddToplevelDefinition }
Extension { #name : 'ViennaAddToplevelDefinition' }

{ #category : #'*ViennaTalk-Browser-Core' }
{ #category : '*ViennaTalk-Browser-Core' }
ViennaAddToplevelDefinition >> isForDefinitionList [

^ true
Expand Down
Loading

0 comments on commit ea3a365

Please sign in to comment.