generated from hpi-swa-teaching/SWT-Demo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
41 additions
and
35 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
startup | ||
openFromPrompt: prompt | ||
|
||
[(prompt beginsWith: self localPrefix) | ||
ifTrue: [self openLocal: prompt] | ||
ifFalse: [self newWith: prompt.]] fork. | ||
|
4 changes: 0 additions & 4 deletions
4
Squello-Core.package/SPBBoard.class/class/openInBackground.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
12 changes: 10 additions & 2 deletions
12
...age/SPBLandingPage.class/instance/buildRecentGitHubBoardsButtonSpecWith.withBoardInfo..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,3 +1,11 @@ | ||
currently not in use | ||
toolbuilder | ||
buildRecentGitHubBoardsButtonSpecWith: aBuilder withBoardInfo: aDictionary | ||
|
||
|
||
| name | | ||
name := (aDictionary at: #repo), ' : ' ,( aDictionary at: #name). | ||
^ aBuilder build: (aBuilder pluggableButtonSpec new | ||
model: [SPBBoard openFromPrompt: (aDictionary at: #url)]; | ||
label: name; | ||
action: #value; | ||
yourself). | ||
|
6 changes: 6 additions & 0 deletions
6
Squello-Core.package/SPBLandingPage.class/instance/buildRecentGitHubBoardsChildren.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 @@ | ||
toolbuilder | ||
buildRecentGitHubBoardsChildren | ||
|
||
|children| | ||
children := ( self class RecentGitHubBoards collect: [:dictOfRecentBoard | self buildRecentGitHubBoardsButtonSpecWith: self usedBuilder withBoardInfo: dictOfRecentBoard] )asOrderedCollection. | ||
^ children. |
20 changes: 7 additions & 13 deletions
20
Squello-Core.package/SPBLandingPage.class/instance/buildRecentGitHubBoardsSpecWith..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,16 +1,10 @@ | ||
toolbuilder | ||
buildRecentGitHubBoardsSpecWith: aBuilder | ||
|
||
| spec | | ||
self usedBuilder: aBuilder. | ||
spec := aBuilder pluggablePanelSpec new | ||
model: self; | ||
"label: 'Recent Local Boards';" | ||
|
||
"frame: ([email protected] corner: 1@1);" | ||
children: | ||
{"self class RecentGitHubBoards: [:recentGitHubBoard | self buildRecentGitHubBoardsButtonSpecWith: aBuilder withBoardInfo: recentGitHubBoard] | ||
"}; | ||
layout: #horizontal; | ||
yourself. | ||
^ aBuilder build: spec. | ||
^ aBuilder pluggablePanelSpec new | ||
name: #RecentGitHubBoards; | ||
model: self; | ||
children: #buildRecentGitHubBoardsChildren; | ||
layout: #horizontal; | ||
yourself. | ||
|
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