Skip to content

Commit

Permalink
moved few methods to OP core
Browse files Browse the repository at this point in the history
  • Loading branch information
JanBliznicenko committed Jun 24, 2024
1 parent 9a8e8e3 commit 23d34ea
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions repository/OpenPonk-FSM/OPFsmTransitionController.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,6 @@ OPFsmTransitionController >> diagramElementClass [
^ OPFsmTransitionShape
]

{ #category : 'accessing' }
OPFsmTransitionController >> ensureSourceAndTargetIn: aDiagramController [

source ifNil: [
self source:
(aDiagramController showWithoutDependentInDiagramModel:
model source) ].
target ifNil: [
self target:
(aDiagramController showWithoutDependentInDiagramModel:
model target) ]
]

{ #category : 'announcements' }
OPFsmTransitionController >> internalSubscribeTo: aModel [

Expand All @@ -51,17 +38,3 @@ OPFsmTransitionController >> removeModel [
self model announcer unsubscribe: self.
self diagramController model remove: self model
]

{ #category : 'construction' }
OPFsmTransitionController >> showInDiagram: aDiagramController [

self ensureSourceAndTargetIn: aDiagramController.
^ super showInDiagram: aDiagramController
]

{ #category : 'construction' }
OPFsmTransitionController >> showWithoutDependentInDiagram: aDiagramController [

self ensureSourceAndTargetIn: aDiagramController.
^ super showWithoutDependentInDiagram: aDiagramController
]

0 comments on commit 23d34ea

Please sign in to comment.