Hi,

On Sat, Jan 31, 2015 at 11:41 PM, Offray Vladimir Luna Cárdenas <offray@riseup.net> wrote:
Hi,

I'm working on my project Grafoscopio, to provide a outliner/notebook like experience to write and visualize data. Details can be found on [1].

[1] http://mutabit.com/offray/static/blog/output/posts/grafoscopio-idea-and-initial-progress.html

I want to create modal nodes by tagging them, so If I mark a node like code it can behave like a workspace and execute code. You can see a small demo of this feature on [2]

[2] https://archive.org/details/grafoscopio-tags-alpha1.mp4

My code for tagging nodes is this:

==[a]=============================================
UI>>addTagsTo: a Node

        "Tags the node passed as argument with a value from the collection of tags available"
        | selection |

        tagsAvailable isNil
                ifFalse: [
                        selection := UIManager default chooseFrom: tagsAvailable title: 'Elija una etiqueta'.
                        aNode tagAs: (tagsAvailable at: selection)
                        ]
                ifTrue: [self messageNoTagsAvailable].
        browser update.
=================================================

But I have three questions:

i. How Can I update the nodes views/behaviour without revisiting them? The code in [a] is updating the node trees, but not the particular node views.

What do you mean by node views? Do you mean when you select your tag you want to refresh the presentation from the right hand side?

 
ii. How can I made the code in a node tagged as "code" get executed?

When should it be executed?

 
iii. Can I embed playgrounds instead of workspaces in a browser pane, with the possibility to explore objects and get more details about them?

Sure. Here is an example that has a list of strings to the left and a playground to the right:
http://ws.stfx.eu/L1VNANJTU6KW

Cheers,
Doru

 
Thanks,

Offray
_______________________________________________
Moose-dev mailing list
Moose-dev@iam.unibe.ch
https://www.iam.unibe.ch/mailman/listinfo/moose-dev



--
www.tudorgirba.com

"Every thing has its own flow"