Skip to content

Commit

Permalink
add second registration method
Browse files Browse the repository at this point in the history
  • Loading branch information
ekrebs5 committed Oct 26, 2021
1 parent 516a2ca commit e76ced9
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 5 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
world menu
registerInWorldMenu
"self registerInWorldMenu"
(self environment valueOf: #TheWorldMenu) ifNotNil: [:worldMenu |
worldMenu registerOpenCommand: (Array
with: 'Git Browser'
with: 'Squit'
with: (Array
with: self
with: #open))].
2 changes: 1 addition & 1 deletion src/Squit.package/SquitBrowser.class/methodProperties.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"initialize" : "jr 4/18/2018 21:28",
"initializeSelfUpdate" : "jr 4/18/2018 21:27",
"open" : "fn 4/11/2017 09:09",
"registerInWorldMenu" : "jr 4/15/2017 13:34",
"registerInWorldMenu" : "ek 10/26/2021 20:45",
"selfUpdate" : "jr 3/7/2020 00:09",
"selfUpdateBranch" : "jr 4/21/2018 22:22",
"selfUpdateBranch:" : "jr 4/18/2018 22:37",
Expand Down
4 changes: 4 additions & 0 deletions src/Squit.package/SwaSquitBrowser.class/class/initialize.st
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
class initialization
initialize

self registerInWorldMenu.
2 changes: 1 addition & 1 deletion src/Squit.package/SwaSquitBrowser.class/class/open.st
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
as yet unclassified
instance creation
open
ToolBuilder open: self new
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
world menu
registerInWorldMenu
"self registerInWorldMenu"
(self environment valueOf: #TheWorldMenu) ifNotNil: [:worldMenu |
worldMenu registerOpenCommand: (Array
with: 'SWA Git Browser'
with: (Array
with: self
with: #open))].
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
world menu
unregisterFromWorldMenu
"self unregisterFromWorldMenu"
(self environment valueOf: #TheWorldMenu) ifNotNil:
[:worldMenu | worldMenu unregisterOpenCommandWithReceiver: self].
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
{
"class" : {
"open" : "ek 7/18/2021 10:05" },
"initialize" : "ek 10/14/2021 13:40",
"open" : "ek 7/18/2021 10:05",
"registerInWorldMenu" : "ek 10/26/2021 20:49",
"unregisterFromWorldMenu" : "ek 10/14/2021 13:43" },
"instance" : {
"actionAddOrRemoveTrackedPackages" : "ek 9/21/2021 19:24",
"actionCloneAndMerge" : "ek 10/14/2021 13:20",
Expand Down
2 changes: 1 addition & 1 deletion src/Squit.package/monticello.meta/version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
(name 'Squit-ek.9' message 'Tool handles only exactly one repository' id 'd87a7aa7-ff7b-4555-953b-5f4f5606211d' date '14 October 2021' time '1:36:06.083263 pm' author 'ek' ancestors ((name 'Squit-ek.8' message 'renaming' id '57b59ac5-ca24-4ee8-af6f-0057d1fbd0a2' date '14 October 2021' time '11:40:48.185265 am' author 'ek' ancestors ((name 'Squit-ek.7' message 'remove back-up tool' id '94063854-60c8-4d76-bcc2-09a36d965af9' date '14 October 2021' time '11:38:49.527581 am' author 'ek' ancestors ((name 'Squit-ek.6' message 'add credentials Morph, minor fixes' id 'ee1af622-08d6-4cc5-a562-987443b92c69' date '13 October 2021' time '4:48:06.072503 pm' author 'ek' ancestors ((name 'Squit-ct.5' message 'empty log message' id 'f05de4c6-5f71-6f4c-9080-f5fd744b072c' date '30 August 2021' time '5:20:35.40661 pm' author 'ct' ancestors ((name 'Squit-ct.4' message 'empty log message' id '555ffaf2-7cbe-e747-9fd1-fc706de0aa88' date '30 August 2021' time '5:19:42.73361 pm' author 'ct' ancestors ((name 'Squit-cypress.1' message 'fabricated from a Cypress format repository' id '4a5f3775-51a1-2145-beb7-ebcdb560f31a' date '30 August 2021' time '3:16:59.539657 pm' author '' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())
(name 'Squit-ek.10' message 'add second registration method' id '64325ee2-e821-4ce2-8e94-d1afbb360686' date '26 October 2021' time '8:51:31.569315 pm' author 'ek' ancestors ((name 'Squit-ek.9' message 'Tool handles only exactly one repository' id 'd87a7aa7-ff7b-4555-953b-5f4f5606211d' date '14 October 2021' time '1:36:06.083263 pm' author 'ek' ancestors ((name 'Squit-ek.8' message 'renaming' id '57b59ac5-ca24-4ee8-af6f-0057d1fbd0a2' date '14 October 2021' time '11:40:48.185265 am' author 'ek' ancestors ((name 'Squit-ek.7' message 'remove back-up tool' id '94063854-60c8-4d76-bcc2-09a36d965af9' date '14 October 2021' time '11:38:49.527581 am' author 'ek' ancestors ((name 'Squit-ek.6' message 'add credentials Morph, minor fixes' id 'ee1af622-08d6-4cc5-a562-987443b92c69' date '13 October 2021' time '4:48:06.072503 pm' author 'ek' ancestors ((name 'Squit-ct.5' message 'empty log message' id 'f05de4c6-5f71-6f4c-9080-f5fd744b072c' date '30 August 2021' time '5:20:35.40661 pm' author 'ct' ancestors ((name 'Squit-ct.4' message 'empty log message' id '555ffaf2-7cbe-e747-9fd1-fc706de0aa88' date '30 August 2021' time '5:19:42.73361 pm' author 'ct' ancestors ((name 'Squit-cypress.1' message 'fabricated from a Cypress format repository' id '4a5f3775-51a1-2145-beb7-ebcdb560f31a' date '30 August 2021' time '3:16:59.539657 pm' author '' ancestors () stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())) stepChildren ())

0 comments on commit e76ced9

Please sign in to comment.