Class YAMLClutterActionHandler
java.lang.Object
com.intellij.openapi.editor.actionSystem.EditorActionHandler
com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler
com.redhat.devtools.intellij.common.actions.editor.YAMLClutterActionHandler
- Direct Known Subclasses:
RemoveYAMLClutterActionHandler,RestoreYAMLClutterActionHandler
public abstract class YAMLClutterActionHandler
extends com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler
-
Nested Class Summary
Nested classes/interfaces inherited from class com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler
com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler.ForEachCaret -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddoExecute(@NotNull com.intellij.openapi.editor.Editor editor, @Nullable com.intellij.openapi.editor.Caret caret, com.intellij.openapi.actionSystem.DataContext dataContext) voidexecuteWriteAction(com.intellij.openapi.editor.Editor editor, @Nullable com.intellij.openapi.editor.Caret caret, com.intellij.openapi.actionSystem.DataContext dataContext) abstract StringgetUpdatedContent(String originalContent, String currentContent) abstract booleanMethods inherited from class com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler
executeWriteActionMethods inherited from class com.intellij.openapi.editor.actionSystem.EditorActionHandler
execute, execute, executeInCommand, getCommandGroupId, isEnabled, isEnabled, isEnabledForCaret, runForAllCarets
-
Constructor Details
-
YAMLClutterActionHandler
public YAMLClutterActionHandler()
-
-
Method Details
-
executeWriteAction
public void executeWriteAction(com.intellij.openapi.editor.Editor editor, @Nullable @Nullable com.intellij.openapi.editor.Caret caret, com.intellij.openapi.actionSystem.DataContext dataContext) - Overrides:
executeWriteActionin classcom.intellij.openapi.editor.actionSystem.EditorWriteActionHandler
-
doExecute
public void doExecute(@NotNull @NotNull com.intellij.openapi.editor.Editor editor, @Nullable @Nullable com.intellij.openapi.editor.Caret caret, com.intellij.openapi.actionSystem.DataContext dataContext) - Overrides:
doExecutein classcom.intellij.openapi.editor.actionSystem.EditorWriteActionHandler
-
getUpdatedContent
-
isCleaned
public abstract boolean isCleaned()
-