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
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    doExecute(@NotNull com.intellij.openapi.editor.Editor editor, @Nullable com.intellij.openapi.editor.Caret caret, com.intellij.openapi.actionSystem.DataContext dataContext)
     
    void
    executeWriteAction(com.intellij.openapi.editor.Editor editor, @Nullable com.intellij.openapi.editor.Caret caret, com.intellij.openapi.actionSystem.DataContext dataContext)
     
    abstract String
    getUpdatedContent(String originalContent, String currentContent)
     
    abstract boolean
     

    Methods inherited from class com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler

    executeWriteAction

    Methods inherited from class com.intellij.openapi.editor.actionSystem.EditorActionHandler

    execute, execute, executeInCommand, getCommandGroupId, isEnabled, isEnabled, isEnabledForCaret, runForAllCarets

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      executeWriteAction in class com.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:
      doExecute in class com.intellij.openapi.editor.actionSystem.EditorWriteActionHandler
    • getUpdatedContent

      public abstract String getUpdatedContent(String originalContent, String currentContent)
    • isCleaned

      public abstract boolean isCleaned()