public abstract class EditorBasedWidget extends java.lang.Object implements StatusBarWidget, FileEditorManagerListener
StatusBarWidget.IconPresentation, StatusBarWidget.Multiframe, StatusBarWidget.MultipleTextValuesPresentation, StatusBarWidget.PlatformType, StatusBarWidget.TextPresentation, StatusBarWidget.WidgetBorder, StatusBarWidget.WidgetPresentationDisposable.ParentFileEditorManagerListener.Before| Modifier and Type | Field and Description |
|---|---|
protected MessageBusConnection |
myConnection |
protected Project |
myProject |
protected StatusBar |
myStatusBar |
static java.lang.String |
SWING_FOCUS_OWNER_PROPERTY |
FILE_EDITOR_MANAGER| Modifier | Constructor and Description |
|---|---|
protected |
EditorBasedWidget(Project project) |
| Modifier and Type | Method and Description |
|---|---|
void |
dispose()
Usually not invoked directly, see class javadoc.
|
protected Editor |
getEditor() |
protected Project |
getProject() |
protected VirtualFile |
getSelectedFile() |
void |
install(StatusBar statusBar) |
protected boolean |
isDisposed() |
boolean |
isOurEditor(Editor editor) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPresentation, getPresentation, IDfileClosed, fileOpened, fileOpenedSync, selectionChangedpublic static final java.lang.String SWING_FOCUS_OWNER_PROPERTY
protected final Project myProject
protected StatusBar myStatusBar
protected MessageBusConnection myConnection
protected EditorBasedWidget(Project project)
protected Editor getEditor()
public boolean isOurEditor(Editor editor)
protected VirtualFile getSelectedFile()
protected final Project getProject()
public void install(StatusBar statusBar)
install in interface StatusBarWidgetpublic void dispose()
Disposabledispose in interface Disposableprotected final boolean isDisposed()