[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] Re: how can I get the reference to the element that I have just created by executing a command?

Begoña Moros wrote:

> Hi all,
> 
> after creating a new element as it is explained by tip 1 in
> http://wiki.eclipse.org/GMF_Tips, is it possible to get the reference to
> the
> element that has been created?  I need to achieve this in order to
> properly initialize the new element since the default initialization it is
> not enough in this case.
> 
> Thanks in advance for any hint!!

Hi Begoña

Look at Custom Actions in the MindMap tutorial.
http://wiki.eclipse.org/GMF_Tutorial_Part_3

Best regards,
Sylvain