Visual Basic (Declaration) | |
---|---|
Public MustInherit Class DiagramModel |
C# | |
---|---|
public abstract class DiagramModel |
This class is not a generic class, unlike the predefined model classes (Northwoods.GoXam.Model.GraphLinksModel<NodeType,NodeKey,PortKey,LinkType>, Northwoods.GoXam.Model.GraphModel<NodeType,NodeKey>, Northwoods.GoXam.Model.TreeModel<NodeType,NodeKey>).
This class defines several kinds of members:
- a few properties: Name, DataFormat, Modifiable
- the Changed event and some methods for raising that event
- the UndoManager property and some methods for executing state changes due to an undo or redo
- some methods for starting and finishing edits (i.e. groups of state changes)
- the IsModified property
System.Object
Northwoods.GoXam.Model.DiagramModel
Northwoods.GoXam.Model.GraphLinksModel<NodeType,NodeKey,PortKey,LinkType>
Northwoods.GoXam.Model.GraphModel<NodeType,NodeKey>
Northwoods.GoXam.Model.TreeModel<NodeType,NodeKey>