Examples of CBrowser


Examples of org.rssowl.ui.internal.util.CBrowser

   * showing the contents of a website and <code>false</code> otherwise.
   */
  public boolean isBrowserShowingNews() {
    if (fNewsBrowserControl != null && fNewsBrowserControl.getViewer() != null) {
      if (isBrowserViewerVisible()) {
        CBrowser browser = fNewsBrowserControl.getViewer().getBrowser();
        if (browser != null && browser.getControl() != null && !browser.getControl().isDisposed()) {
          String url = browser.getControl().getUrl();
          return StringUtils.isSet(url) && ApplicationServer.getDefault().isNewsServerUrl(url);
        }
      }
    }

View Full Code Here

Examples of org.rssowl.ui.internal.util.CBrowser

   * @param style the style of the {@link Browser} in this viewer.
   * @param site the {@link IFeedViewSite} if this viewer is being used from a
   * {@link FeedView} or <code>null</code> otherwise.
   */
  public NewsBrowserViewer(Composite parent, int style, IFeedViewSite site) {
    fBrowser = new CBrowser(parent, style);
    fBrowser.setCanOpenLinksInTabs(true);
    fViewModel = new NewsBrowserViewModel(this);
    fSite = site;
    fIsEmbedded = (fSite != null);
    hookControl(fBrowser.getControl());
View Full Code Here

Examples of org.rssowl.ui.internal.util.CBrowser

      }
    });
  }

  private void createBrowser(Composite parent) {
    fBrowser = new CBrowser(parent, SWT.NONE);
    if (fInput.getUrl() != null)
      fBrowser.setUrl(fInput.getUrl());
    if (StringUtils.isSet(fInput.getUrl()) && !URIUtils.ABOUT_BLANK.equals(fInput.getUrl()))
      setBusy(true);
    fBrowser.getControl().setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.