-
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.
Merge pull request #143 from hpi-swa-teaching/SoSe19
SoSe19
- Loading branch information
Showing
759 changed files
with
3,995 additions
and
1,166 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
OrderedDictionary { | ||
'packages\/BaselineOfPresenter.package' : #SquotCypressCodeSerializer, | ||
'packages\/Presenter-Core.package' : #SquotCypressCodeSerializer, | ||
'packages\/Presenter-Tests.package' : #SquotCypressCodeSerializer | ||
'packages\/Presenter-Tests.package' : #SquotCypressCodeSerializer, | ||
'packages\/Presenter-Compatibility-Tests.package' : #SquotCypressCodeSerializer | ||
} |
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 |
---|---|---|
|
@@ -8,6 +8,7 @@ os: | |
smalltalk: | ||
- Squeak-5.0 | ||
- Squeak-5.1 | ||
- Squeak-5.2 | ||
- Squeak-trunk | ||
|
||
matrix: | ||
|
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
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 @@ | ||
{ | ||
"noMethodMetaData" : true, | ||
"separateMethodMetaAndSource" : false, | ||
"useCypressPropertiesFile" : true } |
5 changes: 5 additions & 0 deletions
5
packages/Presenter-Compatibility-Tests.package/.squot-contents
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 @@ | ||
SquotTrackedObjectMetadata { | ||
#objectClassName : #PackageInfo, | ||
#objectsReplacedByNames : true, | ||
#serializer : #SquotCypressCodeSerializer | ||
} |
6 changes: 6 additions & 0 deletions
6
packages/Presenter-Compatibility-Tests.package/TestCase.extension/instance/deny.equals..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 @@ | ||
*Presenter-Compatibility-Tests | ||
deny: unexpected equals: actual | ||
|
||
^self | ||
deny: unexpected = actual | ||
description: 'Actual equals unexpected' |
5 changes: 5 additions & 0 deletions
5
packages/Presenter-Compatibility-Tests.package/TestCase.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" : { | ||
"deny:equals:" : "eem 11/19/2018 09:45" } } |
2 changes: 2 additions & 0 deletions
2
packages/Presenter-Compatibility-Tests.package/TestCase.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" : "TestCase" } |
1 change: 1 addition & 0 deletions
1
packages/Presenter-Compatibility-Tests.package/monticello.meta/categories.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 @@ | ||
SystemOrganization addCategory: #'Presenter-Compatibility-Tests'! |
Empty file.
2 changes: 2 additions & 0 deletions
2
packages/Presenter-Compatibility-Tests.package/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 @@ | ||
{ | ||
} |
4 changes: 4 additions & 0 deletions
4
packages/Presenter-Core.package/Morph.extension/instance/isPSMiniature.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 @@ | ||
*Presenter-Core | ||
isPSMiniature | ||
|
||
^ false |
4 changes: 4 additions & 0 deletions
4
packages/Presenter-Core.package/Morph.extension/instance/isPSSlide.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 @@ | ||
*Presenter-Core | ||
isPSSlide | ||
|
||
^ false |
6 changes: 6 additions & 0 deletions
6
packages/Presenter-Core.package/Morph.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,6 @@ | ||
{ | ||
"class" : { | ||
}, | ||
"instance" : { | ||
"isPSMiniature" : "VO 6/13/2019 18:21", | ||
"isPSSlide" : "mb 6/5/2019 19:40" } } |
2 changes: 2 additions & 0 deletions
2
packages/Presenter-Core.package/Morph.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" : "Morph" } |
6 changes: 1 addition & 5 deletions
6
packages/Presenter-Core.package/PSContentContainer.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,17 +1,13 @@ | ||
A PSContentContainer is a container for a single morph put on a slide. | ||
It manages resizing and the context menu for its morph. | ||
It manages resizing and the context menu for its morph aswell as executing the morph's scripts. | ||
Resizing is done with "handles", small rectangles, which can be dragged to resize the child morph. | ||
|
||
Instance Variables | ||
content: <Morph> | ||
hasHandles: <Boolean> | ||
resizeHandles: <Dictionary> | ||
|
||
content | ||
- The morph the container contains | ||
|
||
hasHandles | ||
- Shows whether the container's handles exist | ||
|
||
resizeHandles | ||
- Dictionary containing the resizeHandles at the container's corners |
4 changes: 4 additions & 0 deletions
4
packages/Presenter-Core.package/PSContentContainer.class/class/borderColor.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 @@ | ||
constants | ||
borderColor | ||
|
||
^ (TranslucentColor r: 0.64 g: 0.64 b: 0.64 alpha: 0.5) |
4 changes: 4 additions & 0 deletions
4
packages/Presenter-Core.package/PSContentContainer.class/class/borderWidth.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 @@ | ||
constants | ||
borderWidth | ||
|
||
^ 5 |
4 changes: 4 additions & 0 deletions
4
packages/Presenter-Core.package/PSContentContainer.class/class/minimumExtent.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 @@ | ||
constants | ||
minimumExtent | ||
|
||
^ (self borderWidth @ self borderWidth) * 2 + self minimumMorphExtent |
4 changes: 4 additions & 0 deletions
4
packages/Presenter-Core.package/PSContentContainer.class/class/minimumMorphExtent.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 @@ | ||
constants | ||
minimumMorphExtent | ||
|
||
^ 1 @ 1 |
5 changes: 5 additions & 0 deletions
5
packages/Presenter-Core.package/PSContentContainer.class/instance/abandon.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,5 @@ | ||
submorphs-add/remove | ||
abandon | ||
|
||
self slideContainer ifNotNil: [self slideContainer removeSelection]. | ||
super abandon |
6 changes: 0 additions & 6 deletions
6
packages/Presenter-Core.package/PSContentContainer.class/instance/addContentMenuItemsTo..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
10 changes: 10 additions & 0 deletions
10
packages/Presenter-Core.package/PSContentContainer.class/instance/bringToFrontData.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 @@ | ||
buttons | ||
bringToFrontData | ||
|
||
^ Dictionary withAll: { | ||
#label -> 'To Front'. | ||
#contextMenuLabel -> 'Bring to front'. | ||
#action -> #comeToFront. | ||
#size -> #bigButtonSize. | ||
#name -> #bringToFrontButton. | ||
#model -> self} |
9 changes: 0 additions & 9 deletions
9
packages/Presenter-Core.package/PSContentContainer.class/instance/createContextMenu.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
10 changes: 10 additions & 0 deletions
10
packages/Presenter-Core.package/PSContentContainer.class/instance/defaultActions.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 @@ | ||
context menu | ||
defaultActions | ||
|
||
^ {self grabChildData. | ||
self deleteData. | ||
self recolorData. | ||
self bringToFrontData. | ||
self sendToBackData. | ||
self duplicateData. | ||
self openScriptingToolData} asOrderedCollection |
12 changes: 0 additions & 12 deletions
12
...ges/Presenter-Core.package/PSContentContainer.class/instance/defaultContextMenuContent.st
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
packages/Presenter-Core.package/PSContentContainer.class/instance/deleteContent.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,5 @@ | ||
submorphs-add/remove | ||
deleteContent | ||
|
||
self slideContainer ifNotNil: [self slideContainer removeSelection]. | ||
self abandon. |
10 changes: 10 additions & 0 deletions
10
packages/Presenter-Core.package/PSContentContainer.class/instance/deleteData.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 @@ | ||
buttons | ||
deleteData | ||
|
||
^ Dictionary withAll: { | ||
#label -> 'Delete'. | ||
#contextMenuLabel -> 'Delete'. | ||
#action -> #deleteContent. | ||
#size -> #bigButtonSize. | ||
#name -> #DeleteButton. | ||
#model -> self} |
4 changes: 0 additions & 4 deletions
4
packages/Presenter-Core.package/PSContentContainer.class/instance/disablePresentationMode.st
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
packages/Presenter-Core.package/PSContentContainer.class/instance/duplicateData.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 @@ | ||
buttons | ||
duplicateData | ||
|
||
^ Dictionary withAll: { | ||
#label -> 'Duplicate'. | ||
#contextMenuLabel -> 'Duplicate morph'. | ||
#action -> #copyChildToHand. | ||
#size -> #bigButtonSize. | ||
#name -> #duplicateButton. | ||
#model -> self} |
4 changes: 0 additions & 4 deletions
4
packages/Presenter-Core.package/PSContentContainer.class/instance/enablePresentationMode.st
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.