public class DiagramLinkState extends DiagramItemState
DiagramLink
.
Instances of this class are used to store the state of links
for later undo or redo operations. If you derive from DiagramLink
and need to implement undo support for the additional internal state
defined by your class, do so by deriving from DiagramLinkState and
overriding the DiagramLink.createState()
, DiagramLink.saveState(com.mindfusion.diagramming.DiagramItemState)
and DiagramLink.restoreState(com.mindfusion.diagramming.DiagramItemState)
methods.item
Constructor and Description |
---|
DiagramLinkState(DiagramLink link) |
public DiagramLinkState(DiagramLink link)