Autodesk Vault ProfessionalVault API

BrowseVaultNavigationModel Class

Autodesk.DataManagement.Client.Framework.Vault.FormsAutodesk.DataManagement.Client.Framework.Vault.Forms.Models

An implementation of the Autodesk.DataManagement.Client.Framework.Vault.Forms.Interfaces.IProgressiveLoadingVaultNavigationModel which is used to model a workflow for browsing and drilling down in a folder hierarchy of the Vault with ability to load more content on demand.

Syntax

public class BrowseVaultNavigationModel : Autodesk.DataManagement.Client.Framework.Vault.Forms.Interfaces.IProgressiveLoadingVaultNavigationModel, Autodesk.DataManagement.Client.Framework.Vault.Forms.Interfaces.IVaultNavigationModel  
Public Class BrowseVaultNavigationModel
   Implements Autodesk.DataManagement.Client.Framework.Vault.Forms.Interfaces.IProgressiveLoadingVaultNavigationModel, Autodesk.DataManagement.Client.Framework.Vault.Forms.Interfaces.IVaultNavigationModel 

Constructors

NameDescription
BrowseVaultNavigationModelConstructs an instance of the BrowseVaultNavigationModel class

Properties

NameDescription
CanLoadMoreContentGets whether or not the model can request to append more content in view control.
CanMoveBackGets whether or not the model can navigate back to the entity that was loaded prior to the current one.
CanMoveUpGets whether or not the model can navigate to the current entities parent.
ContentGets the child content for the Parent entity that was navigated to. The Content loads in the background and will be available after the ContentLoaded event is fired.
EqualityComparerGets the EqualityComparer used for the model. Returns null if the default comparer is being used.
FocusedContentGets the entity that has Focus. An entity can be focused, but not selected.
GetChildrenOverrideGets or sets a delagate that is called to get the children for an entity during the navigation process.
LoadHiddenChildrenGets or sets whether or not to include hidden children when loading content.
NavigationPathGets the hierarchy of the current Parent all the way up to the root Navigation object. The NavigationPath loads in the background and will be available after the NavigationPathLoaded event is fired.
ParentGets the Parent entity (ie. the Entity that we navigated to). The Parent is the container for the Content.
RestrictNavigationGets or sets if navigation should be restricted to the current entity.
SelectedContentGets the selected entities

Methods

NameDescription
AddEntitiesToContentAdds specified entities to existing Content
CanNavigateTests if the specified entity can be navigated to (ie. it can have children)
ClearRemoves all of the Content from the model
FindEntitiesNameStartsWithSearches the Content for all entities whose EntityName starts with the specified text
LoadMoreContentLoads additional content that fall beyond previosly loaded bookmark
MoveBackNavigates to the entity that was loaded prior to the current one
MoveUpNavigates to the current entities parent
NavigateChanges the data in the model to represent a new entity. The Content for the new entity will be loaded in a background thread.
Navigate(IEntity,NavigationContext)Changes the data in the model to represent a new entity. The Content for the new entity will be loaded in a background thread.
Navigate(IEntity,IEnumerable<IEntity>,NavigationContext)Changes the data in the model to represent a new entity. The Content for the new entity is supplied and thus doesn't need to be loaded in a background thread.
ReloadReloads the models Content
SetFocusedContentSets the focused entity.
SetSelectedContentSets the selected entities.
SetSelectedContentByNameSelects all Content in the model whose EntityName matches a list of names.
UpdateUpdates entities contained in this model.

Events

NameDescription
ContentAddedThis event is fired when entities are added manually to the Content of the model.
ContentLoadedAfter the ParentChanged notification is sent as a result of a Navigate, the model will begin to load the child content associated with the Parent. This event is fired when the Content is finished loading.
ContentRemovedNot implemented.
ContentUpdatedThis event is fired when Entities managed by this model is updated via the Update method. The event allows all views a chance to refresh their display to represent the new data.
ExceptionThis event is fired when an exception occurs
FocusedContentChangedThis event is fired when the FocusedContent property changes via the SetFocusedContent method.
MoreContentRequestedThis event is fired when the additional content is requested from view control. Event to call for Server and append more content.
NavigationPathLoadedAfter the ParentChanged notification is sent as a result of a Navigate, the model will begin to compute the NavigationPath. This event is fired when the computation is complete.
ParentChangedThis event is fired when the Parent changes as a result of navigating to a new entity (via the Navigate method).
SelectedContentChangedThis event is fired when the SelectedContent property changes via the SetSelectedContent method.

Inheritance Hierarchy

  • System.Object
  • Autodesk.DataManagement.Client.Framework.Vault.Forms.Models.BrowseVaultNavigationModel

See Also