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 protectedUndoManager(Object dsId)UndoManager constructor comment.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddAction(ActionObject action)This method was created in VisualAge.voidaddMacroActionEventListener(MacroActionEventListener listener)ComposedActionInterfacegetComposedAction()Insert the method's description here.static UndoManagergetInstance(Object dsId)booleanisMonitor()Insert the method's description here.voidonDsAdded(Object id)voidonDsFocused(Object id)voidonDsRemoved(Object id)voidprepareAfterSaving()Sets all the counters after a file has been saved.voidredo()This method was created in VisualAge.static voidregisterDsListener()voidremoveMacroActionEventListener(MacroActionEventListener listener)voidreset()This method was created in VisualAge.voidsetMonitor(boolean newMonitor)Insert the method's description here.voidstartMacroAction()Insert the method's description here.voidstopMacroAction()Insert the method's description here.voidundo()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:
onDsAddedin interfaceDsEventListener- Parameters:
id- id
-
onDsRemoved
public void onDsRemoved(Object id)
- Specified by:
onDsRemovedin interfaceDsEventListener- Parameters:
id- id
-
onDsFocused
public void onDsFocused(Object id)
- Specified by:
onDsFocusedin interfaceDsEventListener- Parameters:
id- id
-
-