| [news.eclipse.modeling.gmf] Re: Wizard launch |
Hi Charles,
I suppose it should look like this:
MyWizard wizard = new MyWizard();
if ( dialog.open() == Window.OK ) {
//
}Regards, Peter
I want to launch a wizard when a button is selected. My button is defined in a Section of my properties view. Can you tell me which code I need to execute to launch the wizard ?
My wizard is a copy/paste of the example here : http://www.vogella.de/articles/RichClientPlatform/article.html#wizards
Button createConnectorButton = getWidgetFactory().createButton(composite, Messages.ConnectorsSection_Add_Connector, SWT.PUSH);
createConnectorButton.addSelectionListener(new SelectionAdapter(){
public void widgetSelected(SelectionEvent event) {
?????
}
);
Regards
Charles