Package org.rssowl.ui.internal.dialogs.importer

Examples of org.rssowl.ui.internal.dialogs.importer.ImportWizard


   * @param website a link to a website to discover feeds on.
   * @param isKeywordSearch defines if the keyword search should be selected or
   * not.
   */
  public void openWizard(Shell shell, final String website, boolean isKeywordSearch) {
    final ImportWizard importWizard = new ImportWizard(website, isKeywordSearch);
    CustomWizardDialog dialog = new CustomWizardDialog(shell, importWizard) {

      @Override
      protected boolean isResizable() {
        return true;
      }

      @Override
      public int open() {
        if (StringUtils.isSet(website))
          importWizard.getContainer().showPage(importWizard.getNextPage(getCurrentPage()));

        return super.open();
      }

      @Override
View Full Code Here


  public void openWizardForFileImport(Shell shell, IFolder targetFolder, String file) {
    internalOpenWizard(shell, targetFolder, file, false, false);
  }

  private void internalOpenWizard(Shell shell, IFolder targetFolder, final String fileOrWebsite, boolean isKeywordSearch, final boolean isWebsiteSearch) {
    final ImportWizard importWizard = new ImportWizard(targetFolder, fileOrWebsite, isKeywordSearch);
    CustomWizardDialog dialog = new CustomWizardDialog(shell, importWizard) {

      @Override
      protected boolean isResizable() {
        return true;
      }

      @Override
      public int open() {
        if (StringUtils.isSet(fileOrWebsite) && isWebsiteSearch)
          importWizard.getContainer().showPage(importWizard.getNextPage(getCurrentPage()));

        return super.open();
      }

      @Override
View Full Code Here

TOP

Related Classes of org.rssowl.ui.internal.dialogs.importer.ImportWizard

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.