public abstract class EditorBasedWidget extends java.lang.Object implements StatusBarWidget, FileEditorManagerListener
StatusBarWidget.IconPresentation, StatusBarWidget.Multiframe, StatusBarWidget.MultipleTextValuesPresentation, StatusBarWidget.PlatformType, StatusBarWidget.TextPresentation, StatusBarWidget.WidgetBorder, StatusBarWidget.WidgetPresentation
Disposable.Parent
FileEditorManagerListener.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, wait
getPresentation, getPresentation, ID
fileClosed, fileOpened, fileOpenedSync, selectionChanged
public 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 StatusBarWidget
public void dispose()
Disposable
dispose
in interface Disposable
protected final boolean isDisposed()