public void everythingFinishedImpl()

in src/com/intellij/vssSupport/commands/UndocheckoutFilesCommand.java [124:145]


    public void everythingFinishedImpl( final String output )
    {
      if( output.indexOf( CHECKED_OUT_MESSAGE ) != -1 )
          myErrors.add( new VcsException( VssBundle.message("message.text.file.not.checked.out", fileName ) ));
      else 
      if( output.indexOf( NOT_EXISTING_MESSAGE ) != -1 )
        myErrors.add( new VcsException( VssBundle.message("message.text.path.is.not.existing.filename.or.project", fileName ) ));
      else
      if( output.indexOf( DELETED_MESSAGE )!= -1 )
        myErrors.add( new VcsException( VssBundle.message("message.text.cannot.undo.file.deleted", fileName) ));
      else
      if( output.indexOf( NOT_FROM_CURRENT_MESSAGE )!= -1)
        myErrors.add( new VcsException( VssBundle.message("message.text.cannot.undo.checked.out.not.from.current", fileName) ));
      else
      if( output.indexOf( UNDO_CHECKOUT_CONF_MESSAGE )!= -1)
        needToAsk = true;
      else
      if( VssUtil.EXIT_CODE_SUCCESS == getExitCode() || VssUtil.EXIT_CODE_WARNING == getExitCode() )
        VssUtil.showStatusMessage( myProject, VssBundle.message("message.text.undo.successfully", fileName ));
      else
        myErrors.add( new VcsException( output ));
    }