-
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.
fixed a bug in the linter output, and made last changes to tests
- Loading branch information
Showing
122 changed files
with
628 additions
and
193 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
packages/MorphicAPIExplorer-Core.package/ImageMorph.extension/instance/readFromFile.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 @@ | ||
*MorphicAPIExplorer-Core | ||
readFromFile | ||
"This would benefit from a way to get a list of the plausible file extensions for image files" | ||
| fileName | | ||
fileName := UIManager default | ||
chooseFileMatchingSuffixes: Form allTypicalFileExtensions | ||
label: 'Please enter the image file name'. | ||
fileName isNil ifTrue: [^ self]. | ||
fileName isEmpty ifTrue: [^ self]. | ||
self image: (Form fromFileNamed: fileName). |
5 changes: 5 additions & 0 deletions
5
packages/MorphicAPIExplorer-Core.package/ImageMorph.extension/methodProperties.json
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,5 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"instance" : { | ||
"readFromFile" : "PM 6/18/2021 13:38" } } |
2 changes: 2 additions & 0 deletions
2
packages/MorphicAPIExplorer-Core.package/ImageMorph.extension/properties.json
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,2 @@ | ||
{ | ||
"name" : "ImageMorph" } |
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
2 changes: 1 addition & 1 deletion
2
...ge/MEXCodeHolder.class/class/withView..st → ...MEXCodeHolder.class/class/newWithView..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
2 changes: 1 addition & 1 deletion
2
packages/MorphicAPIExplorer-Core.package/MEXCodeHolder.class/methodProperties.json
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
2 changes: 1 addition & 1 deletion
2
packages/MorphicAPIExplorer-Core.package/MEXIcons.class/class/checkmarkIcon.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,6 +1,6 @@ | ||
private icons | ||
checkmarkIcon | ||
|
||
^ (super checkmarkIcon scaledToSize: self defaultExtent) | ||
^ (super checkmark scaledToSize: self defaultExtent) | ||
mapColor: Color black to: Color green; | ||
yourself |
49 changes: 49 additions & 0 deletions
49
packages/MorphicAPIExplorer-Core.package/MEXIcons.class/class/dependeeIcon.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,49 @@ | ||
private icons | ||
dependeeIcon | ||
"© 2018 Icon8 | ||
Website: https://icons8.com | ||
License: https://creativecommons.org/licenses/by-nd/3.0/" | ||
|
||
^ (Form fromBinaryStream: (Base64MimeConverter mimeDecodeToBytes: | ||
'iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAIoUlEQVR4XuXde0xTZxgG8GMp | ||
F7EgWBQEhqCIgCJ4W1BREZF5Ra0oKIKggOgyUSdCHJvb4hCjmU6nbg5dFnUasyhugNzEGdHM | ||
aTLjbd4xUedEnXM3XWZ816+k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+V2fWsAcA6KUEzxe5dc5wuA5fv4 | ||
NMNbuhY3Vri6056YycT72tYAoKS9gUHFdfwBGHNWl0GFg6IppWeY4SteYo8QyguPpG8nJFvc | ||
8sUHwCcBhbvbDoAtgg+gddHGz1EWgJfl19TFdG5qhqHX8H+PJyQADp19MAA0T83YJApy00ID | ||
MPz5Z58JEQDLw5RFNEo/N4EEUPOAnAKCsQGw/D77Teqr9YQD4PNG0X+fCRkAC5sb2LViO7nc | ||
AbCWtarp+kl0ACzpvcIhjohhZxqoOzab++ADyKfD42cq/ogYth5R5dTh+c+EDyCf/tE3pjT2 | ||
joo8IiZk73nDvsSXnpqCD6AxIe5a5RwRo5/lsy3pHrpsw/b0Fj8PfvEbM7iLr8VHxNgynslL | ||
qNOYmeQyMMawHd3kz4Jf/MYEuLhj7lnEL35jP8BBpcYHgJq9+lfTsLuW8QHkU4y3Pz4A1OyP | ||
1WGfW4Bc/EvT5hlWJOMDAMwPU9LJT+OKf3IJWuHZ4pDl4YPJSW2PX3ylATg1OY2qxyU9l5LR | ||
Uw3L1qf6B7eq5YsPAH9NID4AfAAKz5P0XHwAyKlPnI8PADnHJ6biA0AOmx3jAwDOKA4nc+AD | ||
kHHYbt6G5Bx8ALiRKKfPQHwAyADYYohr07PxAaACYBng4cX1sAZ8ADIDwML28uMDAAZgRPA4 | ||
TZ7dwcgu3vgFtRQACxvIq9Pny25hJ/6bPk4AjBPDhX0G0d2ZC2UBYH5oP/xi8gRgDDv/jzWL | ||
WMewbmIKsXcHorxAYmcNXUjIpOndQ174W/9yiGTj/Asa1DcmtAgUrgAAAABJRU5ErkJggg==' readStream)) scaledToSize: self defaultExtent |
30 changes: 30 additions & 0 deletions
30
packages/MorphicAPIExplorer-Core.package/MEXIcons.class/class/dependentIcon.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,30 @@ | ||
private icons | ||
dependentIcon | ||
"© 2018 Icon8 | ||
Website: https://icons8.com | ||
License: https://creativecommons.org/licenses/by-nd/3.0/" | ||
|
||
^ (Form fromBinaryStream: (Base64MimeConverter mimeDecodeToBytes: 'iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAE1UlEQVR4XuVZ7WtTVxi/f4Jf | ||
9sVP+nFjH4ogzcBNwc1WcIiDdTjf6jbFbkbb6sZUtKl1UN1EsYwpTqqxShW0Q5DWKBYFa7vW | ||
Xlv7kjapSdM0na0uLze5Ny/K8ZxzSZr03pv7YvDem/PAj4bcUPj9nuf5Pc+5hyI/yA/yg/wg | ||
P95DMK7tH0RHKrfExndeZF27x2Mu6wznrmUQ0GfWbe1kXVVtUef3e4uKOOuu2cB6fr6KiLIT | ||
+4BiQEGY8R8/NC3xmM+2OO7/414i8BdIzFwA8amTgH3+K1AlAgKsCtMJwXmPb0rOnGcR8YXg | ||
vDb1Irj3AtQ+5ih53+9N6axLgZv8Tb0IEIyzqsHQ5ONTjadzyAbUi8C584sQG62sM6bLD2+1 | ||
ymW+IO2AKuHpum8MNuKsHyUCZ1k15Hmc12iMe5jQwGdLjVP63rp2AbmAMhHi02c0VUF0ZHO3 | ||
Mcg7N5arLX1eoL8zn1nPIU0ihAY+Xab/yJtq7FZDPC72nf+0JgFizk13dF9vtfW+EJq8wF0N | ||
grRliX7Zd+/fUQjy77IbRAbX/mIs89MIrW0QHd3YoWP/n+gpmACBsxp9YKtfRwFOvSyUAHgn | ||
0CAA2gn0awF/E8tnrzAi5CPKTdSKV4BrN9BNAKUTIEegFy0g9b8DpCJ94HV0CCMV6QGp0H3A | ||
eY5omgQ6tsBJVSMQEcekY05RpMKPZStB6AHf6ScA+/zAhGLyoYeSxDGiw1gAhOTLW1kZlhHB | ||
uW1UPwE8h1qVbH7JV+35yWMBnvEChHgRlE6FyPCGdh3f91n3yWb/v0t5yz6DCJ2pAF6Ih4o8 | ||
gRlYc0zXVTjuP5NfgLk2efKo/5ERZgugoArQBND9WCy3Dcr2fnb5L0Bi7kbet0a6boHpCA99 | ||
uTyvAOFHCrLfKypAjhmKHYf7yz43xlvgyaNdkgLA0taSfTkBYmPbHAa6Azi+OC7ZAvc1ZR+3 | ||
wAu75PIT6v9itbHuAjyHr4lWwWyrtADMU0nyCBy6TBFz/mflfxry7o/zHp0Vb4M+EQFGIclu | ||
1eUfHakIB+mSRca8FBn7qZbzNSqqgjcL5/7C7MP/IyA/XAHCTyw2Y98MuapdnLdecELMHYcj | ||
ebMvGH+w55mh9SDSb/EYNvvzXlCzEs9q+KYX9XDORqjA+PAGONmQ5fY/wIuQVYg8CPZaVpnj | ||
fhDd9aeXFrjOpoXgT4NiY69rPvvoNAgzjokPrMbEMejSNtPcDiNDFB1fsDWSr26DVPBBFuku | ||
HjDz6Bnq8wi9Yp44RmkwSC8vocwUcE9vEjr4t3B93QKS8HwgBrTb5xLnwdClpyizBa4Cd81M | ||
tpGlMxsPnMOEU7M3M+TRoUqMPJ99gxufpCGO76rMZH/oq/mMDpYJso9LX0SA8JPSasrMgcYi | ||
MrR09hn6E/yX8zZkyHO+ExLZt3SaNvuZVvAd/Hi672vg7ynPwfS/68Gc7x8w670Opvs3C54j | ||
mGbsycWxK7cTtssOoBZUsUR9iyNEtAD2e33MRUcvUAvyBSiWgOUcVFP69fYiawG1ApDvAaR4 | ||
wCXyPYCQFkgLUE++B4i0wV3y9wDyPYAYD5CF/W7RCkBrqACaKqaw2TuqFRIP4t82dy6iijFs | ||
LY5mSeLoWXP7EqrYw3bFUZIlBPKHTvQdRX6QH+893gKh0MmXQ69FsQAAAABJRU5ErkJggg==' readStream)) scaledToSize: self defaultExtent |
6 changes: 4 additions & 2 deletions
6
packages/MorphicAPIExplorer-Core.package/MEXIcons.class/methodProperties.json
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,8 +1,10 @@ | ||
{ | ||
"class" : { | ||
"blankIcon" : "jb 7/24/2019 12:09", | ||
"checkmarkIcon" : "jb 7/19/2019 14:56", | ||
"checkmarkIcon" : "SC 5/13/2021 12:27", | ||
"defaultDepth" : "jb 7/24/2019 12:09", | ||
"defaultExtent" : "jb 7/24/2019 14:23" }, | ||
"defaultExtent" : "jb 7/24/2019 14:23", | ||
"dependeeIcon" : "SH 6/10/2021 18:26", | ||
"dependentIcon" : "SH 6/10/2021 18:26" }, | ||
"instance" : { | ||
} } |
2 changes: 1 addition & 1 deletion
2
packages/MorphicAPIExplorer-Core.package/MEXListItemWrapper.class/README.md
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,3 +1,3 @@ | ||
As a MEXListItemWrapper I represent an item which will be displayed in the MEXPluggableMultiSelectionTreeMorph in the MEXExplorationView. So I only have information about my layout like my label and my icon as well as the parent I have in the tree. | ||
As a MEXMethodListItemWrapper I represent an item which will be displayed in the MEXPluggableMultiSelectionTreeMorph in the MEXExplorationView. So I only have information about my layout like my label and my icon as well as the parent I have in the tree. | ||
|
||
The most important method I provide is the constructor to set my model, my tree parent as well as the item I get my information for layout from. |
2 changes: 1 addition & 1 deletion
2
...withCategory.havingModel.havingParent..st → ...WithCategory.havingModel.havingParent..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
4 changes: 2 additions & 2 deletions
4
packages/MorphicAPIExplorer-Core.package/MEXListItemWrapper.class/instance/contents.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,8 +1,8 @@ | ||
accessing | ||
contents | ||
|
||
^ self item subItems collect: [:aSubItem | | ||
^ self item subItems collect: [:aSubMethod | | ||
self class | ||
withCategory: aSubItem | ||
newWithCategory: aSubMethod | ||
havingModel: self model | ||
havingParent: self] |
9 changes: 9 additions & 0 deletions
9
...ages/MorphicAPIExplorer-Core.package/MEXListItemWrapper.class/instance/getDependencies.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 @@ | ||
accessing | ||
getDependencies | ||
|
||
(self item isKindOf: MEXMethod) | ||
ifTrue: [ | ||
^ self item dependencies asOrderedCollection] | ||
ifFalse: [ | ||
^ OrderedCollection new | ||
] |
18 changes: 13 additions & 5 deletions
18
packages/MorphicAPIExplorer-Core.package/MEXListItemWrapper.class/instance/icon.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,8 +1,16 @@ | ||
accessing | ||
icon | ||
|
||
^ self item subItems notEmpty | ||
ifTrue: [nil] | ||
ifFalse: [self item isSelected | ||
ifTrue: [MEXIcons checkmarkIcon] | ||
ifFalse: [MEXIcons blankIcon]] | ||
^ (self item isKindOf: MEXMethod) | ||
ifFalse: [nil] | ||
ifTrue: [self item hasSubMethods | ||
ifTrue: [nil] | ||
ifFalse: [ | ||
self item isActiveDependee | ||
ifTrue: [MEXIcons dependeeIcon] | ||
ifFalse:[ | ||
self item hasDependencies | ||
ifTrue: [MEXIcons dependentIcon] | ||
"ifFalse: [self item isSelected | ||
ifTrue: [MEXIcons checkmarkIcon]" | ||
ifFalse: [MEXIcons blankIcon]]]]"]" |
4 changes: 2 additions & 2 deletions
4
packages/MorphicAPIExplorer-Core.package/MEXListItemWrapper.class/instance/parent..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,4 +1,4 @@ | ||
accessing | ||
parent: aMEXMethodListItemWrapper | ||
parent: aMEXListItemWrapper | ||
|
||
parent := aMEXMethodListItemWrapper | ||
parent := aMEXListItemWrapper |
11 changes: 6 additions & 5 deletions
11
packages/MorphicAPIExplorer-Core.package/MEXListItemWrapper.class/methodProperties.json
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,11 +1,12 @@ | ||
{ | ||
"class" : { | ||
"withCategory:havingModel:havingParent:" : "FFN 7/24/2019 15:28" }, | ||
"newWithCategory:havingModel:havingParent:" : "PM 6/11/2021 14:57" }, | ||
"instance" : { | ||
"asString" : "FFN 5/20/2019 14:40", | ||
"contents" : "TB 6/1/2021 17:53", | ||
"hasContents" : "TB 6/1/2021 18:01", | ||
"icon" : "TB 6/1/2021 18:00", | ||
"contents" : "TB 6/21/2021 17:42", | ||
"getDependencies" : "TB 6/21/2021 17:47", | ||
"hasContents" : "TB 6/21/2021 17:44", | ||
"icon" : "SC 6/21/2021 23:48", | ||
"parent" : "FFN 5/20/2019 14:01", | ||
"parent:" : "FFN 5/20/2019 16:10", | ||
"parent:" : "TB 6/21/2021 17:46", | ||
"setItem:model:parent:" : "FFN 7/24/2019 15:17" } } |
2 changes: 1 addition & 1 deletion
2
...ackage/MEXMethod.class/class/withName..st → ...age/MEXMethod.class/class/newWithName..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,5 @@ | ||
initialize-release | ||
withName: aString | ||
newWithName: aString | ||
|
||
^ self new | ||
name: aString; | ||
|
6 changes: 6 additions & 0 deletions
6
...es/MorphicAPIExplorer-Core.package/MEXMethod.class/class/newWithName.havingParameters..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,6 @@ | ||
initialize-release | ||
newWithName: aString havingParameters: aCollection | ||
|
||
^ (self newWithName: aString) | ||
parameters: aCollection asOrderedCollection; | ||
yourself |
6 changes: 6 additions & 0 deletions
6
...orer-Core.package/MEXMethod.class/class/newWithName.havingParameters.withDependencies..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,6 @@ | ||
initialize-release | ||
newWithName: aString havingParameters: aCollection withDependencies: anotherCollection | ||
|
||
^ (self newWithName: aString havingParameters: aCollection) | ||
dependencies: anotherCollection asOrderedCollection; | ||
yourself |
6 changes: 6 additions & 0 deletions
6
...es/MorphicAPIExplorer-Core.package/MEXMethod.class/class/newWithName.havingSubMethods..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,6 @@ | ||
initialize-release | ||
newWithName: aString havingSubMethods: aCollection | ||
|
||
^ (self newWithName: aString) | ||
subMethods: aCollection asOrderedCollection; | ||
yourself |
6 changes: 6 additions & 0 deletions
6
...es/MorphicAPIExplorer-Core.package/MEXMethod.class/class/newWithName.withDependencies..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,6 @@ | ||
initialize-release | ||
newWithName: aString withDependencies: aCollection | ||
|
||
^ (self newWithName: aString) | ||
dependencies: aCollection asOrderedCollection; | ||
yourself |
6 changes: 0 additions & 6 deletions
6
packages/MorphicAPIExplorer-Core.package/MEXMethod.class/class/withName.havingParameters..st
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
packages/MorphicAPIExplorer-Core.package/MEXMethod.class/class/withName.havingSubMethods..st
This file was deleted.
Oops, something went wrong.
4 changes: 4 additions & 0 deletions
4
packages/MorphicAPIExplorer-Core.package/MEXMethod.class/instance/dependencies..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 | ||
dependencies: anOrderedCollection | ||
|
||
dependencies := anOrderedCollection |
4 changes: 4 additions & 0 deletions
4
packages/MorphicAPIExplorer-Core.package/MEXMethod.class/instance/dependencies.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 | ||
dependencies | ||
|
||
^ dependencies |
4 changes: 4 additions & 0 deletions
4
packages/MorphicAPIExplorer-Core.package/MEXMethod.class/instance/hasDependencies.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 | ||
hasDependencies | ||
|
||
^ self dependencies notEmpty |
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
packages/MorphicAPIExplorer-Core.package/MEXMethod.class/instance/isActiveDependee..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 | ||
isActiveDependee: aBoolean | ||
|
||
isActiveDependee := aBoolean |
4 changes: 4 additions & 0 deletions
4
packages/MorphicAPIExplorer-Core.package/MEXMethod.class/instance/isActiveDependee.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 | ||
isActiveDependee | ||
|
||
^ isActiveDependee |
15 changes: 11 additions & 4 deletions
15
packages/MorphicAPIExplorer-Core.package/MEXMethod.class/methodProperties.json
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: 2 additions & 2 deletions
4
...hicAPIExplorer-Core.package/MEXPluggableMultiSelectionTreeMorph.class/README.md
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,7 @@ | ||
I'm the actual morph that will be displayed for the tree. Also you can select multiple items instead of a single selection in my superclass which are items contained in ListItemWrappers. | ||
I'm the actual morph that will be displayed for the tree. Also you can select multiple items instead of a single selection in my superclass which are items contained in ListItemWrappers, and I can highlight items depending which of my nodes is currently hovered on. | ||
|
||
When the user selects a method I give a new list of selected methods to the MEXToolExplorationView by using #listSelectionFor:with:. | ||
|
||
My most important methods are ones to draw the tree with its selection correctly. The handling of events (mouseDown, mouseUp) and the actual selection of methods are also significant. | ||
My most important methods are ones to draw the tree with its selection correctly. The handling of events (mouseDown, mouseUp, hoveredMorph) and the actual selection of methods are also significant. | ||
|
||
I inherit from PluggableTreeMorph but only implement the most needed functionality to display and select multiple items. Any other method will throw a MEXUnsupportedError. |
4 changes: 4 additions & 0 deletions
4
...er-Core.package/MEXPluggableMultiSelectionTreeMorph.class/instance/basicRelatedMorphs..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 | ||
basicRelatedMorphs: anOrderedCollection | ||
|
||
relatedMorphs := anOrderedCollection |
10 changes: 10 additions & 0 deletions
10
...IExplorer-Core.package/MEXPluggableMultiSelectionTreeMorph.class/instance/drawHoverOn..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 @@ | ||
drawing | ||
drawHoverOn: aCanvas | ||
|
||
self relatedMorphs do: [:aMorph | | ||
aCanvas | ||
transformBy: self scroller transform | ||
clippingTo: self scroller innerBounds | ||
during: [:theCanvas | aMorph drawHoverOn: theCanvas]]. | ||
|
||
super drawHoverOn: aCanvas |
Oops, something went wrong.