Skip to content

Commit

Permalink
Feature tooltip dependency icon (#69)
Browse files Browse the repository at this point in the history
* initial commit

* implemented tooltips

* added ifFalse-part
  • Loading branch information
Zyranix committed Jul 16, 2021
1 parent 466441e commit 443c9fc
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
balloonText

^ model balloonTextForNode: self
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"newWithCategory:havingModel:havingParent:" : "PM 6/11/2021 14:57" },
"instance" : {
"asString" : "FFN 5/20/2019 14:40",
"balloonText" : "SC 7/10/2021 17:12",
"contents" : "TB 6/21/2021 17:42",
"getDependencies" : "PM 7/16/2021 09:33",
"hasContents" : "TB 6/21/2021 17:44",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ initialize
setStateOfRelatedSelector: #();
findRelatedSelector: #();
getSelectedSelector: #();
setSelectedSelector: #().
setSelectedSelector: #();
getHelpSelector: #().
self roots do: [:aNode | aNode expand]
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ buildPluggableMultiSelectionTree: aSpec
widget := self multiSelectionTreeClass new.
widget findRelatedSelector: aSpec findRelated.
widget setStateOfRelatedSelector: aSpec setStateOfRelated.
widget getHelpSelector: aSpec help.
self
register: widget id: aSpec name;
initialize: widget with: aSpec.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ buildMethodListWith: aBuilder
nodeClass: MEXListItemWrapper;
getSelectionList: #selectedMethods;
setSelectionList: #setSelectionFor:with:;
help: #getInformationText:;
findRelated: #getDependeesOf:;
setStateOfRelated: #setDependeeStateOf:;
frame: (LayoutFrame new
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
accessing
getInformationText: aMethod

^ (aMethod hasDependencies) ifTrue: [self textForDependency] ifFalse: [nil]
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
constants
textForDependency

^ 'The lightbulb lets you know that this method needs the methods with the puzzle icon in order to work properly.'
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"buildCodeEditorWith:" : "PM 6/11/2021 14:57",
"buildDefaultMorphBoxWith:" : "TB 6/7/2021 12:09",
"buildForCategory:" : "FFN 5/9/2019 10:10",
"buildMethodListWith:" : "SC 7/1/2021 13:04",
"buildMethodListWith:" : "SC 7/10/2021 16:48",
"buildMorphPlaygroundPanelWith:" : "jb 7/24/2019 14:07",
"buildSaveDefaultMorphButtonWith:" : "TB 5/13/2021 15:31",
"category" : "FFN 5/9/2019 10:09",
Expand All @@ -36,6 +36,7 @@
"evaluateMethodsForMorph:" : "SH 5/20/2021 17:28",
"fillMorphBox" : "SC 7/5/2021 19:18",
"getDependeesOf:" : "SC 7/1/2021 12:14",
"getInformationText:" : "SC 7/10/2021 17:33",
"initialize" : "SC 7/1/2021 12:32",
"methodList" : "FFN 6/5/2019 23:02",
"morphBox" : "TB 6/7/2021 12:10",
Expand All @@ -48,4 +49,5 @@
"selectedMethods:" : "FFN 5/17/2019 14:17",
"setDependeeStateOf:" : "PM 7/16/2021 09:55",
"setSelectionFor:with:" : "jb 7/24/2019 14:04",
"textForDependency" : "SC 7/10/2021 16:34",
"updateMorphBox" : "SH 5/20/2021 17:20" } }

0 comments on commit 443c9fc

Please sign in to comment.