Skip to content

Commit

Permalink
Added few comments, removed unused method
Browse files Browse the repository at this point in the history
  • Loading branch information
JanBliznicenko committed Jul 22, 2024
1 parent 155d8c6 commit d5d19c4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
6 changes: 5 additions & 1 deletion repository/OpenPonk-Core/OPController.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,8 @@ OPController >> dependentControllers [

{ #category : 'accessing' }
OPController >> dependentElements [
"model elements that require this one to be rendered in order to render itself"

^ self elementsToShowInside
]

Expand Down Expand Up @@ -124,7 +126,9 @@ OPController >> diagramElement: aDiagramElement [

{ #category : 'accessing' }
OPController >> elementsToShowInside [
^ #()
"model elements that should be shown (rendered) automatically when this one is rendered"

^ #( )
]

{ #category : 'accessing' }
Expand Down
8 changes: 1 addition & 7 deletions repository/OpenPonk-Core/OPDiagramController.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,7 @@ OPDiagramController >> addMouseEventsFor: aFigure [

{ #category : 'rendering' }
OPDiagramController >> allShowableElements [

"Should return all elements that could be directly hidden on diagram"
"all elements that could be directly hidden on diagram"

^ (Set with: model) , self elementsToShowInside
]
Expand Down Expand Up @@ -548,11 +547,6 @@ OPDiagramController >> modelForFigure: aFigure [
^ (self controllerForRoassalShape: aFigure) model
]

{ #category : 'events handling' }
OPDiagramController >> modelRemoved: aModel [
self controllerForModel: aModel ifFound: #removeController
]

{ #category : 'accessing' }
OPDiagramController >> modelToControllerMapping [
self
Expand Down

0 comments on commit d5d19c4

Please sign in to comment.