Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » how to create programmatically a note attachment
how to create programmatically a note attachment [message #236966] Mon, 20 July 2009 18:29 Go to next message
daniele Mising name is currently offline daniele Mising nameFriend
Messages: 48
Registered: July 2009
Member
This is my problem. I want to create (programmatically) a note attached to
a link between two nodes.
I saw that this question is already in the Newsgroup, but the answer isn't
so clear for me.

In the old post, I saw that a solution can be override the method

protected Command getCreateCommand(CreateViewRequest request) {}

but I can't understand which class has this method, and where it's called.



That's I want to do is a little animation. I have in the canvas severl
nodes, linked between them. The animation highlight (one by one) the link
of the nodes, and i want that a note appear linked to the link with the
description of what it means.

Many thanks!
Re: how to create programmatically a note attachment [message #236983 is a reply to message #236966] Mon, 20 July 2009 22:13 Go to previous messageGo to next message
daniele Mising name is currently offline daniele Mising nameFriend
Messages: 48
Registered: July 2009
Member
it would be good even not using the "createNote", but adding at the
mapping a rectangle linked to a link... I'm trying to add a lilnk
mapping...a figure ext... but doesn't work
avoid obstacle for note [message #237222 is a reply to message #236983] Wed, 22 July 2009 10:27 Go to previous message
daniele Mising name is currently offline daniele Mising nameFriend
Messages: 48
Registered: July 2009
Member
mm... so nobody can help me to create a note..?

I could try to substitute the label of a link with a labeled rectangle,
like a note but without the link (better than nothing..)

Is there a property for the rectangle to avoid obstacle? I saw that links
have it in the canvas. Can I use it also for other figures?
Previous Topic:How to visualize a reference?
Next Topic:Cannot delete GMF diagram element
Goto Forum:
  


Current Time: Tue Apr 16 09:48:47 GMT 2024

Powered by FUDForum. Page generated in 0.48805 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top