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 8666bc9 commit 577445e
Showing 1 changed file with 0 additions and 29 deletions.
29 changes: 0 additions & 29 deletions repository/OpenPonk-BPMN/OPBPMNEdgeController.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,6 @@ OPBPMNEdgeController >> diagramElementClass [
^ self subclassResponsibility
]

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

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

{ #category : 'private' }
OPBPMNEdgeController >> headMarker [
"line decoration shape class used as head"
Expand Down Expand Up @@ -75,19 +62,3 @@ OPBPMNEdgeController >> removeModel [
self model target removeFlow: self model.
self model source removeFlow: self model
]

{ #category : 'accessing' }
OPBPMNEdgeController >> showInDiagram: aDiagramController [
source
ifNil: [ self source: (aDiagramController showWithoutDependentInDiagramModel: model source) ].
target
ifNil: [ self target: (aDiagramController showWithoutDependentInDiagramModel: model target) ].
^ super showInDiagram: aDiagramController
]

{ #category : 'accessing' }
OPBPMNEdgeController >> showWithoutDependentInDiagram: aDiagramController [

self ensureSourceAndTargetIn: aDiagramController.
^ super showWithoutDependentInDiagram: aDiagramController
]

0 comments on commit 577445e

Please sign in to comment.