Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » How to get the main Editor from an EditPart
How to get the main Editor from an EditPart [message #425736] Fri, 05 December 2008 17:48 Go to next message
Eclipse UserFriend
Originally posted by: nuclearpsyche.gmail.com

Hi,

I have a combined GMF/EMF editor and I would like to access the XEditor
instance from a LinkEditPart.
How can I do that?
I don't think getParent() in the EditPart will do the job.
Thanks for your help!

Regards,

tamer
Re: How to get the main Editor from an EditPart [message #425741 is a reply to message #425736] Fri, 05 December 2008 19:03 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 30883
Registered: July 2009
Senior Member
Tamer,

I don't know what a LinkEditPart is. Probably you should ask on the GMF
newsgroup.

Tamer wrote:
> Hi,
>
> I have a combined GMF/EMF editor and I would like to access the
> XEditor instance from a LinkEditPart.
> How can I do that?
> I don't think getParent() in the EditPart will do the job.
> Thanks for your help!
>
> Regards,
>
> tamer
Re: How to get the main Editor from an EditPart [message #425745 is a reply to message #425741] Fri, 05 December 2008 19:29 Go to previous message
Eclipse UserFriend
Originally posted by: nuclearpsyche.gmail.com

LinkEditPart is just a diagram element that represents a link between
two nodes. Will post the question in the GMF newsgroup.
Thank you,

tamer

Ed Merks wrote:
> Tamer,
>
> I don't know what a LinkEditPart is. Probably you should ask on the GMF
> newsgroup.
>
> Tamer wrote:
>> Hi,
>>
>> I have a combined GMF/EMF editor and I would like to access the
>> XEditor instance from a LinkEditPart.
>> How can I do that?
>> I don't think getParent() in the EditPart will do the job.
>> Thanks for your help!
>>
>> Regards,
>>
>> tamer
Previous Topic:Re: Genereta XML file with VE
Next Topic:Problem syncing EMF data binding and CommandStack
Goto Forum:
  


Current Time: Wed Feb 19 04:25:14 GMT 2020

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

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

Back to the top