Thanks - I will make further postings in Magritte ML (just subscribed)
ML and Discord are friendlier and visible even to the non subscribers than
GH discussion boards ,,, my view
Sean P. DeNigris wrote
Sanjay Minni wrote
... Are the pragmas required
Yes, annotating methods is how they are registered as part of the Magritte
description. There have been several non-backward-compatible Magritte
versions (currently on v. 3), so that may have been added later; note that
these methods should be on the instance side, unlike in the original
Magritte. Here is an example:
MyClass>>#descriptionHasMetacelloConfiguration
<magritteDescription> ^ MABooleanDescription new priority: 250; accessor: #hasMetacelloConfiguration; beReadOnly; beRequired; yourselfp.s. happy to discuss here, but we also added a discussion place to the GH
repo: https://github.com/magritte-metamodel/magritte/discussions
p.p.s. there is a Magritte ML, but it doesn't get much traffic
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html
Am posing messages on GH Repo Disc Board while awaiting subscription approval
to Magritte ML
Sanjay
Sean P. DeNigris wrote
Sanjay Minni wrote
... Are the pragmas required
Yes, annotating methods is how they are registered as part of the Magritte
description. There have been several non-backward-compatible Magritte
versions (currently on v. 3), so that may have been added later; note that
these methods should be on the instance side, unlike in the original
Magritte. Here is an example:
MyClass>>#descriptionHasMetacelloConfiguration
<magritteDescription> ^ MABooleanDescription new priority: 250; accessor: #hasMetacelloConfiguration; beReadOnly; beRequired; yourselfp.s. happy to discuss here, but we also added a discussion place to the GH
repo: https://github.com/magritte-metamodel/magritte/discussions
p.p.s. there is a Magritte ML, but it doesn't get much traffic
Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html