-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pharo7 is more strict in extension methods so the get removed if save…
…d. Fixed to be extension methods with just the name of the package
- Loading branch information
Showing
41 changed files
with
51 additions
and
52 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/BlockClosure.extension/instance/optionFor.ifPresent..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,3 @@ | ||
*magritte-model-description | ||
*Magritte-Model | ||
optionFor: anObject ifPresent: aBlock | ||
aBlock value: (self cull: anObject) |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/Class.extension/instance/label.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
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/Collection.extension/instance/maSelectMatching..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,3 @@ | ||
*magritte-model-dynopt | ||
*Magritte-Model | ||
maSelectMatching: aString | ||
^ self select: [ :e | e asString startsWith: aString ] |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/Dictionary.extension/instance/optionFor.ifPresent..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,3 @@ | ||
*magritte-model-description | ||
*Magritte-Model | ||
optionFor: anObject ifPresent: aBlock | ||
self at: anObject ifPresent: aBlock |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/Integer.extension/instance/asFileSize.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
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/MAContainer.class/instance/descriptionBuilder..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,3 @@ | ||
*magritte-model-builder | ||
builder | ||
descriptionBuilder: aBuilderClass | ||
self propertyAt: #descriptionBuilder put: aBuilderClass |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/MAContainer.class/instance/descriptionBuilder.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,3 @@ | ||
*magritte-model-builder | ||
builder | ||
descriptionBuilder | ||
^self propertyAt: #descriptionBuilder ifAbsent: [ nil ] |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/MAContainer.class/instance/descriptionBuilders..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 @@ | ||
*magritte-model-builder | ||
builder | ||
descriptionBuilders: aList | ||
self descriptionBuilder: MAComposedDescriptionBuilder. | ||
self propertyAt: #descriptionBuilders put: aList |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/MAContainer.class/instance/descriptionBuilders.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,3 @@ | ||
*magritte-model-builder | ||
builder | ||
descriptionBuilders | ||
^self propertyAt: #descriptionBuilders ifAbsent: [ #() ] |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/MADescription.class/instance/canExpand..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 @@ | ||
*magritte-model-builder | ||
builder | ||
canExpand: aBoolean | ||
" used to expand a relation description into a group " | ||
^self propertyAt: #canExpand put: aBoolean |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/MADescription.class/instance/canExpand.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 @@ | ||
*magritte-model-builder | ||
builder | ||
canExpand | ||
" used to expand a relation description into a group " | ||
^self propertyAt: #canExpand ifAbsent: [ self defaultCanExpand ] |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/MADescription.class/instance/defaultCanExpand.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
19 changes: 9 additions & 10 deletions
19
source/Magritte-Model.package/MADynamicOptions.class/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 |
---|---|---|
@@ -1,16 +1,15 @@ | ||
{ | ||
"category" : "Magritte-Model-Utility", | ||
"classinstvars" : [ | ||
], | ||
"classvars" : [ | ||
], | ||
"commentStamp" : "", | ||
"super" : "Object", | ||
"category" : "Magritte-Model-Utility", | ||
"classinstvars" : [ ], | ||
"pools" : [ ], | ||
"classvars" : [ ], | ||
"instvars" : [ | ||
"block", | ||
"completionToObjectBlock", | ||
"includesBlock" ], | ||
"includesBlock" | ||
], | ||
"name" : "MADynamicOptions", | ||
"pools" : [ | ||
], | ||
"super" : "Object", | ||
"type" : "normal" } | ||
"type" : "normal" | ||
} |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/Object.extension/instance/descriptionContainer.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
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/Object.extension/instance/magritteDescriptionBuilders.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
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/Object.extension/instance/mementoClass.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
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/Object.extension/instance/readUsing..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
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/Object.extension/instance/uniqueActionSelectors.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 @@ | ||
*magritte-model-actions | ||
*Magritte-Model | ||
uniqueActionSelectors | ||
|
||
| descriptionPragmas selectors | | ||
|
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/Object.extension/instance/write.using..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
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/String.extension/instance/matches..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
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/Symbol.extension/instance/optionFor.ifPresent..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,3 @@ | ||
*magritte-model-description | ||
*Magritte-Model | ||
optionFor: anObject ifPresent: aBlock | ||
aBlock value: (anObject perform: self) |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/UndefinedObject.extension/instance/asAccessor.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,3 @@ | ||
*magritte-model-converting | ||
*Magritte-Model | ||
asAccessor | ||
^ MANullAccessor new |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/UndefinedObject.extension/instance/label.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,3 @@ | ||
*magritte-model-accessing | ||
*Magritte-Model | ||
label | ||
^ 'n/a' |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Model.package/UndefinedObject.extension/instance/magritteDescription.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,3 @@ | ||
*magritte-model-accessing | ||
*Magritte-Model | ||
magritteDescription | ||
^ MAContainer new |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Morph.package/MAContainer.extension/class/defaultMorphClasses.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,3 @@ | ||
*magritte-morph-defaults | ||
*Magritte-Morph | ||
defaultMorphClasses | ||
^ Array with: MAContainerMorph |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Morph.package/MADescription.extension/class/defaultMorphClass.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 @@ | ||
*magritte-morph-defaults | ||
*Magritte-Morph | ||
defaultMorphClass | ||
^ self defaultMorphClasses notEmpty | ||
ifTrue: [ self defaultMorphClasses first ] |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Morph.package/MADescription.extension/class/defaultMorphClasses.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,3 @@ | ||
*magritte-morph-defaults | ||
*Magritte-Morph | ||
defaultMorphClasses | ||
^ Array new |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Morph.package/MADescription.extension/class/defaultMorphColor.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,3 @@ | ||
*magritte-morph-defaults | ||
*Magritte-Morph | ||
defaultMorphColor | ||
^ Color white |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Morph.package/MADescription.extension/instance/morphClass..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,3 @@ | ||
*magritte-morph-accessing | ||
*Magritte-Morph | ||
morphClass: aClass | ||
^ self propertyAt: #morphClass put: aClass |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Morph.package/MADescription.extension/instance/morphClass.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,3 @@ | ||
*magritte-morph-accessing | ||
*Magritte-Morph | ||
morphClass | ||
^ self propertyAt: #morphClass ifAbsent: [ self class defaultMorphClass ] |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Morph.package/MADescription.extension/instance/morphColor..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,3 @@ | ||
*magritte-morph-accessing | ||
*Magritte-Morph | ||
morphColor: aColor | ||
^ self propertyAt: #morphColor put: aColor |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Morph.package/MADescription.extension/instance/morphColor.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,3 @@ | ||
*magritte-morph-accessing | ||
*Magritte-Morph | ||
morphColor | ||
^ self propertyAt: #morphColor ifAbsent: [ self class defaultMorphColor ] |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Morph.package/MADirectoryDescription.extension/class/defaultMorphClasses.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,3 @@ | ||
*magritte-morph-defaults | ||
*Magritte-Morph | ||
defaultMorphClasses | ||
^ Array with: MADirectoryMorph |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Morph.package/MAElementDescription.extension/class/defaultMorphClasses.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,3 @@ | ||
*magritte-morph-defaults | ||
*Magritte-Morph | ||
defaultMorphClasses | ||
^ Array with: MATextMorph |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Morph.package/MAFileDescription.extension/class/defaultMorphClasses.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,3 @@ | ||
*magritte-morph-defaults | ||
*Magritte-Morph | ||
defaultMorphClasses | ||
^ Array with: MAFileMorph |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Morph.package/MAMemoDescription.extension/class/defaultMorphClasses.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,3 @@ | ||
*magritte-morph-defaults | ||
*Magritte-Morph | ||
defaultMorphClasses | ||
^ Array with: MAMemoMorph |
2 changes: 1 addition & 1 deletion
2
...Magritte-Morph.package/MAMultipleOptionDescription.extension/class/defaultMorphClasses.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,3 @@ | ||
*magritte-morph-defaults | ||
*Magritte-Morph | ||
defaultMorphClasses | ||
^ Array with: MAMultiSelectListMorph |
2 changes: 1 addition & 1 deletion
2
...e/Magritte-Morph.package/MASingleOptionDescription.extension/class/defaultMorphClasses.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 @@ | ||
*magritte-morph-defaults | ||
*Magritte-Morph | ||
defaultMorphClasses | ||
^ Array | ||
with: MASingleSelectListMorph | ||
|
2 changes: 1 addition & 1 deletion
2
.../Magritte-Morph.package/MAToOneRelationDescription.extension/class/defaultMorphClasses.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,3 @@ | ||
*magritte-morph-defaults | ||
*Magritte-Morph | ||
defaultMorphClasses | ||
^ Array with: MAExternalEditorMorph with: MAInternalEditorMorph |
2 changes: 1 addition & 1 deletion
2
source/Magritte-Morph.package/Object.extension/instance/asMagritteMorph.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,3 @@ | ||
*magritte-morph-converting | ||
*Magritte-Morph | ||
asMagritteMorph | ||
^ self magritteDescription asMorphOn: self |
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 @@ | ||
SystemOrganization addCategory: #'Magritte-Morph'! | ||
SystemOrganization addCategory: 'Magritte-Morph-Model'! | ||
SystemOrganization addCategory: 'Magritte-Morph-Morphs'! | ||
SystemOrganization addCategory: 'Magritte-Morph-Report'! | ||
SystemOrganization addCategory: #'Magritte-Morph-Model'! | ||
SystemOrganization addCategory: #'Magritte-Morph-Morphs'! | ||
SystemOrganization addCategory: #'Magritte-Morph-Report'! |