Examples of ImportWizard


Examples of name.abuchen.portfolio.ui.wizards.datatransfer.ImportWizard

        String fileName = fileDialog.open();

        if (fileName == null)
            return;

        Dialog wizwardDialog = new WizardDialog(shell, new ImportWizard(client, new File(fileName)));
        if (wizwardDialog.open() == Dialog.OK)
            portfolioPart.notifyModelUpdated();
    }
View Full Code Here

Examples of net.sf.myway.edit.ui.wizards.ImportWizard

   *
   * @see IWorkbenchWindowActionDelegate#run
   */
  @Override
  public void run(final IAction action) {
    final ImportWizard w = new ImportWizard();
    w.init(_window.getWorkbench(), null);
    final WizardDialog dialog = new WizardDialog(_window.getShell(), w);
    dialog.create();
    dialog.open();
  }
View Full Code Here

Examples of org.apache.sling.ide.eclipse.ui.wizards.ImportWizard

        if (module == null) {
            return;
        }

        ImportWizard wiz = new ImportWizard();
        IResource resource = node.getResourceForImportExport();
        if (resource==null) {
            return;
        }
        IStructuredSelection selection = new StructuredSelection(resource);
        wiz.init(PlatformUI.getWorkbench(), selection);

        WizardDialog dialog = new WizardDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell(), wiz);
        dialog.open();
  }
View Full Code Here

Examples of org.apache.sling.ide.eclipse.ui.wizards.ImportWizard

                if (module == null) {
                    continue;
                }

                ImportWizard wiz = new ImportWizard();
                wiz.init(PlatformUI.getWorkbench(), structuredSelection);

                WizardDialog dialog = new WizardDialog(PlatformUI.getWorkbench().getDisplay().getActiveShell(), wiz);
                dialog.open();

            }
View Full Code Here

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

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

  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
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.