Package com.cosylab.vdct.undo
Class UndoManager
- java.lang.Object
-
- com.cosylab.vdct.undo.UndoManager
-
- All Implemented Interfaces:
DsEventListener
public class UndoManager extends Object implements DsEventListener
This type was created in VisualAge.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
UndoManager(Object dsId)
UndoManager constructor comment.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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(Object dsId)
boolean
isMonitor()
Insert the method's description here.void
onDsAdded(Object id)
void
onDsFocused(Object id)
void
onDsRemoved(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.
-
-
-
Constructor Detail
-
UndoManager
protected UndoManager(Object dsId)
UndoManager constructor comment.- Parameters:
dsId
- dsId
-
-
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(Object dsId)
- Parameters:
dsId
- dsId- Returns:
- something
-
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)
- Parameters:
listener
- listener
-
removeMacroActionEventListener
public void removeMacroActionEventListener(MacroActionEventListener listener)
- Parameters:
listener
- listener
-
registerDsListener
public static void registerDsListener()
-
onDsAdded
public void onDsAdded(Object id)
- Specified by:
onDsAdded
in interfaceDsEventListener
- Parameters:
id
- id
-
onDsRemoved
public void onDsRemoved(Object id)
- Specified by:
onDsRemoved
in interfaceDsEventListener
- Parameters:
id
- id
-
onDsFocused
public void onDsFocused(Object id)
- Specified by:
onDsFocused
in interfaceDsEventListener
- Parameters:
id
- id
-
-