Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Show Link under destination and source node
Show Link under destination and source node [message #425289] Fri, 21 November 2008 18:34 Go to next message
Eclipse UserFriend
Originally posted by: nuclearpsyche.gmail.com

Hello,

I have a tab in my editor where the model is displayed as a tree. I
would like to display the Link objects twice: once under the source
object (as EMF does by default) and once under the destination object.

For for each link, i actually want to display 2.

Is it possible to have add such a reference to the link in the tree
under the destination node?

Thank you.

tamer
Re: Show Link under destination and source node [message #425293 is a reply to message #425289] Fri, 21 November 2008 23:37 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30900
Registered: July 2009
Senior Member
Tamer,

It's always possible to control the getChildren of the generated item
provider. That's if turning on "Children" property for the GenFeature
if there's an eOpposite doesn't do the trick.


Tamer wrote:
> Hello,
>
> I have a tab in my editor where the model is displayed as a tree. I
> would like to display the Link objects twice: once under the source
> object (as EMF does by default) and once under the destination object.
>
> For for each link, i actually want to display 2.
>
> Is it possible to have add such a reference to the link in the tree
> under the destination node?
>
> Thank you.
>
> tamer
Re: Show Link under destination and source node [message #425374 is a reply to message #425293] Sun, 23 November 2008 00:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nuclearpsyche.gmail.com

Thanks a lot Ed! This worked great.
Btw, I can't wait for your EMF book to come out.

Ed Merks wrote:
> Tamer,
>
> It's always possible to control the getChildren of the generated item
> provider. That's if turning on "Children" property for the GenFeature
> if there's an eOpposite doesn't do the trick.
>
>
> Tamer wrote:
>> Hello,
>>
>> I have a tab in my editor where the model is displayed as a tree. I
>> would like to display the Link objects twice: once under the source
>> object (as EMF does by default) and once under the destination object.
>>
>> For for each link, i actually want to display 2.
>>
>> Is it possible to have add such a reference to the link in the tree
>> under the destination node?
>>
>> Thank you.
>>
>> tamer
Re: Show Link under destination and source node [message #425378 is a reply to message #425374] Sun, 23 November 2008 08:24 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 30900
Registered: July 2009
Senior Member
Tamer,

The publisher tells me the book will be in the warehouse Dec 24th and
that those who order it online will be sent their order at that time.
Not quite in time to be a Christmas stocking stuffer but in time for a
good start to the new year. :-P


Tamer wrote:
> Thanks a lot Ed! This worked great.
> Btw, I can't wait for your EMF book to come out.
>
> Ed Merks wrote:
>> Tamer,
>>
>> It's always possible to control the getChildren of the generated item
>> provider. That's if turning on "Children" property for the
>> GenFeature if there's an eOpposite doesn't do the trick.
>>
>>
>> Tamer wrote:
>>> Hello,
>>>
>>> I have a tab in my editor where the model is displayed as a tree. I
>>> would like to display the Link objects twice: once under the source
>>> object (as EMF does by default) and once under the destination object.
>>>
>>> For for each link, i actually want to display 2.
>>>
>>> Is it possible to have add such a reference to the link in the tree
>>> under the destination node?
>>>
>>> Thank you.
>>>
>>> tamer
Previous Topic:[TENEO] @GenericGenerator(name="hibseq", strategy = "hilo"...
Next Topic:Initializing a containment list from the containing object?
Goto Forum:
  


Current Time: Mon Feb 24 16:21:58 GMT 2020

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

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

Back to the top