Manages the isolation mechanic in the vim component.

Hierarchy

  • Isolation

Constructors

Accessors

  • get onChanged(): ISimpleEvent<string>
  • Signal dispatched when the isolation set changes.

    Returns ISimpleEvent<string>

Methods

  • Returns true if there are currently objects isolated.

    Returns

    True if there are currently objects isolated; otherwise, false.

    Returns boolean

  • Clears the current isolation.

    Parameters

    • source: string

      The source of the isolation clearing operation.

    Returns void

  • Returns the current array of isolated objects.

    Returns

    The array of objects currently isolated, or undefined if no objects are isolated.

    Returns IObject[]

  • Retrieves the reference objects set for a given VIM.

    Returns

    The reference objects set for the specified VIM.

    Parameters

    • vim: Vim

      The VIM for which reference objects are being retrieved.

    Returns "always" | Set<IObject>

  • Removes the given objects from the isolation set.

    Parameters

    • objects: IObject[]

      An array of objects to be removed from isolation.

    • source: string

      The source of the removal operation.

    Returns void

  • Isolates the objects in the given array and shows the rest as ghost.

    Returns

    True if isolation occurs; otherwise, false.

    Parameters

    • objects: IObject[]

      An array of objects to isolate.

    • source: string

      The source of isolation.

    Returns boolean

  • Sets the reference objects for a given VIM.

    Parameters

    • vim: Vim

      The VIM for which reference objects are being set.

    • reference: "always" | Object[]

      An array of reference objects or the string 'always' to indicate permanent reference.

    Returns void

  • Adds the given objects to the isolation set.

    Parameters

    • objects: IObject[]

      An array of objects to be added to isolation.

    • source: string

      The source of the addition operation.

    Returns void

  • Toggles current isolation based on selection.

    Parameters

    • source: string

      The source of isolation.

    Returns void

Generated using TypeDoc