314315316317318319320321322323324
GlobalController controller = GlobalController.SINGLETON; if (controller != null) { // EDT !!! controller.selectGuide(aSelectedGuide, false); controller.selectFeed(aSelectedFeed); } } /** * Performs changes.
119120121122123124125126127128
GlobalController aController = GlobalController.SINGLETON; IGuide[] guides = aFeed.getParentGuides(); if (guides.length != 0) { aController.selectGuide(GlobalController.chooseBestGuide(guides), false); aController.selectFeed(aFeed, true); } } } }
8788899091929394959697
{ IGuide[] guides = feed.getParentGuides(); IGuide guide = guides.length > 0 ? guides[0] : null; if (guide != null) controller.selectGuide(guide, false); } controller.selectFeed(feed, true); } } /** * Returns the URL from clipboard or <code>NULL</code> if there's no URL in the clipboard.
7374757677787980818283
// EDT !!! IGuide[] guides = hoveredFeed.getParentGuides(); if (guides.length != 0) { controller.selectGuide(GlobalController.chooseBestGuide(guides), false); controller.selectFeed(hoveredFeed, true); } } } /**
118119120121122123124125126127128
feed.setCustomViewModeEnabled(dialog.isCustomViewModeEnabled()); feed.setCustomViewMode(dialog.getViewMode()); dialog.commitAutoSaveProperties(feed); controller.selectFeed(feed, true); } } } /**
8586878889909192
public void actionPerformed(ActionEvent e) { GlobalController controller = GlobalController.SINGLETON; QueryFeed feed = controller.createQueryFeed(null, queryname, QueryType.TYPE_TWITTER, queryparam, 30); controller.selectFeed(feed, true); } }
114115116117118119120121122123124
} // EDT !!! controller.selectGuide(guide, false); IFeed feed = controller.createDirectFeed(urls, false); if (feed != null) controller.selectFeed(feed); if (publishingEnabled) controller.showNewPublishingDialog(); } } }