Package org.rssowl.ui.internal.OwlUI

Examples of org.rssowl.ui.internal.OwlUI.PageSize


      changed = true;
    }

    /* Page Size */
    iVal = fPageSizeCombo.getSelectionIndex();
    PageSize size = PageSize.values()[iVal];
    if (fPrefSelectedPageSize != size.getPageSize()) {
      scope.putInteger(DefaultPreferences.NEWS_BROWSER_PAGE_SIZE, size.getPageSize());
      changed = true;
    }

    /* Find out if any other display properties changed */
    boolean otherDisplayChanges = false;
View Full Code Here


      fGlobalScope.putInteger(DefaultPreferences.FV_LAYOUT, iVal);
      layoutChange = true;
    }

    iVal = fPageSizeCombo.getSelectionIndex();
    PageSize size = PageSize.values()[iVal];
    if (fGlobalScope.getInteger(DefaultPreferences.NEWS_BROWSER_PAGE_SIZE) != size.getPageSize())
      fGlobalScope.putInteger(DefaultPreferences.NEWS_BROWSER_PAGE_SIZE, size.getPageSize());

    fGlobalScope.putBoolean(DefaultPreferences.BM_OPEN_SITE_FOR_NEWS, fOpenLinkOfNewsRadio.getSelection());
    fGlobalScope.putBoolean(DefaultPreferences.BM_OPEN_SITE_FOR_EMPTY_NEWS, fOpenSiteForEmptyNewsCheck.getSelection());
    fGlobalScope.putBoolean(DefaultPreferences.ENABLE_IMAGES, fLoadImagesForNewsCheck.getSelection());
    fGlobalScope.putBoolean(DefaultPreferences.ENABLE_MEDIA, fLoadMediaForNewsCheck.getSelection());
View Full Code Here

    viewMenu.addMenuListener(new IMenuListener() {
      public void menuAboutToShow(IMenuManager manager) {
        final FeedView activeFeedView = OwlUI.getActiveFeedView();
        final IPreferenceScope entityPreferences = OwlUI.getActiveFeedViewPreferences();
        final Layout layout = OwlUI.getLayout(entityPreferences != null ? entityPreferences : globalPreferences);
        final PageSize pageSize = OwlUI.getPageSize(entityPreferences != null ? entityPreferences : globalPreferences);

        manager.add(new GroupMarker(M_VIEW_START));

        /* Layout */
        MenuManager layoutMenu = new MenuManager(Messages.ApplicationActionBarAdvisor_LAYOUT);
View Full Code Here

TOP

Related Classes of org.rssowl.ui.internal.OwlUI.PageSize

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.