drools-eclipse/org.guvnor.tools/src/org/guvnor/tools/actions/EditConnectionAction.java
public void run(IAction action) {
        EditRepLocationWizard editWizard = new EditRepLocationWizard(rep);
        editWizard.init(Activator.getDefault().getWorkbench(), null);
        WizardDialog dialog =
            new WizardDialog(Display.getCurrent().getActiveShell(), editWizard);
        dialog.create();
        dialog.open();

    }
public void run(IAction action) {
        EditRepLocationWizard editWizard = new EditRepLocationWizard(rep);
        editWizard.init(Activator.getDefault().getWorkbench(), null);
        WizardDialog dialog =
            new WizardDialog(Display.getCurrent().getActiveShell(), editWizard);
        dialog.create();
        dialog.open();

    }
public void run ( IAction action ) { EditRepLocationWizard editWizard = new EditRepLocationWizard ( rep ) ; editWizard . init ( Activator . getDefault ( ) . getWorkbench ( ) , null ) ; WizardDialog dialog = new WizardDialog ( Display . getCurrent ( ) . getActiveShell ( ) , editWizard ) ; dialog . create ( ) ; dialog . open ( ) ; }
/*
(non-Javadoc)
@see org.eclipse.ui.IActionDelegate#run(org.eclipse.jface.action.IAction)
/ * ( non - Javadoc )