<< Click to Display Table of Contents >> NShape ReferenceModelController Class |
Provides methods and properties for managing the model.
public class ModelController : Component |
The model controller is responsible for all operations that a user can perform directly on the model.
Name |
Description |
---|---|
DiagramSetController |
Provides access to a DiagramSetController. If a DiagramSetController is set, the DiagramSetController's project is used. |
ProductVersion |
The version of the component. |
Project |
Provides access to an NShape project. Can only be set if no DiagramSetController was set yet. |
Name |
Description |
---|---|
Copy |
Copies the given model object. |
Constructor |
Constructs a new instance. |
CreateModelObject |
Creates a new model object. |
DeleteModelObjects |
Deletes the given model objects. |
FindShapes |
Selects all shapes assigned with the given model objects. |
GetChildModelObjects |
Returns all model objects whose parent is the given model object. |
GetMenuItemDefs |
Returns a list of MenuItemDefs. |
Paste |
Paste the given model object into the model. |
RenameModelObject |
Renames a model object. |
SetModelObjectParent |
Sets the given model object's parent. |
Name |
Description |
---|---|
Changed |
The Changed event will be raised whenever an object somehow related to a model object has changed. |
Initialized |
Occurs when the model controller has a project and the project is open. |
ModelObjectsChanged |
Occurs when model objects have been changed. |
ModelObjectsCreated |
Occurs when model objects have been created. |
ModelObjectsDeleted |
Occurs when model objects have been deleted. |
Uninitialized |
Occurs when the project is removed or closed. |
Namespace: Dataweb.NShape.Controllers
Assembly: Dataweb.NShape