Java Code Examples for com.intellij.openapi.fileEditor.FileEditor#isModified()
The following examples show how to use
com.intellij.openapi.fileEditor.FileEditor#isModified() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: DesktopEditorWithProviderComposite.java From consulo with Apache License 2.0 | 5 votes |
@Override public boolean isModified() { final FileEditor[] editors = getEditors(); for (FileEditor editor : editors) { if (editor.isModified()) { return true; } } return false; }
Example 2
Source File: VmServiceWidgetPerfProvider.java From flutter-intellij with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Override public boolean shouldDisplayPerfStats(FileEditor editor) { return !app.isReloading() && app.isLatestVersionRunning(editor.getFile()) && !editor.isModified(); }
Example 3
Source File: VmServiceWidgetPerfProvider.java From flutter-intellij with BSD 3-Clause "New" or "Revised" License | 4 votes |
@Override public boolean shouldDisplayPerfStats(FileEditor editor) { return !app.isReloading() && app.isLatestVersionRunning(editor.getFile()) && !editor.isModified(); }