Examples of open()


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

              preferences.putBoolean(DefaultPreferences.SHOW_TOOLBAR, true);
            }

            /* Open Dialog to Customize Toolbar */
            CustomizeToolbarDialog dialog = new CustomizeToolbarDialog(getActionBarConfigurer().getWindowConfigurer().getWindow().getShell());
            if (dialog.open() == IDialogConstants.OK_ID)
              fCoolBarAdvisor.advise(true);
          }
        });

        /* Fullscreen Mode */
 
View Full Code Here

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

          ApplicationWorkbenchAdvisor.fgPrimaryApplicationWorkbenchWindowAdvisor.getWindowConfigurer().getWorkbenchConfigurer().emergencyClose();

          /* Inform the User */
          IStatus errorStatus = new Status(IStatus.ERROR, "org.rssowl.ui", IStatus.ERROR, error.getMessage(), error); //$NON-NLS-1$
          FatalOutOfMemoryErrorDialog dialog = new FatalOutOfMemoryErrorDialog(errorStatus);
          if (dialog.open() == IDialogConstants.HELP_ID)
            Program.launch("http://www.rssowl.org/help#item_6g"); //$NON-NLS-1$;
        }

        /* Serious problem - Exit (gives Shutdown Hook a chance to run) */
        catch (Error err) {
View Full Code Here

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

    fMoveDownButton.setEnabled(enableMoveDown);
  }

  private void onAdd() {
    LabelDialog dialog = new LabelDialog(getShell(), DialogMode.ADD, null);
    if (dialog.open() == IDialogConstants.OK_ID) {
      String name = dialog.getName();
      RGB color = dialog.getColor();

      ILabel newLabel = Owl.getModelFactory().createLabel(null, name);
      newLabel.setColor(OwlUI.toString(color));
View Full Code Here

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

            if (fShuttingDown || monitor.isCanceled())
              return;

            /* Show Login Dialog */
            LoginDialog login = new LoginDialog(shell, feedLink);
            if (login.open() == Window.OK && !fShuttingDown)
              reloadQueued(bookmark, shell);

            /* Update Error Flag if user hit Cancel */
            else if (!fShuttingDown && !monitor.isCanceled() && !bookmark.isErrorLoading()) {
              bookmark.setErrorLoading(true);
View Full Code Here

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

          @Override
          public void run() {
            ManageSetsDialog instance = ManageSetsDialog.getVisibleInstance();
            if (instance == null) {
              ManageSetsDialog dialog = new ManageSetsDialog(fViewSite.getShell(), fSelectedBookMarkSet);
              dialog.open();
            } else {
              instance.getShell().forceActive();
            }
          }
        };
View Full Code Here

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

    final Shell activeShell = OwlUI.getActiveShell();

    JobRunner.runSyncedInUIThread(activeShell, new Runnable() {
      public void run() {
        MasterPasswordDialog dialog = new MasterPasswordDialog(activeShell, passwordType);
        if (dialog.open() == IDialogConstants.OK_ID) {
          String masterPassword = dialog.getMasterPassword();
          String internalPassword;

          /* Try using digest of what was entered */
          try {
View Full Code Here

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

      Collection<ISearchFilter> existingFilters = DynamicDAO.loadAll(ISearchFilter.class);
      if (existingFilters != null && !existingFilters.isEmpty())
        dialog.setFilterPosition(existingFilters.size());

      if (dialog.open() == IDialogConstants.OK_ID) {
        NewsFiltersListDialog filterListDialog = NewsFiltersListDialog.getVisibleInstance();
        if (filterListDialog == null) {
          filterListDialog = new NewsFiltersListDialog(shell);
          filterListDialog.setSelection(dialog.getFilter());
          filterListDialog.open();
View Full Code Here

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

      public void widgetSelected(SelectionEvent e) {
        NewsFiltersListDialog dialog = NewsFiltersListDialog.getVisibleInstance();
        if (dialog == null) {
          dialog = new NewsFiltersListDialog(getShell());
          dialog.setBlockOnOpen(false);
          dialog.open();
        } else {
          dialog.getShell().forceActive();
          if (dialog.getShell().getMinimized())
            dialog.getShell().setMinimized(false);
        }
View Full Code Here

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

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

        break;
    }

    /* Create and Show SM Dialog */
    SearchMarkDialog dialog = new SearchMarkDialog(fParent.getShell(), OwlUI.getBookMarkExplorerSelection(), null, conditions, true);
    dialog.open();
  }

  void doFilter(final NewsFilter.Type type, boolean refresh, boolean saveSettings) {
    fFeedView.getFilter().setType(type);
    fFilterLabel.setText(type.getName());
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.