CustomReadonlyEditorProvider<T extends CustomDocument> class
Provider for readonly custom editors that use a custom document model.
Custom editors use {@linkcode CustomDocument} as their document model instead of a {@linkcode TextDocument}.
You should use this type of custom editor when dealing with binary files or more complex scenarios. For simple text based documents, use {@linkcode CustomTextEditorProvider} instead.
- Implementers
- Available extensions
- Annotations
-
- @JS()
- @staticInterop
- @anonymous
Constructors
-
CustomReadonlyEditorProvider({FutureOr<
CustomDocument> openCustomDocument(Uri, CustomDocumentOpenContext, CancellationToken)?, FutureOr<void> resolveCustomEditor(CustomDocument, WebviewPanel, CancellationToken)?}) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited