org.sourcejammer.client.gui.process
Class ProcessUtil

java.lang.Object
  |
  +--org.sourcejammer.client.gui.process.ProcessUtil

public class ProcessUtil
extends java.lang.Object

Title: $FileName: ProcessUtil.java$

Version:
$VerNum: 9$

$Description: $. $KeyWordsOff: $
Author:
$AuthorName: Rob MacGrogan$

Nested Class Summary
private static class ProcessUtil.DifferentDirResponse
           
 
Field Summary
private static int CHECKIN
           
private static int CHECKIN_ALL
           
private static int SKIP
           
private static int UNDO_ALL
           
private static int UNDO_CHECKOUT
           
 
Constructor Summary
private ProcessUtil()
           
 
Method Summary
private static boolean isTargetCheckOutPath(org.sourcejammer.project.view.NodeInfo fileNode, java.io.File targetDirectory)
           
static boolean processFileCheckIn(CheckInFilesProcessInfo info, int fileNumber)
           
static boolean processFileCheckIn(CheckInFilesProcessInfo info, int fileNumber, org.sourcejammer.util.RepeatingResponse repeating, org.sourcejammer.project.view.SJRequest request)
          Processes check in.
private static int showFileUnchangedDialog(java.lang.String fileName)
           
private static int showWrongTargetPathDialog(org.sourcejammer.project.view.NodeInfo fileNode, java.lang.String targetPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

UNDO_CHECKOUT

private static final int UNDO_CHECKOUT
See Also:
Constant Field Values

CHECKIN

private static final int CHECKIN
See Also:
Constant Field Values

SKIP

private static final int SKIP
See Also:
Constant Field Values

UNDO_ALL

private static final int UNDO_ALL
See Also:
Constant Field Values

CHECKIN_ALL

private static final int CHECKIN_ALL
See Also:
Constant Field Values
Constructor Detail

ProcessUtil

private ProcessUtil()
Method Detail

processFileCheckIn

public static boolean processFileCheckIn(CheckInFilesProcessInfo info,
                                         int fileNumber)
                                  throws java.io.IOException,
                                         org.sourcejammer.util.SourceJammerConnectionException,
                                         GUICommandException
java.io.IOException
org.sourcejammer.util.SourceJammerConnectionException
GUICommandException

processFileCheckIn

public static boolean processFileCheckIn(CheckInFilesProcessInfo info,
                                         int fileNumber,
                                         org.sourcejammer.util.RepeatingResponse repeating,
                                         org.sourcejammer.project.view.SJRequest request)
                                  throws java.io.IOException,
                                         org.sourcejammer.util.SourceJammerConnectionException,
                                         GUICommandException
Processes check in. If file has not changed, prompts user to undo/check in/skip.

java.io.IOException
org.sourcejammer.util.SourceJammerConnectionException
GUICommandException

isTargetCheckOutPath

private static boolean isTargetCheckOutPath(org.sourcejammer.project.view.NodeInfo fileNode,
                                            java.io.File targetDirectory)

showWrongTargetPathDialog

private static int showWrongTargetPathDialog(org.sourcejammer.project.view.NodeInfo fileNode,
                                             java.lang.String targetPath)

showFileUnchangedDialog

private static int showFileUnchangedDialog(java.lang.String fileName)


Copyright © 2003 Soucejammer project.