Hi all,
I'm starting with Glamour, particularly I'm interested in the GLMBasicExamples>>smalltalkCode example
My question is: is it possible to have access to variable bindings, in order to show them, for instance, in an inspector?
Thanks in advance! Nahuel
Hi Nahuel,
It's more the other way around. You should have the bindings before opening the SmalltalkCodePresentation, and thus you should be able to display them in other places as well.
For an example, look at the GLMScriptingEditorTemplate hierarchy. These are the editors based on Glamour for manipulating: Mondrian, EyeSee and Glamour scripts. For these we have a pane that displays the bindings, and these bindings are also used in the SmalltalkCodePresentation.
Cheers, Doru
On 10 Feb 2012, at 18:44, Nahuel Garbezza wrote:
Hi all,
I'm starting with Glamour, particularly I'm interested in the GLMBasicExamples>>smalltalkCode example
My question is: is it possible to have access to variable bindings, in order to show them, for instance, in an inspector?
Thanks in advance! Nahuel _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com
"We cannot reach the flow of things unless we let go."
On 10 February 2012 17:04, Tudor Girba tudor@tudorgirba.com wrote:
Hi Nahuel,
It's more the other way around. You should have the bindings before opening the SmalltalkCodePresentation, and thus you should be able to display them in other places as well.
For an example, look at the GLMScriptingEditorTemplate hierarchy. These are the editors based on Glamour for manipulating: Mondrian, EyeSee and Glamour scripts. For these we have a pane that displays the bindings, and these bindings are also used in the SmalltalkCodePresentation.
Cheers, Doru
Ok, I got it. I have another question: Why the GLMSmalltalkCodeModel doesn't have the "mustDeclareVariables" functionallity present in Workspace?. I mean, evaluating
a := 3.
being 'a' undeclared, in a Workspace it assigns 'a' to the value 3, while in the Glamour workspace it raises "Unknown variable". I'm looking for the Workspace behaviour.
Thanks
Nahuel
Good question.
Well, I did not do it because I did not know how to do it :). If you would like to give it a try, please go ahead.
Cheers, Doru
On Thu, Feb 16, 2012 at 2:18 PM, Nahuel Garbezza n.garbezza@gmail.com wrote:
On 10 February 2012 17:04, Tudor Girba tudor@tudorgirba.com wrote:
Hi Nahuel,
It's more the other way around. You should have the bindings before opening the SmalltalkCodePresentation, and thus you should be able to display them in other places as well.
For an example, look at the GLMScriptingEditorTemplate hierarchy. These are the editors based on Glamour for manipulating: Mondrian, EyeSee and Glamour scripts. For these we have a pane that displays the bindings, and these bindings are also used in the SmalltalkCodePresentation.
Cheers, Doru
Ok, I got it. I have another question: Why the GLMSmalltalkCodeModel doesn't have the "mustDeclareVariables" functionallity present in Workspace?. I mean, evaluating
a := 3.
being 'a' undeclared, in a Workspace it assigns 'a' to the value 3, while in the Glamour workspace it raises "Unknown variable". I'm looking for the Workspace behaviour.
Thanks
Nahuel
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev