_shell = shell;
_itemParent = itemParent;
}
public void run() {
RadioAdderWizard wizard = new RadioAdderWizard(_itemParent);
WizardDialog wizardDialog = new WizardDialog(_shell, wizard);
wizardDialog.setPageSize(500, 100);
if (wizardDialog.open() == Dialog.OK) {
Log.getInstance(NewRadioAction.class).debug("Adding radio " + wizard.getRadioName() + " (" + wizard.getRadioUrl() + ") in category " + wizard.getCategoryName() + "."); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
Controller.getInstance().getRadioController().addRadio(wizard.getCategoryName(), wizard.getRadioName(), wizard.getRadioUrl());
Controller.getInstance().getEventController().fireRadioChange(EventConstants.EVT_RADIO_ADD, null, null);
}
}