Package com.eviware.x.impl.swing

Examples of com.eviware.x.impl.swing.SwingDialogs


      {
        workspace = WorkspaceFactory.getInstance().openWorkspace( wsfile, projectOptions );
      }
      catch( Exception e )
      {
        UISupport.setDialogs( new SwingDialogs( null ) );
        if( UISupport
            .confirm( "Failed to open workspace: [" + e.toString() + "], create new one instead?", "Error" ) )
        {
          new File( wsfile ).renameTo( new File( wsfile + ".bak" ) );
          workspace = WorkspaceFactory.getInstance().openWorkspace( wsfile, projectOptions );
View Full Code Here


   * @param frame
   */
  public static void setMainFrame( Component frame )
  {
    UISupport.frame = frame;
    setDialogs( new SwingDialogs( frame ) );
    setFileDialogs( new SwingFileDialogs( frame ) );
  }
View Full Code Here

            String workspaceFile = soapUICore.getSettings().getString(CURRENT_SOAPUI_WORKSPACE,
                    System.getProperty("user.home") + File.separatorChar + DEFAULT_WORKSPACE_FILE);
            try {
                workspace = WorkspaceFactory.getInstance().openWorkspace(workspaceFile, projectOptions);
            } catch (Exception e) {
                UISupport.setDialogs(new SwingDialogs(null));
                if (UISupport
                        .confirm("Failed to open workspace: [" + e.toString() + "], create new one instead?", "Error")) {
                    new File(workspaceFile).renameTo(new File(workspaceFile + ".bak"));
                    workspace = WorkspaceFactory.getInstance().openWorkspace(workspaceFile, projectOptions);
                } else {
View Full Code Here

     *
     * @param frame
     */
    public static void setMainFrame(Component frame) {
        UISupport.frame = frame;
        setDialogs(new SwingDialogs(frame));
        setFileDialogs(new SwingFileDialogs(frame));
    }
View Full Code Here

TOP

Related Classes of com.eviware.x.impl.swing.SwingDialogs

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.