public NewPodcastAction(Shell shell) {
_shell = shell;
}
public void run() {
PodcastAdderWizard wizard = new PodcastAdderWizard();
WizardDialog wizardDialog = new WizardDialog(_shell, wizard);
wizardDialog.setPageSize(500, 100);
if (wizardDialog.open() == Dialog.OK) {
Log.getInstance(NewPodcastAction.class).debug("Adding podcast " + wizard.getPodcastName() + " (" + wizard.getPodcastUrl() + ")."); //$NON-NLS-1$ //$NON-NLS-2$
Controller.getInstance().getPlaylistController().addPodcast(wizard.getPodcastName(), wizard.getPodcastUrl());
}
}