Class SaveInEditorListener

java.lang.Object
com.intellij.openapi.fileEditor.FileDocumentSynchronizationVetoer
com.redhat.devtools.intellij.common.editor.SaveInEditorListener

public abstract class SaveInEditorListener extends com.intellij.openapi.fileEditor.FileDocumentSynchronizationVetoer
  • Field Summary

    Fields inherited from class com.intellij.openapi.fileEditor.FileDocumentSynchronizationVetoer

    EP_NAME
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected boolean
    isFileToPush(com.intellij.openapi.project.Project project, com.intellij.openapi.vfs.VirtualFile vf)
     
    boolean
    maySaveDocument(@NotNull com.intellij.openapi.editor.Document document, boolean isSaveExplicit)
     
    protected abstract void
    notify(com.intellij.openapi.editor.Document document)
     
    protected abstract void
    refresh(com.intellij.openapi.project.Project project, Object node)
     
    protected abstract boolean
    save(com.intellij.openapi.editor.Document document, com.intellij.openapi.project.Project project)
     

    Methods inherited from class com.intellij.openapi.fileEditor.FileDocumentSynchronizationVetoer

    mayReloadFileContent

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SaveInEditorListener

      public SaveInEditorListener()
  • Method Details

    • maySaveDocument

      public boolean maySaveDocument(@NotNull @NotNull com.intellij.openapi.editor.Document document, boolean isSaveExplicit)
      Overrides:
      maySaveDocument in class com.intellij.openapi.fileEditor.FileDocumentSynchronizationVetoer
    • notify

      protected abstract void notify(com.intellij.openapi.editor.Document document)
    • refresh

      protected abstract void refresh(com.intellij.openapi.project.Project project, Object node)
    • save

      protected abstract boolean save(com.intellij.openapi.editor.Document document, com.intellij.openapi.project.Project project)
    • isFileToPush

      protected boolean isFileToPush(com.intellij.openapi.project.Project project, com.intellij.openapi.vfs.VirtualFile vf)