Hi Sean, Sorry for the slow response. In the latest Moose, ConfigurationOfGlamour now loads again Magritte and the associated presentation, and provides an example of how to embed it in the inspector. If you inspect: GLMMagrittePersonExample new name: 'William Shakespeare'; address: 'Stratford-upon-Avon' you get: This is achieved through a method like this: gtInspectorMagritteIn: composite <gtInspectorPresentationOrder: 40> composite magritte title: 'Form'; display: [ self ] See here a more thorough description: Cheers, Doru On Fri, May 15, 2015 at 5:47 PM, Sean P. DeNigris <[hidden email]> wrote: Sean P. DeNigris wrote |
Administrator
|
Bravo! Well done! This is *so* useful. Thank you and keep it up :) You just saved me time, and more importantly a context switch in a project with a very tight deadline. There is definitely a beer (or several) in your future ;) BTW: To get this in Pharo 5.0, load the Glamour-Magritte-Presentations package from the Moose repo
Cheers,
Sean |
Administrator
|
To be more specific (since I had to look it up again to figure out what the above meant!): Gofer it smalltalkhubUser: 'Moose' project: 'Glamour'; package: 'Glamour-Magritte-Presentations'; load. I wonder what the best way to load this would be... maybe add it to the default group in a Pharo40-specific block in the Magritte3 config?
Cheers,
Sean |
Hi, Indeed. We already had a similar discussion in the context of XMLParser. The current idea is to package GT extensions directly in the project, and not in GT. In the case of Magritte this is a bit more elaborate because it implies packaging the MagrittePresentation there as well, but that should be doable, and I would prefer this route. Cheers, Doru On Sun, May 31, 2015 at 7:43 PM, Sean P. DeNigris <[hidden email]> wrote: Sean P. DeNigris wrote |
Administrator
|
That sound's good. I want to have Magritte load this by default in Pharo 4.0, but I guess the only way is to directly refer to the Glamour-Magritte-Presentations package from the Magritte config ( don't tell Christophe ;) )
Cheers,
Sean |
Free forum by Nabble | Edit this page |