private IPreferenceScope fGlobalScope;
private int fVisibleNewsCount;
NotificationPopup(int visibleNewsCount) {
super(new Shell(PlatformUI.getWorkbench().getDisplay()), PopupDialog.INFOPOPUP_SHELLSTYLE | SWT.ON_TOP, false, false, false, false, null, null);
fResources = new LocalResourceManager(JFaceResources.getResources());
fMapFeedToBookmark = new HashMap<FeedLinkReference, IBookMark>();
fBoldTextFont = OwlUI.getThemeFont(OwlUI.NOTIFICATION_POPUP_FONT_ID, SWT.BOLD);
fGlobalScope = Owl.getPreferenceService().getGlobalScope();
fVisibleNewsCount = (visibleNewsCount > MAX_NEWS) ? MAX_NEWS : visibleNewsCount;
createAutoCloser();