Hi Jannik,
Hi Doru, How are you ? So, I have two questions about Glamour:
- is it possible to make behavior on right click (as in mondrian
with interaction menuFor:) ?
Yes. Just say act:entitled: and this will create a menu item.
- in an example, I see:
browser text display: [:entity | 'self' ]; title: 'Evaluator'; act: [ :text :entity | (Compiler evaluate: text selectedText for: entity logged: false) inspect ]
But in the evaluator pane, when I do "print it" or "do it", it returns nil. Is it possible to evaluate the selected entity when there is "self" in this pane ?
The problem there is that :text is nil because of a small problem in the MorphicRenderer which does not populate that variable from the text morph. It's on my to do list.
Cheers, Doru
Thanks for all.
Cheers
Jannik Laval PhD Student - Rmod Team - INRIA Certified Project Management Associate (IPMA) http://www.jannik-laval.eu http://rmod.lille.inria.fr
-- www.tudorgirba.com
"Value is always contextual."
- in an example, I see:
browser text display: [:entity | 'self' ]; title: 'Evaluator'; act: [ :text :entity | (Compiler evaluate: text selectedText for: entity logged: false) inspect ]
But in the evaluator pane, when I do "print it" or "do it", it returns nil. Is it possible to evaluate the selected entity when there is "self" in this pane ?
The problem there is that :text is nil because of a small problem in the MorphicRenderer which does not populate that variable from the text morph. It's on my to do list.
Integration with Morphic is quite tricky. I am wondering whether ESUG cannot help financing few hours of engineering by a Morphic expert. Mondrian also has problems dealing with events emitted by Morphic.
Cheers, Alexandre
On Jul 21, 2009, at 4:01 PM, Alexandre Bergel wrote:
- in an example, I see:
browser text display: [:entity | 'self' ]; title: 'Evaluator'; act: [ :text :entity | (Compiler evaluate: text selectedText for: entity logged: false) inspect ]
But in the evaluator pane, when I do "print it" or "do it", it returns nil. Is it possible to evaluate the selected entity when there is "self" in this pane ?
The problem there is that :text is nil because of a small problem in the MorphicRenderer which does not populate that variable from the text morph. It's on my to do list.
Integration with Morphic is quite tricky. I am wondering whether ESUG cannot help financing few hours of engineering by a Morphic expert. Mondrian also has problems dealing with events emitted by Morphic.
Which morphic expert? What would be gain for the community at large. ESUG sponsor efforts that help the overall community.
Stef
Which morphic expert? What would be gain for the community at large. ESUG sponsor efforts that help the overall community.
This could be part of a general cleaning. Adrian is working on it I know. This was just an idea. These bugs have been there for months already.
Alexandre