documentationfor yFiles for HTML 2.6

Usages of IUndoUnit

Method Return Values

createUndoUnitForBendAddition (IBend, number)in DefaultGraphCreates the bend addition undo unit for the given bend.
createUndoUnitForBendRemoval (IBend)in DefaultGraphCreates the bend removal undo unit for the given bend.
createUndoUnitForBendTagChange (IBend, Object)in DefaultGraphCreates the undo unit for changing the tag of the given bend.
createUndoUnitForEdgeCreation (IEdge)in DefaultGraphCreates the edge creation undo unit for the given edge.
createUndoUnitForEdgeReconnection (IEdge, IPort, IPort)in DefaultGraphCreates the edge reconnection undo unit for the given edge.
createUndoUnitForEdgeRemoval (IEdge)in DefaultGraphCreates the edge removal undo unit for the given edge.
createUndoUnitForEdgeStyleChange (IEdge, IEdgeStyle)in DefaultGraphCreates the undo unit for changing the style of the given edge.
createUndoUnitForEdgeTagChange (IEdge, Object)in DefaultGraphCreates the undo unit for changing the tag of the given edge.
createUndoUnitForGraphTagChange (ITagOwner, Object)in DefaultGraphCreates the undo unit for changing the tag of the given graph.
createUndoUnitForIsGroupNodeChange (INode, boolean)in DefaultGraphCreates the undo unit for changing whether the given node is a group node.
createUndoUnitForLabelAddition (ILabel)in DefaultGraphCreates the label addition undo unit for the given label.
createUndoUnitForLabelModelParameterChange (ILabel, ILabelModelParameter)in DefaultGraphCreates the undo unit for changing the layout parameter of the given label.
createUndoUnitForLabelRemoval (ILabel)in DefaultGraphCreates the label removal undo unit for the given label.
createUndoUnitForLabelStyleChange (ILabel, ILabelStyle)in DefaultGraphCreates the undo unit for changing the style of the given label.
createUndoUnitForLabelTagChange (ILabel, Object)in DefaultGraphCreates the undo unit for changing the tag of the given label.
createUndoUnitForLabelTextChange (ILabel, string)in DefaultGraphCreates the undo unit for changing the text of the given label.
createUndoUnitForLocationParameterChange (IPort, IPortLocationModelParameter)in DefaultGraphCreates the undo unit for changing the location parameter of the given port.
createUndoUnitForNodeCreation (INode, INode, boolean)in DefaultGraphCreates the node creation undo unit for the given node.
createUndoUnitForNodeRemoval (INode)in DefaultGraphCreates the node removal undo unit for the given node.
createUndoUnitForNodeStyleChange (INode, INodeStyle)in DefaultGraphCreates the undo unit for changing the style of the given node.
createUndoUnitForNodeTagChange (INode, Object)in DefaultGraphCreates the undo unit for changing the tag of the given node.
createUndoUnitForParentChange (INode, INode, INode)in DefaultGraphCreates the parent change undo unit for the given node.
createUndoUnitForPortAddition (IPort)in DefaultGraphCreates the port addition undo unit for the given port.
createUndoUnitForPortRemoval (IPort)in DefaultGraphCreates the port removal undo unit for the given port.
createUndoUnitForPortStyleChange (IPort, IPortStyle)in DefaultGraphCreates the undo unit for changing the style of the given port.
createUndoUnitForPortTagChange (IPort, Object)in DefaultGraphCreates the undo unit for changing the tag of the given port.
createUndoUnitForPreferredSizeChange (ILabel, Size)in DefaultGraphCreates the undo unit for changing the preferred size of the given label.

Method Parameters

add (IUndoUnit)in CompositeUndoUnitAdds a new IUndoUnit to the queue.
removeUnit (IUndoUnit)in CompositeUndoUnitTries to remove a given unit from this compound unit.
tryMergeUnit (IUndoUnit)in CompositeUndoUnitImplements the IUndoUnit interface.
tryReplaceUnit (IUndoUnit)in CompositeUndoUnitImplements the IUndoUnit interface.
tryMergeUnit (IUndoUnit)in IUndoUnitTries to merge the given unit with this one.
tryReplaceUnit (IUndoUnit)in IUndoUnitTries to replace the given unit with this one.
addUnit (IUndoUnit)in UndoEngineAdds a new IUndoUnit to the queue.
tryMergeUnit (IUndoUnit)in UndoUnitBase
tryReplaceUnit (IUndoUnit)in UndoUnitBase

Implementing Types

CompositeUndoUnitA group of IUndoUnits that are undone/redone as a single unit.
UndoUnitBaseAn abstract base implementation of IUndoUnit.