Click or drag to resize

ModelView Class

View class which is used to provide a view on the entire entity model. This view can also contain inheritance edges, though not as edges of the graph as the entity model graph is a non-directed graph.
Inheritance Hierarchy
SystemObject
  SD.Tools.Algorithmia.GraphsSubGraphViewEntityDefinition, RelationshipEdge
    SD.LLBLGen.Pro.ApplicationCore.EntityModel.ModelViewsModelView

Namespace:  SD.LLBLGen.Pro.ApplicationCore.EntityModel.ModelViews
Assembly:  SD.LLBLGen.Pro.ApplicationCore (in SD.LLBLGen.Pro.ApplicationCore.dll) Version: 5.9.0.0 (5.9.0)
Syntax
public class ModelView : SubGraphView<EntityDefinition, RelationshipEdge>, 
	INotifyPropertyChanged, ISerializableToXml, IDataErrorInfo, INotifyAsChanged

The ModelView type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCoordinatesPerEntityDefinition
Gets the coordinates per entity definition. This dictionary isn't updated in real-time, but used as a storage facility for coordinates when the modelview is viewed in a viewer and the viewer is closed: the location of the entities is then stored in this storage.
Public propertyDocumentation
Gets or sets the documentation for the modelview
Public propertyEdges
Gets the edges contained in this SubGraphView. All edges are part of this.MainGraph. All vertices are part of this.MainGraph. Enumerating this property will enumerate the inner structures of the SubGraphView, no copy is made. This requires a lock on this.MainGraph.SyncRoot if this.MainGraph.IsSynchronized is set to true to make sure enumeration of this property is thread safe.
(Inherited from SubGraphViewTVertex, TEdge.)
Public propertyError
Gets an error message indicating what is wrong with this object.
Public propertyInheritanceEdges
Gets all inheritance edges for the elements in this view.
Public propertyItem
Gets the String with the specified column name.
Public propertyMainGraph
Gets the main graph this SubGraphView is a view on
(Inherited from SubGraphViewTVertex, TEdge.)
Public propertyName
Gets or sets the name of the model view.
Public propertyPerformFullInitialLayoutIfDisplayed
Gets a value indicating whether a full layout has to be calculated when the modelview is displayed (true) or an incremental layout (false). A full layout is issued when no stored coordinates are present.
Public propertyVertices
Gets the vertices contained in this SubGraphView. All vertices are part of this.MainGraph. Enumerating this property will enumerate the inner structures of the SubGraphView, no copy is made. This requires a lock on this.MainGraph.SyncRoot if this.MainGraph.IsSynchronized is set to true to make sure enumeration of this property is thread safe.
(Inherited from SubGraphViewTVertex, TEdge.)
Top
Methods
  NameDescription
Public methodAdd(TEdge)
Adds the specified edge. If the vertices aren't in the view, they're added too.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodAdd(TVertex)
Adds the specified vertex.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodBindEvents
Binds the event handlers to the events of the main graph.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodContains(TEdge)
Determines whether this SubGraphView contains the passed in edge.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodContains(TVertex)
Determines whether this SubGraphView contains the passed in vertex.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodDispose
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetCollapsedState
Gets the collapsed state for the entity specified (if applicable)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetStoredCoordinates
Gets the stored coordinates.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodHandleEdgeAddedToMainGraph
Handles the event that a new edge was added to the main graph
(Overrides SubGraphViewTVertex, TEdgeHandleEdgeAddedToMainGraph(TEdge).)
Protected methodHandleEdgeRemovedFromMainGraph
Handles the event that an edge was removed from the main graph.
(Inherited from SubGraphViewTVertex, TEdge.)
Protected methodHandleVertexAddedToMainGraph
Handles the event that a new vertex was added to the main graph.
(Inherited from SubGraphViewTVertex, TEdge.)
Protected methodHandleVertexRemovedFromMainGraph
Handles the event that a vertex was removed from the main graph.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodMarkAsRemoved
Marks this instance as removed. It raises ElementRemoved
(Inherited from SubGraphViewTVertex, TEdge.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodOnDisposing
Called when Disposing
(Overrides SubGraphViewTVertex, TEdgeOnDisposing.)
Protected methodOnEdgeAdded
Called when an edge has been added to this view
(Inherited from SubGraphViewTVertex, TEdge.)
Protected methodOnEdgeRemoved
Called when an edge has been removed from this view
(Inherited from SubGraphViewTVertex, TEdge.)
Protected methodOnVertexAdded
Called when a vertex has been added to this view
(Overrides SubGraphViewTVertex, TEdgeOnVertexAdded(TVertex).)
Protected methodOnVertexRemoved
Called when a vertex has been removed from this view
(Overrides SubGraphViewTVertex, TEdgeOnVertexRemoved(TVertex).)
Protected methodPerformSyncedAction(Action)
Performs the specified action, either inside a lock on MainGraph.SyncRoot if thegraph is Synchronized, or normally, if the graph isn't synchronized.
(Inherited from SubGraphViewTVertex, TEdge.)
Protected methodPerformSyncedActionT(FuncT)
Performs the specified action, either inside a lock on MainGraph.SyncRoot if the graph is Synchronized, or normally, if the graph isn't synchronized.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodRemove(TEdge)
Removes the edge.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodRemove(TVertex)
Removes the vertex.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodSerializeToWriter
Serializes the data in this class to the serializer passed in
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUnbindEvents
Unbinds the event handlers from the events of the main graph.
(Inherited from SubGraphViewTVertex, TEdge.)
Public methodUpdateStoredEntityGlyphState
Updates the stored entity coordinates of the entity specified
Top
Events
  NameDescription
Public eventDisposed
Event which is raised when this instance was disposed.
(Inherited from SubGraphViewTVertex, TEdge.)
Public eventEdgeAdded
Event which is raised when an edge has been added to this SubGraphView
(Inherited from SubGraphViewTVertex, TEdge.)
Public eventEdgeChanged
If TEdge supports change notification, this event is raised when an edge in the subgraph view was changed
(Inherited from SubGraphViewTVertex, TEdge.)
Public eventEdgeRemoved
Event which is raised when an edge has been removed from this SubGraphView
(Inherited from SubGraphViewTVertex, TEdge.)
Public eventHasBeenChanged
Raised when the implementing element has been changed
Public eventHasBeenRemoved
Raised when the implementing element has been removed from its container
(Inherited from SubGraphViewTVertex, TEdge.)
Public eventInheritanceEdgeAdded
Event which is raised when an inheritance edge has been added to this view
Public eventInheritanceEdgeRemoved
Event which is raised when an inheritance edge has been removed from this view
Public eventIsEmpty
Event which is raised when the subgraphview is made empty. Observers can use this event to dispose an empty subgraphview to avoid dangling event handlers.
(Inherited from SubGraphViewTVertex, TEdge.)
Public eventModelViewChanged
Occurs when this model view was changed
Public eventPropertyChanged
Occurs when a property value changes. (INotifyPropertyChanged)
Public eventVertexAdded
Event which is raised when a vertex has been added to this SubGraphView
(Inherited from SubGraphViewTVertex, TEdge.)
Public eventVertexChanged
If TVertex supports change notification, this event is raised when a vertex in the subgraph view was changed
(Inherited from SubGraphViewTVertex, TEdge.)
Public eventVertexRemoved
Event which is raised when a vertex has been removed from this SubGraphView
(Inherited from SubGraphViewTVertex, TEdge.)
Top
See Also