Package org.rssowl.ui.internal.dialogs

Examples of org.rssowl.ui.internal.dialogs.PreviewFeedDialog.open()


          IBookMark bookmark = (IBookMark) element;
          IFeed loadedFeed = fLoadedFeedCache.get(bookmark.getFeedLinkReference().getLink());

          PreviewFeedDialog dialog = new PreviewFeedDialog(getShell(), bookmark, loadedFeed);
          dialog.setBlockOnOpen(false);
          dialog.open();

          if (offset != 0) {
            Point location = dialog.getShell().getLocation();
            dialog.getShell().setLocation(location.x + offset, location.y + offset);
          }
View Full Code Here


          IBookMark bookmark = (IBookMark) element;
          IFeed loadedFeed = fLoadedFeedCache.get(bookmark.getFeedLinkReference().getLink());

          PreviewFeedDialog dialog = new PreviewFeedDialog(getShell(), bookmark, loadedFeed);
          dialog.setBlockOnOpen(false);
          dialog.open();

          if (offset != 0) {
            Point location = dialog.getShell().getLocation();
            dialog.getShell().setLocation(location.x + offset, location.y + offset);
          }
View Full Code Here

        if (element instanceof IBookMark) {
          IBookMark bookmark = (IBookMark) element;

          PreviewFeedDialog dialog = new PreviewFeedDialog(getShell(), bookmark, bookmark.getFeedLinkReference());
          dialog.setBlockOnOpen(false);
          dialog.open();

          if (offset != 0) {
            Point location = dialog.getShell().getLocation();
            dialog.getShell().setLocation(location.x + offset, location.y + offset);
          }
View Full Code Here

      if (firstElement instanceof BookMarkTask) {
        IBookMark bookmark = ((BookMarkTask) firstElement).getMark();

        PreviewFeedDialog dialog = new PreviewFeedDialog(getShell(), bookmark, bookmark.getFeedLinkReference());
        dialog.setBlockOnOpen(false);
        dialog.open();
      }
    }
  }

  private void onSelect(SelectionEvent e) {
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.