Examples of run()


Examples of org.rssowl.ui.internal.actions.OpenNewsAction.run()

    else {
      INews news = fNewsReference.resolve();
      if (news != null) {
        OpenNewsAction action = new OpenNewsAction(new StructuredSelection(news));
        action.setRestoreWindow(true);
        action.run();
      }
    }
  }

  /*
 
View Full Code Here

Examples of org.rssowl.ui.internal.actions.RedoAction.run()

      }

        /* Redo */
      case REDO: {
        RedoAction action = new RedoAction();
        action.run();
        break;
      }

        /* Search */
      case SEARCH: {
View Full Code Here

Examples of org.rssowl.ui.internal.actions.ReloadAllAction.run()

        /* Update All */
      case UPDATE_ALL: {
        ReloadAllAction action = new ReloadAllAction();
        action.init(fWindow);
        action.run(null);
        break;
      }

        /* Update */
      case UPDATE: {
View Full Code Here

Examples of org.rssowl.ui.internal.actions.ReloadTypesAction.run()

        /* Update */
      case UPDATE: {
        IStructuredSelection activeSelection = OwlUI.getActiveSelection();
        ReloadTypesAction action = new ReloadTypesAction(activeSelection, fWindow.getShell());
        action.run(null);

        break;
      }

        /* Stop */
 
View Full Code Here

Examples of org.rssowl.ui.internal.actions.SearchFeedsAction.run()

        /* Find more Feeds */
      case FIND_MORE_FEEDS: {
        SearchFeedsAction action = new SearchFeedsAction();
        action.init(fWindow);
        action.run(null);
        break;
      }

        /* Downloads & Activity */
      case ACTIVITIES: {
View Full Code Here

Examples of org.rssowl.ui.internal.actions.SearchNewsAction.run()

        /* Search */
      case SEARCH: {
        SearchNewsAction action = new SearchNewsAction();
        action.init(fWindow);
        action.run(null);
        break;
      }

        /* Update All */
      case UPDATE_ALL: {
View Full Code Here

Examples of org.rssowl.ui.internal.actions.SendLinkAction.run()

                @Override
                public void run() {
                  if (SendLinkAction.ID.equals(provider.getId())) {
                    IActionDelegate action = new SendLinkAction();
                    action.selectionChanged(null, selection);
                    action.run(null);
                  } else {
                    IBookMark bookmark = getBookMark(selection);
                    if (bookmark != null) {
                      String shareLink = provider.toShareUrl(bookmark);
                      new OpenInBrowserAction(new StructuredSelection(shareLink)).run();
View Full Code Here

Examples of org.rssowl.ui.internal.actions.ShowActivityAction.run()

        /* Downloads & Activity */
      case ACTIVITIES: {
        ShowActivityAction action = new ShowActivityAction();
        action.init(fWindow);
        action.run(null);
        break;
      }

        /* Preferences */
      case PREFERENCES: {
View Full Code Here

Examples of org.rssowl.ui.internal.actions.SortByNameAction.run()

  public Object execute(ExecutionEvent event) {
    IStructuredSelection activeSelection = OwlUI.getActiveSelection();

    SortByNameAction action = new SortByNameAction();
    action.selectionChanged(null, activeSelection);
    action.run(null);

    return null; //As per JavaDoc
  }
}
View Full Code Here

Examples of org.rssowl.ui.internal.actions.ToggleReadStateAction.run()

      case MARK_READ: {
        IStructuredSelection selection = OwlUI.getActiveFeedViewSelection();
        if (selection != null && !selection.isEmpty()) {
          ToggleReadStateAction action = new ToggleReadStateAction(selection);
          action.init(fWindow);
          action.run();
        }
        break;
      }

        /* Mark All Read */
 
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.