[lively-kernel] Script tagging for Lively's object editor

Jens Lincke jens.lincke at hpi.uni-potsdam.de
Mon Nov 28 22:00:32 CET 2011


Hi, Lauritz

why not generalize it and call the function "tag"?

Best,
Jens

Am 28.11.2011 um 20:51 schrieb Lauritz Thamsen:

> Hi.
> 
> We added script tagging to our Object Editor (Script Editor).
> 
> A script might be in several categories at the same time, so we allow multiple tags. Further, we don't want the editor to have as many UI elements as our System Code Browser. Therefore, we tag scripts like they are added. Programmatically in the editor's script pane: 
> 
> 	this.addScript(function example() {
> 		alertOK('hello');
> 	}).categorize(['example', 'public']);
> 
> Any feedback or comments? :-)
> 
> Best,
> Lauritz
> _______________________________________________
> lively-kernel mailing list
> lively-kernel at hpi.uni-potsdam.de
> http://lists.hpi.uni-potsdam.de/listinfo/lively-kernel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.hpi.uni-potsdam.de/archive/lively-kernel/attachments/20111128/10a536ce/attachment.html>


More information about the lively-kernel mailing list