* @param searchFeed serach feed.
*/
private void showSearchFeedProperties(final SearchFeed searchFeed)
{
GlobalController controller = GlobalController.SINGLETON;
SearchFeedPropertiesDialog dialog =
new SearchFeedPropertiesDialog(searchFeed, controller.getMainFrame());
int articlesLimit = searchFeed.getArticlesLimit();
String title = searchFeed.getBaseTitle();
Query query = searchFeed.getQuery();
boolean dedupEnabled = searchFeed.isDedupEnabled();
int dedupFrom = searchFeed.getDedupFrom();
int dedupTo = searchFeed.getDedupTo();
if (dialog.open(title, query, articlesLimit, dedupEnabled, dedupFrom, dedupTo))
{
final String feedTitle = dialog.getFeedTitle();
final Query feedSearchQuery = dialog.getFeedSearchQuery();
final int feedArticlesLimit = dialog.getFeedArticlesLimit();
final boolean feedDedupEnabled = dialog.isDedupEnabled();
final int feedDedupFrom = dialog.getDedupFrom();
final int feedDedupTo = dialog.getDedupTo();
new SetSearchFeedProperties(searchFeed, feedTitle,
feedSearchQuery, feedArticlesLimit,
feedDedupEnabled, feedDedupFrom, feedDedupTo).start();
}