*
* @return <code>TRUE</code> to continue with action.
*/
protected boolean beforeFork()
{
CleanupWizardDialog dialog = new CleanupWizardDialog(
GlobalController.SINGLETON.getMainFrame(),
GlobalModel.SINGLETON.getGuidesSet(),
GlobalModel.SINGLETON.getScoreCalculator());
dialog.open();
final boolean isRunCleanPressed = !dialog.hasBeenCanceled();
if (isRunCleanPressed)
{
feeds = dialog.getFeedsToRemove();
purgeLimit = dialog.getPurgeLimit();
articlesToDelete = dialog.getArticlesToDelete();
}
return isRunCleanPressed;
}