Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » child node creation
child node creation [message #210381] Wed, 05 November 2008 07:04 Go to next message
Eclipse UserFriend
Originally posted by: manojm.blr.interrasystems.com

Hi! All,

Using GMF, I have created one Editor. Where I am able to draw a
rectangular figure and child rect. figure inside it.

My question is - how the child node is getting created, when
I am selecting it from pallete and clicking on parent (rect.) figure?

I have also tried to run the application in debug mode, but were
unable to detect the entry point.

Please help.

Regards,
Manoj
Re: child node creation [message #210429 is a reply to message #210381] Wed, 05 November 2008 12:13 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: manojm.blr.interrasystems.com

Hi! All,

With previous query, I want to add one more.
Using DnD, I want to create one child node under parent.
Could you please suggest - which EditPolicy should I install?

Regards,
Manoj

Manoj Mitra wrote:
> Hi! All,
>
> Using GMF, I have created one Editor. Where I am able to draw a
> rectangular figure and child rect. figure inside it.
>
> My question is - how the child node is getting created, when
> I am selecting it from pallete and clicking on parent (rect.) figure?
>
> I have also tried to run the application in debug mode, but were
> unable to detect the entry point.
>
> Please help.
>
> Regards,
> Manoj
Re: child node creation [message #210469 is a reply to message #210381] Wed, 05 November 2008 18:45 Go to previous messageGo to next message
Tatiana Fesenko is currently offline Tatiana FesenkoFriend
Messages: 530
Registered: July 2009
Senior Member
Hello Manoj,

<Child>CreateCommand is used to create a node. The command is created in
<Parent> ItemSemanticEditPolicy#getCreateCommand(CreateElementRequest ).

Best wishes,
Tanya.

> Hi! All,
>
> Using GMF, I have created one Editor. Where I am able to draw a
> rectangular figure and child rect. figure inside it.
>
> My question is - how the child node is getting created, when I am
> selecting it from pallete and clicking on parent (rect.) figure?
>
> I have also tried to run the application in debug mode, but were
> unable to detect the entry point.
>
> Please help.
>
> Regards,
> Manoj
Re: child node creation [message #210514 is a reply to message #210469] Thu, 06 November 2008 04:16 Go to previous message
Eclipse UserFriend
Originally posted by: manojm.blr.interrasystems.com

Thanks Tanya,

Regards,
Manoj

Tatiana Fesenko wrote:
> Hello Manoj,
>
> <Child>CreateCommand is used to create a node. The command is created in
> <Parent> ItemSemanticEditPolicy#getCreateCommand(CreateElementRequest ).
>
> Best wishes,
> Tanya.
>
>> Hi! All,
>>
>> Using GMF, I have created one Editor. Where I am able to draw a
>> rectangular figure and child rect. figure inside it.
>>
>> My question is - how the child node is getting created, when I am
>> selecting it from pallete and clicking on parent (rect.) figure?
>>
>> I have also tried to run the application in debug mode, but were
>> unable to detect the entry point.
>>
>> Please help.
>>
>> Regards,
>> Manoj
>
>
>
Previous Topic:[Announce] GMF 2.2.0 I200811051822 is available
Next Topic:policy troubles
Goto Forum:
  


Current Time: Thu Mar 28 08:24:09 GMT 2024

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

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

Back to the top