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
16 changed files
with
130 additions
and
4 deletions.
There are no files selected for viewing
9 changes: 9 additions & 0 deletions
9
...lo-Core.package/SPBLandingPage.class/instance/buildDeleteAllLocalBoardsButtonSpecWith..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 @@ | ||
toolbuilder-manage panel | ||
buildDeleteAllLocalBoardsButtonSpecWith: aBuilder | ||
|
||
^ aBuilder build: (aBuilder pluggableButtonSpec new | ||
model: self; | ||
action: #deleteAllLocal; | ||
label: 'Delete All'; | ||
yourself). | ||
|
8 changes: 8 additions & 0 deletions
8
...ckage/SPBLandingPage.class/instance/buildDeleteLocalBoardButtonSpecWith.withBoardName..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,8 @@ | ||
toolbuilder-manage panel | ||
buildDeleteLocalBoardButtonSpecWith: aBuilder withBoardName: aString | ||
|
||
^ "aBuilder build:" (aBuilder pluggableButtonSpec new | ||
model: self; | ||
label: 'Delete'; | ||
yourself). | ||
|
4 changes: 4 additions & 0 deletions
4
Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardCommonActionChildren.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 @@ | ||
toolbuilder-manage panel | ||
buildLocalBoardCommonActionChildren | ||
|
||
^ {self buildDeleteAllLocalBoardsButtonSpecWith: self usedBuilder. self buildNewLocalBoardButtonSpecWith: self usedBuilder} asOrderedCollection. |
10 changes: 10 additions & 0 deletions
10
Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardCommonActionsSpecWith..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 @@ | ||
toolbuilder-manage panel | ||
buildLocalBoardCommonActionsSpecWith: aBuilder | ||
|
||
^ aBuilder pluggablePanelSpec new | ||
model: self; | ||
children: #buildLocalBoardCommonActionChildren; | ||
layout: #horizontal; | ||
verticalResizing: #shrinkWrap; | ||
yourself. | ||
|
8 changes: 8 additions & 0 deletions
8
...-Core.package/SPBLandingPage.class/instance/buildLocalBoardNameSpecWith.withBoardName..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,8 @@ | ||
toolbuilder-manage panel | ||
buildLocalBoardNameSpecWith: aBuilder withBoardName: aString | ||
|
||
^ "aBuilder build:" (aBuilder pluggableTextSpec new | ||
model: self; | ||
setText: aString; | ||
yourself). | ||
|
15 changes: 15 additions & 0 deletions
15
Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardPanelSpecWith.withName..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,15 @@ | ||
toolbuilder-manage panel | ||
buildLocalBoardPanelSpecWith: aBuilder withName: aName | ||
|
||
^ "aBuilder build:" (aBuilder pluggablePanelSpec new | ||
model: self; | ||
layout: #horizontal; | ||
minimumHeight: 50px; | ||
children: { | ||
self buildLocalBoardNameSpecWith: aBuilder withBoardName: aName. | ||
self buildOpenLocalBoardButtonSpecWith: aBuilder withBoardName: aName. | ||
self buildRenameLocalBoardButtonSpecWith: aBuilder withBoardName: aName. | ||
self buildDeleteLocalBoardButtonSpecWith: aBuilder withBoardName: aName. | ||
}; | ||
yourself). | ||
|
6 changes: 6 additions & 0 deletions
6
Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardsListChildren.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-manage panel | ||
buildLocalBoardsListChildren | ||
|
||
^ ( SPBBoardSaver defaultSaver boards keys collect: | ||
[:aString | self buildLocalBoardPanelSpecWith: self usedBuilder withName: aString] ) asOrderedCollection. | ||
|
10 changes: 10 additions & 0 deletions
10
Squello-Core.package/SPBLandingPage.class/instance/buildLocalBoardsListSpecWith..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 @@ | ||
toolbuilder-manage panel | ||
buildLocalBoardsListSpecWith: aBuilder | ||
|
||
^ aBuilder pluggableScrollPaneSpec new | ||
model: self; | ||
vScrollBarPolicy: #always; | ||
children: "#buildLocalBoardsListChildren;"(self buildLocalBoardsListChildren); | ||
layout: #horizontal; | ||
yourself. | ||
|
8 changes: 8 additions & 0 deletions
8
Squello-Core.package/SPBLandingPage.class/instance/buildManageLocalBoardPanelSpecWith..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,8 @@ | ||
toolbuilder-manage panel | ||
buildManageLocalBoardPanelSpecWith: aBuilder | ||
"We just reuse this from the SquotBrowser, idk if this is good" | ||
|
||
^ SquotGUIUtilities buildVerticalLayout: { | ||
self buildLocalBoardsListSpecWith: aBuilder. | ||
self buildLocalBoardCommonActionsSpecWith: aBuilder. | ||
} with: aBuilder |
10 changes: 10 additions & 0 deletions
10
Squello-Core.package/SPBLandingPage.class/instance/buildNewLocalBoardButtonSpecWith..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 @@ | ||
toolbuilder-manage panel | ||
buildNewLocalBoardButtonSpecWith: aBuilder | ||
|
||
^ aBuilder build: (aBuilder pluggableButtonSpec new | ||
model: self; | ||
verticalResizing: #shrinkWrap; | ||
action: #openNewLocalBoard; | ||
label: 'New Local'; | ||
yourself). | ||
|
8 changes: 8 additions & 0 deletions
8
...package/SPBLandingPage.class/instance/buildOpenLocalBoardButtonSpecWith.withBoardName..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,8 @@ | ||
toolbuilder-manage panel | ||
buildOpenLocalBoardButtonSpecWith: aBuilder withBoardName: aString | ||
|
||
^ "aBuilder build:" (aBuilder pluggableButtonSpec new | ||
model: self; | ||
label: 'Open'; | ||
yourself). | ||
|
8 changes: 8 additions & 0 deletions
8
...ckage/SPBLandingPage.class/instance/buildRenameLocalBoardButtonSpecWith.withBoardName..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,8 @@ | ||
toolbuilder-manage panel | ||
buildRenameLocalBoardButtonSpecWith: aBuilder withBoardName: aString | ||
|
||
^ "aBuilder build:" (aBuilder pluggableButtonSpec new | ||
model: self; | ||
label: 'Rename'; | ||
yourself). | ||
|
4 changes: 4 additions & 0 deletions
4
Squello-Core.package/SPBLandingPage.class/instance/deleteAllLocal.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 @@ | ||
actions | ||
deleteAllLocal | ||
|
||
Transcript showln: 'delete all'. |
2 changes: 1 addition & 1 deletion
2
Squello-Core.package/SPBLandingPage.class/instance/manageLocalBoardsPanel.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 @@ | ||
content-panels | ||
manageLocalBoardsPanel | ||
|
||
^ {'Manage Local Boards'. {}}. | ||
^ {'Manage Local Boards'. {#buildManageLocalBoardPanelSpecWith:}}. |
4 changes: 4 additions & 0 deletions
4
Squello-Core.package/SPBLandingPage.class/instance/openNewLocalBoard.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 @@ | ||
actions | ||
openNewLocalBoard | ||
|
||
Transcript showln: 'dbhajdk'. |
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