-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* tried removing knowledge of view-morphs from the model * refactored relatedMorph-handling such that model now doesn't know about view morphs anymore * fixed a bug regarding layers of the method tree * fixed exception when update receives nil
- Loading branch information
Showing
28 changed files
with
87 additions
and
67 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 2 additions & 3 deletions
5
...xplorer-Core.package/MEXPluggableMultiSelectionTreeMorph.class/instance/relatedMorphs..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
accessing | ||
relatedMorphs: anOrderedCollection | ||
"relatedMorphs need to be reloaded in order to be displayed correctly" | ||
|
||
self reloadMorphs: relatedMorphs isIndicated: false. | ||
|
||
relatedMorphs := anOrderedCollection. | ||
self reloadMorphs: relatedMorphs isIndicated: false | ||
self reloadNodeMorphs |
8 changes: 0 additions & 8 deletions
8
...e.package/MEXPluggableMultiSelectionTreeMorph.class/instance/reloadMorphs.isIndicated..st
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
...lorer-Core.package/MEXPluggableMultiSelectionTreeMorph.class/instance/reloadNodeMorphs.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
drawing | ||
reloadNodeMorphs | ||
|
||
self update: self setStateOfRelatedSelector. | ||
self items do: [:aMorph | | ||
aMorph | ||
refresh; | ||
setProperty: #wasRefreshed toValue: false; | ||
changed] |
4 changes: 4 additions & 0 deletions
4
....package/MEXPluggableMultiSelectionTreeMorph.class/instance/setStateOfRelatedSelector..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
setStateOfRelatedSelector: aSymbol | ||
|
||
setStateOfRelatedSelector := aSymbol |
4 changes: 4 additions & 0 deletions
4
...e.package/MEXPluggableMultiSelectionTreeMorph.class/instance/setStateOfRelatedSelector.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
setStateOfRelatedSelector | ||
|
||
^ setStateOfRelatedSelector |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 5 additions & 2 deletions
7
...e.package/MEXPluggableMultiSelectionTreeMorph.class/instance/updateFindRelatedSelector.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
updating | ||
updateFindRelatedSelector | ||
|
||
self relatedMorphs: ((model perform: self findRelatedSelector with: hoveredMorph with: self items) | ||
ifNil: [OrderedCollection new]) | ||
self hoveredMorph | ||
ifNil: [self relatedMorphs: OrderedCollection new] | ||
ifNotNil: [self relatedMorphs: (self items select: [:anItem | | ||
(self model perform: self findRelatedSelector with: self hoveredMorph complexContents) | ||
includes: anItem complexContents asString])] |
4 changes: 4 additions & 0 deletions
4
...age/MEXPluggableMultiSelectionTreeMorph.class/instance/updateSetStateOfRelatedSelector.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
updating | ||
updateSetStateOfRelatedSelector | ||
|
||
self model perform: self setStateOfRelatedSelector with: (self relatedMorphs collect: [:aMorph | aMorph complexContents]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
...orer-Core.package/MEXPluggableMultiSelectionTreeSpec.class/instance/setStateOfRelated..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
setStateOfRelated: aSymbol | ||
|
||
setStateOfRelated := aSymbol |
4 changes: 4 additions & 0 deletions
4
...lorer-Core.package/MEXPluggableMultiSelectionTreeSpec.class/instance/setStateOfRelated.st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
setStateOfRelated | ||
|
||
^ setStateOfRelated |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 0 additions & 4 deletions
4
...cAPIExplorer-Core.package/MEXToolExplorationView.class/instance/basicDependentMethods..st
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 0 additions & 7 deletions
7
...orphicAPIExplorer-Core.package/MEXToolExplorationView.class/instance/dependentMethods..st
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
...MorphicAPIExplorer-Core.package/MEXToolExplorationView.class/instance/dependentMethods.st
This file was deleted.
Oops, something went wrong.
12 changes: 0 additions & 12 deletions
12
...phicAPIExplorer-Core.package/MEXToolExplorationView.class/instance/findDependeesOf.In..st
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
.../MorphicAPIExplorer-Core.package/MEXToolExplorationView.class/instance/getDependeesOf..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
accessing | ||
getDependeesOf: aListItemWrapper | ||
|
||
^ aListItemWrapper getDependencies |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
...phicAPIExplorer-Core.package/MEXToolExplorationView.class/instance/setDependeeStateOf..st
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
accessing | ||
setDependeeStateOf: anOrderedCollection | ||
|
||
| methods | | ||
|
||
methods := anOrderedCollection collect: [:aListItemWrapper | aListItemWrapper item]. | ||
self methodList do: [:aRootMethod | aRootMethod hasSubMethods | ||
ifTrue: [aRootMethod subMethods do: | ||
[:aSubMethod | aSubMethod isActiveDependee: (methods includes: aSubMethod)]] | ||
ifFalse: [aRootMethod isActiveDependee: (methods includes: aRootMethod)]] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters