Skip to content

Commit

Permalink
Removed Pharo 7- code
Browse files Browse the repository at this point in the history
  • Loading branch information
JanBliznicenko committed Jul 11, 2022
1 parent ec85f42 commit 578c555
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 70 deletions.
11 changes: 0 additions & 11 deletions repository/OpenPonk-BormModel/BormActivity.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,6 @@ BormActivity >> communications [
^ communications copy
]

{ #category : #'gt-inspector' }
BormActivity >> gtInspectorPresentation: composite [
<gtInspectorPresentationOrder: 30>
composite table
title: 'Transitions';
display: [ transitions ].
composite table
title: 'Communications';
display: [ communications ]
]

{ #category : #accessing }
BormActivity >> has: anElement [
^ (super has: anElement) or: [ communications includes: anElement ]
Expand Down
21 changes: 0 additions & 21 deletions repository/OpenPonk-BormModel/BormORModel.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,6 @@ BormORModel >> allEntities [
^ super allEntities , (self participants flatCollect: #allEntities)
]

{ #category : #'gt-inspector' }
BormORModel >> gtModelOn: aComposite [
<gtInspectorPresentationOrder: 30>
aComposite table
title: 'Participants';
display: [ self participants ];
column: 'Name' evaluated: [ :each | each name ] width: 100;
column: 'Type' evaluated: [ :each | each type ] width: 80;
column: 'Number of nodes' evaluated: [ :each | each nodes size ]
]

{ #category : #'gt-inspector' }
BormORModel >> inspectionParticipants [

Expand Down Expand Up @@ -85,13 +74,3 @@ BormORModel >> project [
BormORModel >> project: aProject [
project := aProject
]

{ #category : #'gt-spotter' }
BormORModel >> spotterForModelFor: aStep [
<spotterOrder: 5>
^ aStep listProcessor
title: 'Borm Participants';
allCandidates: [ self participants ];
itemName: #name;
filter: GTFilterSubstring
]
31 changes: 1 addition & 30 deletions repository/OpenPonk-BormModel/BormParticipant.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -39,35 +39,6 @@ BormParticipant >> defaultType [
^ BormParticipantType Person
]

{ #category : #'gt-inspector' }
BormParticipant >> gtInspectorPresentation: composite [
<gtInspectorPresentationOrder: 30>
composite table
title: 'Nodes';
display: [ self nodes ];
column: 'Type'
evaluated: [ :each |
each isState
ifTrue: [ 'state' ]
ifFalse: [ 'activity' ] ]
width: 60;
column: 'Name' evaluated: #name width: 100
]

{ #category : #'gt-inspector' }
BormParticipant >> gtModelOn: aComposite [
<gtInspectorPresentationOrder: 30>
aComposite table
title: 'Details';
display: [ {
'Name' -> self name.
'Type' -> self type.
'Role' -> self role.
} ];
column: 'Detail' evaluated: #key;
column: 'Value' evaluated: #value
]

{ #category : #initialization }
BormParticipant >> initialize [
super initialize.
Expand All @@ -76,7 +47,7 @@ BormParticipant >> initialize [
]

{ #category : #'gt-inspector' }
BormParticipant >> inspectionParticipants [
BormParticipant >> inspectionNodes [

<inspectorPresentationOrder: 30 title: 'Nodes'>
^ SpTablePresenter new
Expand Down
8 changes: 0 additions & 8 deletions repository/OpenPonk-BormModel/BormState.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,6 @@ BormState >> beInitial [
self isInitial: true
]

{ #category : #'gt-inspector' }
BormState >> gtInspectorPresentation: composite [
<gtInspectorPresentationOrder: 30>
composite table
title: 'Transitions';
display: [ transitions ]
]

{ #category : #initialization }
BormState >> initialize [
super initialize.
Expand Down

0 comments on commit 578c555

Please sign in to comment.