Creates an item state corresponding to the concrete type of this item.
Namespace: com.mindfusion.scheduling.model
Package: com.mindfusion.scheduling.model
Java Copy Code |
---|
protected ItemState createState () |
An instance of ItemState or a derived class.
This method is used by the undo/redo system to create an ItemState-derived object that corresponds to the item class. Custom item classes must override createState in order to implement undo/redo support for any additional members they define. This method should be overridden together with saveState and restoreState.