Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CustomEditorsMainImpl

Implements

Index

Constructors

Properties

customEditorRegistry: PluginCustomEditorRegistry
customEditorService: CustomEditorService
editorPreferences: EditorPreferences
editorProviders: Map<string, Disposable> = ...
fileService: FileService
labelProvider: DefaultUriLabelProviderContribution
pluginService: HostedPluginSupport
shell: ApplicationShell
textModelService: EditorModelService
undoRedoService: UndoRedoService
webviewsMain: WebviewsMainImpl
widgetManager: WidgetManager

Methods

  • $createCustomEditorPanel(panelId: string, title: string, widgetOpenerOptions: undefined | WidgetOpenerOptions, options: WebviewPanelOptions & WebviewOptions): Promise<void>
  • $onContentChange(resourceComponents: UriComponents, viewType: string): Promise<void>
  • $onDidEdit(resourceComponents: UriComponents, viewType: string, editId: number, label: undefined | string): Promise<void>
  • $registerCustomEditorProvider(viewType: string, options: WebviewPanelOptions, supportsMultipleEditorsPerDocument: boolean): void
  • $unregisterEditorProvider(viewType: string): void
  • dispose(): void
  • getCustomEditorModel(resourceComponents: UriComponents, viewType: string): Promise<MainCustomEditorModel>
  • getOrCreateCustomEditorModel(modelType: CustomEditorModelType, resource: URI, viewType: string, cancellationToken: CancellationToken): Promise<Reference<CustomEditorModel>>
  • registerEditorProvider(modelType: CustomEditorModelType, viewType: string, options: WebviewPanelOptions, capabilities: CustomTextEditorCapabilities, supportsMultipleEditorsPerDocument: boolean): Promise<void>