com.cosylab.vdct.undo
Class UndoManager

java.lang.Object
  extended by com.cosylab.vdct.undo.UndoManager
All Implemented Interfaces:
DsEventListener

public class UndoManager
extends java.lang.Object
implements DsEventListener

This type was created in VisualAge.


Field Summary
protected  java.lang.Object dsId
           
protected static java.util.HashMap instances
           
 
Constructor Summary
protected UndoManager(java.lang.Object dsId)
          UndoManager constructor comment.
 
Method Summary
 void addAction(ActionObject action)
          This method was created in VisualAge.
 void addMacroActionEventListener(MacroActionEventListener listener)
           
 ComposedActionInterface getComposedAction()
          Insert the method's description here.
static UndoManager getInstance(java.lang.Object dsId)
           
 boolean isMonitor()
          Insert the method's description here.
 void onDsAdded(java.lang.Object id)
           
 void onDsFocused(java.lang.Object id)
           
 void onDsRemoved(java.lang.Object id)
           
 void prepareAfterSaving()
          Sets all the counters after a file has been saved.
 void redo()
          This method was created in VisualAge.
static void registerDsListener()
           
 void removeMacroActionEventListener(MacroActionEventListener listener)
           
 void reset()
          This method was created in VisualAge.
 void setMonitor(boolean newMonitor)
          Insert the method's description here.
 void startMacroAction()
          Insert the method's description here.
 void stopMacroAction()
          Insert the method's description here.
 void undo()
          This method was created in VisualAge.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

instances

protected static java.util.HashMap instances

dsId

protected java.lang.Object dsId
Constructor Detail

UndoManager

protected UndoManager(java.lang.Object dsId)
UndoManager constructor comment.

Method Detail

addAction

public void addAction(ActionObject action)
This method was created in VisualAge.

Parameters:
action - epics.undo.ActionObject

getComposedAction

public ComposedActionInterface getComposedAction()
Insert the method's description here. Creation date: (3.5.2001 20:45:26)

Returns:
com.cosylab.vdct.undo.ComposedActionInterface

getInstance

public static UndoManager getInstance(java.lang.Object dsId)

isMonitor

public boolean isMonitor()
Insert the method's description here. Creation date: (3.5.2001 15:36:00)

Returns:
boolean

redo

public void redo()
This method was created in VisualAge.


reset

public void reset()
This method was created in VisualAge.


setMonitor

public void setMonitor(boolean newMonitor)
Insert the method's description here. Creation date: (3.5.2001 15:36:00)

Parameters:
newMonitor - boolean

startMacroAction

public void startMacroAction()
Insert the method's description here. Creation date: (3.5.2001 20:43:57)


stopMacroAction

public void stopMacroAction()
Insert the method's description here. Creation date: (3.5.2001 20:44:21)


undo

public void undo()
This method was created in VisualAge.


prepareAfterSaving

public void prepareAfterSaving()
Sets all the counters after a file has been saved.


addMacroActionEventListener

public void addMacroActionEventListener(MacroActionEventListener listener)

removeMacroActionEventListener

public void removeMacroActionEventListener(MacroActionEventListener listener)

registerDsListener

public static void registerDsListener()

onDsAdded

public void onDsAdded(java.lang.Object id)
Specified by:
onDsAdded in interface DsEventListener

onDsRemoved

public void onDsRemoved(java.lang.Object id)
Specified by:
onDsRemoved in interface DsEventListener

onDsFocused

public void onDsFocused(java.lang.Object id)
Specified by:
onDsFocused in interface DsEventListener