Class SaveInEditorListener


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

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

        EP_NAME
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      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, java.lang.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 Detail

      • SaveInEditorListener

        public SaveInEditorListener()
    • Method Detail

      • 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,
                                        java.lang.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)