Skip to content

Commit df602af

Browse files
Merge pull request #236 from OpenSmock/Issue_0235
Fix inspectors
2 parents 5882555 + fbfe448 commit df602af

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Molecule-IDE/MolComponentImpl.extension.st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -169,11 +169,11 @@ MolComponentImpl classSide >> breakOnceOnComponentRemove [
169169
]
170170

171171
{ #category : #'*Molecule-IDE' }
172-
MolComponentImpl >> inspectionComponent [
172+
MolComponentImpl >> inspectionComponent: aBuilder [
173173

174174
<inspectorPresentationOrder: 830 title: 'Component'>
175175

176-
^ SpRoassalInspectorPresenter new
176+
^ (aBuilder instantiate: SpRoassalInspectorPresenter)
177177
canvas: (MolComponentToRoassal canvasFromSingleComponent: self);
178178
yourself
179179
]

src/Molecule-IDE/MolHomeServices.extension.st

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Extension { #name : #MolHomeServices }
22

33
{ #category : #'*Molecule-IDE' }
4-
MolHomeServices >> inspectionDeployedComponentsGraph [
4+
MolHomeServices >> inspectionDeployedComponentsGraph: aBuilder [
55

66
<inspectorPresentationOrder: 1000 title: 'Deployed Components Graph'>
77
| canvas components |
@@ -10,7 +10,7 @@ MolHomeServices >> inspectionDeployedComponentsGraph [
1010
canvas := MolComponentToRoassal canvasFromMultipleComponents:
1111
components.
1212

13-
^ SpRoassalInspectorPresenter new
13+
^ (aBuilder instantiate: SpRoassalInspectorPresenter)
1414
canvas: canvas;
1515
yourself
1616
]

0 commit comments

Comments
 (0)