net.sourceforge.demetrix.ui
Class CurrentProcessChainSingleton

java.lang.Object
  extended bynet.sourceforge.demetrix.ui.CurrentProcessChainSingleton

public class CurrentProcessChainSingleton
extends Object

Author:
Dimitri Pissarenko *

Field Summary
private  ProcessChainNode currentGraphParent
           
private static CurrentProcessChainSingleton instance
           
private  Logger logger
           
private  LinkedList observers
           
private  File savingLocation
           
private  boolean topLevelProcessChain
           
 
Constructor Summary
private CurrentProcessChainSingleton()
           
 
Method Summary
 void attach(CurrentProcessChainObserver observer)
           
 ProcessChainNode getCurrentGraphParent()
           
static CurrentProcessChainSingleton getInstance()
           
 File getSavingLocation()
           
 void informCurrentGraphParentChanged()
           
 boolean isTopLevelProcessChain()
           
 void setCurrentGraphParent(ProcessChainNode node)
           
 void setSavingLocation(File file)
           
 void setTopLevelProcessChain(boolean b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instance

private static CurrentProcessChainSingleton instance

topLevelProcessChain

private boolean topLevelProcessChain

currentGraphParent

private ProcessChainNode currentGraphParent

logger

private Logger logger

observers

private LinkedList observers

savingLocation

private File savingLocation
Constructor Detail

CurrentProcessChainSingleton

private CurrentProcessChainSingleton()
Method Detail

getInstance

public static CurrentProcessChainSingleton getInstance()

attach

public void attach(CurrentProcessChainObserver observer)

getCurrentGraphParent

public ProcessChainNode getCurrentGraphParent()
Returns:

getSavingLocation

public File getSavingLocation()
Returns:

informCurrentGraphParentChanged

public void informCurrentGraphParentChanged()

setCurrentGraphParent

public void setCurrentGraphParent(ProcessChainNode node)
Parameters:
node -

setSavingLocation

public void setSavingLocation(File file)
Parameters:
file -

isTopLevelProcessChain

public boolean isTopLevelProcessChain()
Returns:

setTopLevelProcessChain

public void setTopLevelProcessChain(boolean b)
Parameters:
b -