mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IJPL-846 convert TextEditorCustomizer to kotlin
GitOrigin-RevId: f4e5707203162178ca2bd3f85a4ec132cec287fc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
78636d41df
commit
5fea5ad993
+12
-9
@@ -1,15 +1,18 @@
|
||||
// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.openapi.fileEditor.impl.text;
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.openapi.fileEditor.impl.text
|
||||
|
||||
import com.intellij.openapi.extensions.ExtensionPointName;
|
||||
import com.intellij.openapi.fileEditor.TextEditor;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
public interface TextEditorCustomizer {
|
||||
ExtensionPointName<TextEditorCustomizer> EP = new ExtensionPointName<>("com.intellij.textEditorCustomizer");
|
||||
import com.intellij.openapi.extensions.ExtensionPointName
|
||||
import com.intellij.openapi.fileEditor.TextEditor
|
||||
import org.jetbrains.annotations.ApiStatus
|
||||
|
||||
@ApiStatus.Internal
|
||||
interface TextEditorCustomizer {
|
||||
/**
|
||||
* Use to customize editor after it was created
|
||||
*/
|
||||
void customize(@NotNull TextEditor textEditor);
|
||||
fun customize(textEditor: TextEditor)
|
||||
|
||||
companion object {
|
||||
val EP: ExtensionPointName<TextEditorCustomizer> = ExtensionPointName("com.intellij.textEditorCustomizer")
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user