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. ii. How can I made the code in a node tagged as "code" get 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? Thanks, Offray _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi,
On Sat, Jan 31, 2015 at 11:41 PM, Offray Vladimir Luna Cárdenas <[hidden email]> wrote: Hi, 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: Cheers, Doru Thanks, _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Hi,
El 06/02/15 a las 10:28, Tudor Girba escribió: [...] > > 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? > Yes. I want that when I tag a node, the corresponded view in the right side updates automatically without the need to revisit the node to see the changes. As shown in the video at [1][2], this is what I need to do right now. [1] https://archive.org/details/grafoscopio-tags-alpha1.mp4 [2] http://mutabit.com/offray/static/blog/output/posts/grafoscopio-idea-and-initial-progress.html > ii. How can I made the code in a node tagged as "code" get executed? > > > When should it be executed? > If I can embed a playground inside the view, they should be executed when the play button of the playground or its shortcut are used. I need to make more tests with the code you share with me on this mail for embeddable playgrounds. > 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 Thanks I have made some small modification, so when you click on an empty place (which is so common) of the left pane it doesn't raise an error stack. Here is the code: http://ws.stfx.eu/11SR9SS2WQS3 Now I would like to change the list by a dictionary and to use embedded browsers to made the code more modular and applicable to my needs. I'll keep you posted. > Cheers, > Doru > Thanks, Offray _______________________________________________ Moose-dev mailing list [hidden email] https://www.iam.unibe.ch/mailman/listinfo/moose-dev |
Free forum by Nabble | Edit this page |