Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » how to invoke an action using create request
how to invoke an action using create request [message #18317] Tue, 15 August 2006 06:13 Go to next message
Eclipse UserFriend
Originally posted by: netsrujana.rediffmail.com

Hi,

How can I invoke an action, something similar to CreateChildAction to open a
dialog before creation of a child using create request.

regards,
Phani
Re: how to invoke an action using create request [message #19847 is a reply to message #18317] Tue, 15 August 2006 14:09 Go to previous messageGo to next message
Eclipse UserFriend
Hello Phani,

Take a look on CreationEditPolicy.getUnspecifiedTypeCreateCommand() this
EditPolicy will open dialog if createCmds.size() > 1.

You can override this method in an EdutPolicy installed on the desired element
to show different dialog at this moment.

-----------------
Alex Shatalin
Re: how to invoke an action using create request [message #20692 is a reply to message #19847] Wed, 16 August 2006 08:48 Go to previous message
Eclipse UserFriend
Originally posted by: netsrujana.rediffmail.com

Hi Alex,

thank very much, I think this will work for me. I will post once I am done
implementing the same.

regards,
Phani Kumar K.
"Alex Shatalin" <vano@borland.com> wrote in message
news:cd695fb310e778c88ebdea451048@news.eclipse.org...
> Hello Phani,
>
> Take a look on CreationEditPolicy.getUnspecifiedTypeCreateCommand() this
> EditPolicy will open dialog if createCmds.size() > 1.
> You can override this method in an EdutPolicy installed on the desired
> element to show different dialog at this moment.
>
> -----------------
> Alex Shatalin
>
>
Previous Topic:When will gmf2.0 be released
Next Topic:GMF Tutorial: shortcuts between mindmaps don't seem to work...
Goto Forum:
  


Current Time: Sun Apr 27 01:09:56 EDT 2025

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

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

Back to the top