OpenWithHandler

public protocol OpenWithHandler

Represents the custom Open with item.

  • The menu item name.

    Declaration

    Swift

    var name: String
  • icon Default implementation

    The menu item icon.

    Default Implementation

    No icon by default.

    Declaration

    Swift

    var icon: NSImage?
  • Called when the handler item is selected.

    Declaration

    Swift

    func apply(file: VirtualFile, context: WeakActionContext)