Show / Hide Table of Contents

Interface INavigationMode

A navigation mode provides a particular hierarchical structure for navigating through Nodes.

Namespace: Algenta.Colectica.Navigator
Assembly: Algenta.Colectica.ViewModel.dll
Syntax
public interface INavigationMode

Properties

IncludedTypes

Gets an array of all IVersionable item types that may be displayed by this mode.

Declaration
Guid[] IncludedTypes { get; }
Property Value
Type Description
Guid[]

The included types.

Name

Gets the name of the navigation mode, which may be displayed in user interfaces that allow the user to switch between different modes.

Declaration
string Name { get; }
Property Value
Type Description
System.String

Weight

Gets the order in which this Addin should be displayed. Lower values are displayed higher or further to the left.

Declaration
int Weight { get; }
Property Value
Type Description
System.Int32

Methods

AreChildrenRemote(Node)

Returns a value indicating whether the children of the specified node are determined by making network calls.

Declaration
bool AreChildrenRemote(Node item)
Parameters
Type Name Description
Node item

The item for which children will be requested.

Returns
Type Description
System.Boolean

true if network activity is required to determine the children of the specified node; otherwise false.

GetChildItems(Node)

Gets the child items of the specified node. If AreChildrenRemote returned true, this method wil be called on a background thread.

Declaration
Collection<Node> GetChildItems(Node item)
Parameters
Type Name Description
Node item

The node for which children are being requested.

Returns
Type Description
Collection<Node>

A list of nodes that will be added as children of the specified node.

Extension Methods

Extensions.Yield<T>(T)
Back to top Copyright © 2009-2018 Colectica