Italics or bold text in connectors class

Ned Konz squeak-dev at lists.squeakfoundation.org
Mon Oct 21 21:38:56 UTC 2002


On Monday 21 October 2002 02:24 pm, I wrote:
> On Monday 21 October 2002 01:59 pm, Nathanael Sch=E4rli wrote:
> > Hi
> >
> > I'm using the connectors framework to do some diagrams. Now I
> > would like to have some italics or bold method names inside the
> > "UML class symbol". Can anyone tell me how I can do that without
> > having to actually program?
>
> The usual way (see "help/command keys"):
>
> Cmd-6=09color, action-on-click, link to class comment, link to
> method, url Brings up a menu.  To remove these properties, select
> =09=09more than the active part and then use command-0.

To make the links to classes work, add this method:

NCTextMorph>>addItem: classAndMethod
=09Model new addItem: classAndMethod=09"let him do all the work"

Or define it as you wish, perhaps to open a browser.
--=20
Ned Konz
http://bike-nomad.com
GPG key ID: BEEA7EFE




More information about the Squeak-dev mailing list