org.sourcejammer.client.gui.process
Class ProcessCentral

java.lang.Object
  |
  +--org.sourcejammer.client.gui.process.ProcessCentral
All Implemented Interfaces:
ProcessContainer, Processes

public class ProcessCentral
extends java.lang.Object
implements ProcessContainer, Processes

Title: $FileName: ProcessCentral.java$

Version:
$VerNum: 6$

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

Nested Class Summary
protected  class ProcessCentral.FireProcessThread
           
protected  class ProcessCentral.ProcessAndInfo
           
 
Field Summary
private static ProcessCentral instance
           
private  java.util.Hashtable mhshProcess
           
private  ProcessCentral.FireProcessThread thread
           
 
Fields inherited from interface org.sourcejammer.client.gui.process.Processes
prs_ADD_FILES, prs_BRANCH_PROJECT, prs_CHECK_IN, prs_CHECK_OUT, prs_CHECK_OUT_REPORT, prs_DELETE_LOCAL_FILE, prs_FORCE_CHECK_IN, prs_GET_CHANGE_LIST, prs_GET_FILE_VERSION, prs_GET_FILES, prs_GET_LABEL, prs_GET_PROJECT, prs_MAKE_LABEL, prs_MOVE_COPY_PROJECT_PROCESS, prs_REBUILD_FILE_VIEW, prs_REBUILD_LABEL, prs_REFRESH_PROJECT, prs_REMOVE_PROJECT_SHARE, prs_SHARE_FILE, prs_SHARE_PROJECT, prs_VIEW_DIFF, prs_VIEW_FILE
 
Constructor Summary
private ProcessCentral()
           
 
Method Summary
protected  void finalize()
           
 void fireProcess(java.lang.Integer identifier)
           
 void fireProcess(java.lang.Integer identifier, java.lang.Object info)
           
 void fireProcess(java.lang.Integer identifier, java.lang.Object info, int minVal, int maxVal, int increment)
           
static ProcessCentral getInstance()
           
 void incrementProgressBar()
           
 void incrementProgressBar(int i)
           
protected  void initializeThreadIfNeeded()
           
 void registerProcess(SJProcess process, java.lang.Integer identifier)
           
protected  void waitTillNotified()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

private static ProcessCentral instance

thread

private ProcessCentral.FireProcessThread thread

mhshProcess

private java.util.Hashtable mhshProcess
Constructor Detail

ProcessCentral

private ProcessCentral()
Method Detail

getInstance

public static ProcessCentral getInstance()

registerProcess

public void registerProcess(SJProcess process,
                            java.lang.Integer identifier)

fireProcess

public void fireProcess(java.lang.Integer identifier)

fireProcess

public void fireProcess(java.lang.Integer identifier,
                        java.lang.Object info)

fireProcess

public void fireProcess(java.lang.Integer identifier,
                        java.lang.Object info,
                        int minVal,
                        int maxVal,
                        int increment)

incrementProgressBar

public void incrementProgressBar()
Specified by:
incrementProgressBar in interface ProcessContainer

incrementProgressBar

public void incrementProgressBar(int i)
Specified by:
incrementProgressBar in interface ProcessContainer

waitTillNotified

protected void waitTillNotified()
                         throws java.lang.InterruptedException
java.lang.InterruptedException

initializeThreadIfNeeded

protected void initializeThreadIfNeeded()

finalize

protected void finalize()
                 throws java.lang.Throwable
Overrides:
finalize in class java.lang.Object
java.lang.Throwable
See Also:
Object.finalize()


Copyright 2003 Soucejammer project.