Contains utilities for navigation in the main window. It also exists in dialogs and other sub-windows, but in dialogs and sub-windows, it is just a reference to the navUtils instance in the main window. Instance variable: navUtils

interface NavUtils {
    createNodeState: ((handlerID, dataSource?) => any);
    filePath2nodePath: ((filePath) => any[]);
    getActiveCollection: (() => Collection);
    getActiveNode: (() => SharedNode);
    getActiveTabQueryData: (() => QueryData);
    getActiveView: (() => ViewData);
    getActiveViewHandler: (() => ViewHandler);
    getActiveViewPanel: (() => any);
    getFocusedFolder: (() => Promise<string>);
    getFocusedNode: (() => SharedNode);
    getNodeFolder: ((node) => Promise<string>);
    getOutOfActiveView: ((nav2Node?) => void);
    getTrackCollectionAsync: ((track) => Promise<Collection>);
    isCollectionRootNodeActive: (() => boolean);
    navigateNodePath: ((nodePathSources, resolveWhenFinished?) => Promise<void>);
    navigateObject: ((params) => any);
}

Properties

createNodeState: ((handlerID, dataSource?) => any)

Type declaration

    • (handlerID, dataSource?): any
    • Parameters

      • handlerID: string
      • Optional dataSource: any

      Returns any

Undocumented

filePath2nodePath: ((filePath) => any[])

Type declaration

    • (filePath): any[]
    • Parameters

      • filePath: string

      Returns any[]

Undocumented

getActiveCollection: (() => Collection)

Type declaration

Undocumented

getActiveNode: (() => SharedNode)

Type declaration

Undocumented

getActiveTabQueryData: (() => QueryData)

Type declaration

Undocumented

getActiveView: (() => ViewData)

Type declaration

Undocumented

getActiveViewHandler: (() => ViewHandler)

Type declaration

Undocumented

getActiveViewPanel: (() => any)

Type declaration

    • (): any
    • Returns any

Undocumented

getFocusedFolder: (() => Promise<string>)

Type declaration

    • (): Promise<string>
    • Returns Promise<string>

Undocumented

getFocusedNode: (() => SharedNode)

Type declaration

Undocumented

getNodeFolder: ((node) => Promise<string>)

Type declaration

    • (node): Promise<string>
    • Parameters

      Returns Promise<string>

Undocumented

getOutOfActiveView: ((nav2Node?) => void)

Type declaration

    • (nav2Node?): void
    • Parameters

      Returns void

Undocumented

getTrackCollectionAsync: ((track) => Promise<Collection>)

Type declaration

Undocumented

isCollectionRootNodeActive: (() => boolean)

Type declaration

    • (): boolean
    • Returns boolean

Undocumented

navigateNodePath: ((nodePathSources, resolveWhenFinished?) => Promise<void>)

Type declaration

    • Parameters

      • nodePathSources: any[]
      • Optional resolveWhenFinished: boolean

      Returns Promise<void>

Undocumented

navigateObject: ((params) => any)

Type declaration

    • Parameters

      Returns any

Undocumented