ThumbtackAnnotations and Jasmine TAnnotation

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

ThumbtackAnnotations and Jasmine TAnnotation

rogerther
Hello everyone.

I'm trying to use the objects in the package ThumbtackAnnotations but I can't
figure out who this works.

I have tried to create a TAnnotationTack and add it to the space and a tack
appear in the world. But I don't find a way to associate text to this tack.

I have tried to use the method bodyText but nothing new appears.

If someone could give me some examples on how to create this annotations that
would be great.

On croquet-Bento Blog
http://croquet-bento.blogspot.com/2005/06/croquet-annotations-and-all-that-jazz
.html
there are 2 types of annotations, the ThumbtackAnnotations and a type of
annotation that uses a line to link the object to the annotation. they refer to
this as AnnotationMorph but I can't find this on my croquet installation
(croquet.1.0.18.image). Where can I find this annotation class?

Thanks all for you help.
Reply | Threaded
Open this post in threaded view
|

Re: ThumbtackAnnotations and Jasmine TAnnotation

Mark P. McCahill-2

On Aug 7, 2007, at 4:24 PM, [hidden email] wrote:

> Hello everyone.
>
> I'm trying to use the objects in the package ThumbtackAnnotations  
> but I can't
> figure out who this works.
>
> I have tried to create a TAnnotationTack and add it to the space  
> and a tack
> appear in the world. But I don't find a way to associate text to  
> this tack.
>

to get your feet wet with this you want to go to the sailing demo  
world and annotate the boat.
depending on how your mouse is set up either middle or right click on  
the boat - you'll get a popup menu from which you can select the "add  
annotation" option. This brings up a dialog box where you can select  
the color of the thumbtack that will by stuck in the boat, and enter  
the text. If you trace how this is invoked you see interesting things  
like

CAddThumbtackWindow
CDefaultPopupMenu > addAnnotation

which should get you started


Mark P. McCahill
Architect, Computing Systems
Duke University - Office of Information Technology
334 Blackwell Street, Suite 2107
Durham, North Carolina 27701
USA

[hidden email]
+1 919-724-0708  (mobile)
+1 929 668 2964  (fax)


Reply | Threaded
Open this post in threaded view
|

Re: ThumbtackAnnotations and Jasmine TAnnotation

rogerther
Thanks Mark, that was exactly what I was looking for.

Do you have any info on the other type of annotations? The ones that have a
line linking the point in a object to the annotation?