This Eclipse plugin sample code shows how to perform three Sametime actions (1. chat. 2. show business card, 3. add to contacts) for selected text in a document in the Notes client.
Just select either first and last name, a full Notes name or an internet email address in your Notes document, then right click and choose your action in the context menu.
Here is a quick demonstration: http://www.youtube.com/watch?v=PSleB7ZnU2w
Li Juan Gao is the only developer of this project. Niklas Heidloff is only the committer.