NShape Reference
ModelTreeViewPresenter Class

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.WinFormsUI >

NShape Reference
ModelTreeViewPresenter Class

Previous pageReturn to chapter overviewNext page

Connects a Windows tree view to a model controller.

Syntax

public class ModelTreeViewPresenter : Component

Description

Connects a Windows tree view to a model controller.

Public Properties

Name

Description

HideDeniedMenuItems

Specifies wether menu items that are not granted should be hidden.

ModelTreeController

Provides access to the ModelTreePresenter's ModelController.

ProductVersion

The version of the component.

PropertyController

Provides access to a PropertyController.

SelectedModelObjects

Provides access to a list of selected model objects.

TreeView

Specifies a System.Windows.Forms.TreeView that displays the model tree.

Public Methods

Name

Description

Constructor

Constructs a new instance.

FindShapes

Finds all shapes attached to the given model objects. If a DiagramSetController and DiagramPresenters are attached to the ModelController, all found shapes will be selected.

GetMenuItemDefs

Returns a list of MenuItemDefs.

SelectModelObject

Selects a model object.

UnselectAllModelObjects

Removes all model objects from the list of selected model objects.

UnselectModelObject

Removes the given model object from the list of selected model objects.

Events

Name

Description

SelectionChanged

Occurs when a model object is selected or unselected.

Requirements

Namespace: Dataweb.NShape.WinFormsUI

Assembly: Dataweb.NShape.WinFormsUI