|How to call myAction when pressing the Next Button of myWizardPage [message #1015703]
||Fri, 01 March 2013 20:13
| sabrina ing
Registered: February 2013
I have implemented a popup menu using actions in the view of the Model Explorer when
creating a papyrus Model.I have defined the actions in plugin.xmland they are working
I have implemented also wizardsPages.
I want to know how to call myAction which implements IObjectActionDelegate when
pressing the NEXT button of wizard.
I would be very grateful if you help me.
Thanks in advance.
[Updated on: Sat, 02 March 2013 11:30]
Report message to a moderator
|Re: How to call myAction when pressing the Next Button of myWizardPage [message #1015767 is a reply to message #1015703]
||Sat, 02 March 2013 13:54
| Christian W. Damus
Registered: July 2009
I don't understand the question. Action delegates are the old way of
contributing actions to menus. They have nothing to do with wizards.
If you want to reuse the bahviour of some action delegate in a wizard,
you can probably just instantiate the action delegate class and invoke
it. Or you can factor out the action delegate's behaviour into some
more conveniently shareable form.
Or is the problem simply that you don't know how to intercept the
user's press on the Next button? That's not a question for this forum.
It's a question for the general Eclipse UI forum. I don't know that a
wizard even has access to the buttons of its container (the wizard
On 2013-03-01 20:13:33 +0000, Mariem Makni said:
> I have implemented a popup menu using actions in the view of the Model
> Explorer when
> creating a papyrus Model.I have defined the actions in plugin.xmland
> they are working
> label="Generate Model"
> I have implemented also wizardsPages.
> I want to know how to call myAction which implements IObjectActionDelegate when
> pressing the NEXT button of wizard.
> I would be very grateful if you help me.
> Thanks in advance.
> Best Regards
Powered by FUDForum
. Page generated in 0.03447 seconds