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

Hierarchy

  • NavUtils

Properties

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

Type declaration

    • (handlerID, dataSource?): any
    • Undocumented

      Parameters

      • handlerID: string
      • Optional dataSource: any

      Returns any

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

Type declaration

    • (filePath): any[]
    • Undocumented

      Parameters

      • filePath: string

      Returns any[]

getActiveCollection: (() => Collection)

Type declaration

getActiveNode: (() => SharedNode)

Type declaration

getActiveTabQueryData: (() => QueryData)

Type declaration

getActiveView: (() => ViewData)

Type declaration

getActiveViewHandler: (() => ViewHandler)

Type declaration

getActiveViewPanel: (() => any)

Type declaration

    • (): any
    • Undocumented

      Returns any

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

Type declaration

    • (): Promise<string>
    • Undocumented

      Returns Promise<string>

getFocusedNode: (() => SharedNode)

Type declaration

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

Type declaration

    • (node): Promise<string>
    • Undocumented

      Parameters

      Returns Promise<string>

getOutOfActiveView: ((nav2Node?) => void)

Type declaration

    • (nav2Node?): void
    • Undocumented

      Parameters

      Returns void

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

Type declaration

isCollectionRootNodeActive: (() => boolean)

Type declaration

    • (): boolean
    • Undocumented

      Returns boolean

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

Type declaration

    • Undocumented

      Parameters

      • nodePathSources: any[]
      • Optional resolveWhenFinished: boolean

      Returns Promise<void>

navigateObject: ((params) => any)

Type declaration

    • Undocumented

      Parameters

      Returns any