Spec support for GT-Inspector
I try to open a Spec model in Playground like : MessageBrowser browseMessages: Object methods refreshingBlock: [] named: '' but there is no preview tab apparently. -- Serge Stinckwich UCBN & UMI UMMISCO 209 (IRD/UPMC) Every DSL ends up being Smalltalk http://www.doesnotunderstand.org/
Hi Serge, There is no preview tab because the code just creates a model of the browser; it does not actually create it's graphical representation. Inspecting the code below in the latest moose image should show a preview tab. We do not do this by default as then inspecting a spec model could have a lot of side effects. (MessageBrowser browseMessages: Object methods refreshingBlock: [] named: '') buildWithSpec; yourself Cheers, Andrei On Sun, Sep 21, 2014 at 7:36 PM, Serge Stinckwich < serge.stinckwich@gmail.com> wrote:
I try to open a Spec model in Playground like :
MessageBrowser browseMessages: Object methods refreshingBlock: [] named: ''
but there is no preview tab apparently.
-- Serge Stinckwich UCBN & UMI UMMISCO 209 (IRD/UPMC) Every DSL ends up being Smalltalk http://www.doesnotunderstand.org/
On Mon, Sep 22, 2014 at 10:55 AM, Andrei Chis <chisvasileandrei@gmail.com> wrote:
Hi Serge,
There is no preview tab because the code just creates a model of the browser; it does not actually create it's graphical representation. Inspecting the code below in the latest moose image should show a preview tab. We do not do this by default as then inspecting a spec model could have a lot of side effects.
(MessageBrowser browseMessages: Object methods refreshingBlock: [] named: '') buildWithSpec; yourself
Thank you for the explanation Andrei. Apparently there is a DNU when i click on preview. This is the side effect, you are talking about ? Regards, -- Serge Stinckwich UCBN & UMI UMMISCO 209 (IRD/UPMC) Every DSL ends up being Smalltalk http://www.doesnotunderstand.org/
On Mon, Sep 22, 2014 at 11:42 AM, Serge Stinckwich < serge.stinckwich@gmail.com> wrote:
On Mon, Sep 22, 2014 at 10:55 AM, Andrei Chis <chisvasileandrei@gmail.com> wrote:
Hi Serge,
There is no preview tab because the code just creates a model of the browser; it does not actually create it's graphical representation. Inspecting the code below in the latest moose image should show a preview tab. We do not do this by default as then inspecting a spec model could have a lot of side effects.
(MessageBrowser browseMessages: Object methods refreshingBlock: [] named: '') buildWithSpec; yourself
Thank you for the explanation Andrei. Apparently there is a DNU when i click on preview. This is the side effect, you are talking about ?
Have you tried in in the latest Moose image? I committed earlier a fix. You need the latest version of this package Glamour-Morphic-Renderer (Glamour-Morphic-Renderer-AndreiChis.269) Andrei
Regards, -- Serge Stinckwich UCBN & UMI UMMISCO 209 (IRD/UPMC) Every DSL ends up being Smalltalk http://www.doesnotunderstand.org/
ok thank you. Works now. On Mon, Sep 22, 2014 at 12:05 PM, Andrei Chis <chisvasileandrei@gmail.com> wrote:
On Mon, Sep 22, 2014 at 11:42 AM, Serge Stinckwich <serge.stinckwich@gmail.com> wrote:
On Mon, Sep 22, 2014 at 10:55 AM, Andrei Chis <chisvasileandrei@gmail.com> wrote:
Hi Serge,
There is no preview tab because the code just creates a model of the browser; it does not actually create it's graphical representation. Inspecting the code below in the latest moose image should show a preview tab. We do not do this by default as then inspecting a spec model could have a lot of side effects.
(MessageBrowser browseMessages: Object methods refreshingBlock: [] named: '') buildWithSpec; yourself
Thank you for the explanation Andrei. Apparently there is a DNU when i click on preview. This is the side effect, you are talking about ?
Have you tried in in the latest Moose image? I committed earlier a fix. You need the latest version of this package Glamour-Morphic-Renderer (Glamour-Morphic-Renderer-AndreiChis.269)
Andrei
Regards, -- Serge Stinckwich UCBN & UMI UMMISCO 209 (IRD/UPMC) Every DSL ends up being Smalltalk http://www.doesnotunderstand.org/
-- Serge Stinckwich UCBN & UMI UMMISCO 209 (IRD/UPMC) Every DSL ends up being Smalltalk http://www.doesnotunderstand.org/
participants (2)
-
Andrei Chis -
Serge Stinckwich