Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » Tips wanted on attaching an extra label
Tips wanted on attaching an extra label [message #165810] Tue, 18 December 2007 21:32 Go to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

Hi!

I need a tip on how to implement something. After an object has been
connected to another (a 1,1 relation), I'd like to add the name (the
Future Label) of the related note under the figure.

Preferably not as part of the figure but attached below like this:

________
| blabla |
|________|
xyzxyz
Re: Tips wanted on attaching an extra label [message #165885 is a reply to message #165810] Wed, 19 December 2007 11:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

So you need external node label; see port name on TaiPan diagram.

Tomas Zijdemans wrote:
> Hi!
>
> I need a tip on how to implement something. After an object has been
> connected to another (a 1,1 relation), I'd like to add the name (the
> Future Label) of the related note under the figure.
>
> Preferably not as part of the figure but attached below like this:
>
> ________
> | blabla |
> |________|
> xyzxyz
Re: Tips wanted on attaching an extra label [message #165946 is a reply to message #165885] Wed, 19 December 2007 15:23 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: trommas.yahoo.com

Dmitry Stadnik wrote:
> So you need external node label; see port name on TaiPan diagram.

That looks great. However, my problem is (as so often before) that the
graph, tool and map of taipan is not included in the example project.

Any pointers about how to implement it?


Best Regards,

Tomas Zijdemans
Re: Tips wanted on attaching an extra label [message #165984 is a reply to message #165946] Wed, 19 December 2007 17:15 Go to previous message
Eclipse UserFriend
Originally posted by: 5d5.mail.ru

In gmfgen you could use GenExternalNodeLabel instead of GenNodeLabel. If
in gmfgraph model label figure is contained NOT inside node figure
transformer will use GenExternalNodeLabel instead of GenNodeLabel.

Tomas Zijdemans wrote:
> Dmitry Stadnik wrote:
>> So you need external node label; see port name on TaiPan diagram.
>
> That looks great. However, my problem is (as so often before) that the
> graph, tool and map of taipan is not included in the example project.
>
> Any pointers about how to implement it?
>
>
> Best Regards,
>
> Tomas Zijdemans
Previous Topic:Error when delete a figure
Next Topic:multiple creation tools mapping to a single domain element
Goto Forum:
  


Current Time: Sat Dec 21 14:05:01 GMT 2024

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

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

Back to the top