Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PluginIconTheme

Hierarchy

Implements

  • IconTheme
  • Disposable

Index

Constructors

constructor

Properties

Protected Readonly definition

Optional description

description: string

Protected Readonly fileIcon

fileIcon: "theia-plugin-file-icon" = 'theia-plugin-file-icon'

Protected Readonly fileService

fileService: FileService

Protected Readonly folderExpandedIcon

folderExpandedIcon: "theia-plugin-folder-expanded-icon" = 'theia-plugin-folder-expanded-icon'

Protected Readonly folderIcon

folderIcon: "theia-plugin-folder-icon" = 'theia-plugin-folder-icon'

Optional hasFileIcons

hasFileIcons: boolean

Optional hasFolderIcons

hasFolderIcons: boolean

Optional hidesExplorerArrows

hidesExplorerArrows: boolean

Protected Readonly icons

icons: Set<string> = ...

id

id: string

label

label: string

Protected Readonly labelProvider

labelProvider: LabelProvider

Protected locationUri

locationUri: default

Readonly onDidChange

onDidChange: Event<DidChangeLabelEvent> = ...

Protected Readonly onDidChangeEmitter

onDidChangeEmitter: Emitter<DidChangeLabelEvent> = ...

Protected packageRootUri

packageRootUri: default

packageUri

packageUri: string

pluginId

pluginId: string

Protected reload

reload: DebouncedFunc<() => void> = ...

Protected Readonly rootFolderExpandedIcon

rootFolderExpandedIcon: "theia-plugin-root-folder-expanded-icon" = 'theia-plugin-root-folder-expanded-icon'

Protected Readonly rootFolderIcon

rootFolderIcon: "theia-plugin-root-folder-icon" = 'theia-plugin-root-folder-icon'

Protected styleSheetContent

styleSheetContent: undefined | string

Protected Readonly toDeactivate

toDeactivate: DisposableCollection = ...

Protected Readonly toDispose

toDispose: DisposableCollection = ...

Protected Readonly toDisposeStyleElement

toDisposeStyleElement: DisposableCollection = ...

Protected Readonly toUnload

toUnload: DisposableCollection = ...

Optional uiTheme

uiTheme: "vs" | "vs-dark" | "hc-black"

uri

uri: string

Protected Readonly workspaceService

workspaceService: WorkspaceService

Methods

activate

  • activate(): Disposable

Protected collectSelectors

  • collectSelectors(associations: RecursivePartial<PluginIconsAssociation>, accept: (definitionId: string, ...icons: string[]) => void): void

dispose

  • dispose(): void

Protected doActivate

  • doActivate(): Promise<void>

Protected escapeCSS

  • escapeCSS(value: string): string

Protected expandedFolderNameIcon

  • expandedFolderNameIcon(folderName: string): string

Protected fileExtensionIcon

  • fileExtensionIcon(fileExtension: string): string[]

Protected fileNameIcon

  • fileNameIcon(fileName: string): string[]

Protected fireDidChange

  • fireDidChange(): void

Protected folderNameIcon

  • folderNameIcon(folderName: string): string

Protected getClassNames

  • getClassNames(element: FileStat | default | URIIconReference | FileStatNode | WorkspaceRootNode): string[]

Protected getFileClassNames

  • getFileClassNames(element: object, uri?: string): string[]

Protected getFolderClassNames

  • getFolderClassNames(element: object): string[]

getIcon

  • getIcon(element: FileStat | default | URIIconReference | FileStatNode | WorkspaceRootNode): string

Protected init

  • init(): void

Protected languageIcon

  • languageIcon(languageId: string): string

Protected load

  • load(): Promise<void>

Protected toCSSUrl

  • toCSSUrl(iconPath: undefined | string): undefined | string

Protected updateStyleElement

  • updateStyleElement(): void