Package com.eviware.soapui.integration.exporter

Examples of com.eviware.soapui.integration.exporter.ProjectExporter


  }

  @Override
  public void perform( WsdlProject project, Object param )
  {
    ProjectExporter exporter = new ProjectExporter( project );

    try
    {
      String path = project.getPath();
      if( path == null )
      {
        project.save();
      }
      else
      {
        File file = UISupport.getFileDialogs().saveAs( this, "Select file to export project", "zip", "zip",
            new File( System.getProperty( "user.home" ) ) );
        if( file == null )
          return;

        String fileName = file.getAbsolutePath();
        if( fileName == null )
          return;

        exporter.exportProject( fileName );
      }
    }
    catch( Exception e1 )
    {
      UISupport.showErrorMessage( "Failed to export project; " + e1 );
View Full Code Here


        super("Export Project", "Export Project");
    }

    @Override
    public void perform(WsdlProject project, Object param) {
        ProjectExporter exporter = new ProjectExporter(project);

        try {
            String path = project.getPath();
            if (path == null) {
                project.save();
            } else {
                File file = UISupport.getFileDialogs().saveAs(this, "Select file to export project", "zip", "zip",
                        new File(System.getProperty("user.home")));
                if (file == null) {
                    return;
                }

                String fileName = file.getAbsolutePath();
                if (fileName == null) {
                    return;
                }

                exporter.exportProject(fileName);
            }
        } catch (Exception e1) {
            SoapUI.logError(e1, "Failed to export project");
            UISupport.showErrorMessage("Failed to export project; " + e1);
        }
View Full Code Here

TOP

Related Classes of com.eviware.soapui.integration.exporter.ProjectExporter

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.