public final class TogglePopupHintsPanel extends EditorBasedWidget implements StatusBarWidget.Multiframe, StatusBarWidget.IconPresentation
StatusBarWidget.IconPresentation, StatusBarWidget.Multiframe, StatusBarWidget.MultipleTextValuesPresentation, StatusBarWidget.PlatformType, StatusBarWidget.TextPresentation, StatusBarWidget.WidgetBorder, StatusBarWidget.WidgetPresentation
Disposable.Parent
FileEditorManagerListener.Before
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID |
myConnection, myProject, myStatusBar, SWING_FOCUS_OWNER_PROPERTY
FILE_EDITOR_MANAGER
Constructor and Description |
---|
TogglePopupHintsPanel(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
StatusBarWidget |
copy() |
void |
fileOpened(FileEditorManager source,
VirtualFile file)
This method is after focus settles down (if requested) in newly created FileEditor.
|
Consumer<java.awt.event.MouseEvent> |
getClickConsumer() |
javax.swing.Icon |
getIcon() |
StatusBarWidget.WidgetPresentation |
getPresentation() |
java.lang.String |
getTooltipText() |
java.lang.String |
ID() |
void |
install(StatusBar statusBar) |
void |
selectionChanged(FileEditorManagerEvent event) |
void |
updateStatus() |
dispose, getEditor, getProject, getSelectedFile, isDisposed, isOurEditor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPresentation
dispose
getShortcutText
fileClosed, fileOpenedSync
public static final java.lang.String ID
public TogglePopupHintsPanel(Project project)
public void selectionChanged(FileEditorManagerEvent event)
selectionChanged
in interface FileEditorManagerListener
public void fileOpened(FileEditorManager source, VirtualFile file)
FileEditorManagerListener
FileEditorManagerListener.fileOpenedSync(FileEditorManager, VirtualFile, Pair)
is always invoked before this method (in same or previous EDT event).fileOpened
in interface FileEditorManagerListener
FileEditorManagerListener.fileOpenedSync(FileEditorManager, VirtualFile, Pair)
public StatusBarWidget copy()
copy
in interface StatusBarWidget.Multiframe
public javax.swing.Icon getIcon()
getIcon
in interface StatusBarWidget.IconPresentation
public java.lang.String getTooltipText()
getTooltipText
in interface StatusBarWidget.WidgetPresentation
public Consumer<java.awt.event.MouseEvent> getClickConsumer()
getClickConsumer
in interface StatusBarWidget.WidgetPresentation
public void install(StatusBar statusBar)
install
in interface StatusBarWidget
install
in class EditorBasedWidget
public java.lang.String ID()
ID
in interface StatusBarWidget
public StatusBarWidget.WidgetPresentation getPresentation()
getPresentation
in interface StatusBarWidget
public void clear()
public void updateStatus()