public final class TogglePopupHintsPanel extends EditorBasedWidget implements StatusBarWidget.Multiframe, StatusBarWidget.IconPresentation
StatusBarWidget.IconPresentation, StatusBarWidget.Multiframe, StatusBarWidget.MultipleTextValuesPresentation, StatusBarWidget.PlatformType, StatusBarWidget.TextPresentation, StatusBarWidget.WidgetBorder, StatusBarWidget.WidgetPresentationDisposable.ParentFileEditorManagerListener.Before| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ID |
myConnection, myProject, myStatusBar, SWING_FOCUS_OWNER_PROPERTYFILE_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, isOurEditorclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPresentationdisposegetShortcutTextfileClosed, fileOpenedSyncpublic static final java.lang.String ID
public TogglePopupHintsPanel(Project project)
public void selectionChanged(FileEditorManagerEvent event)
selectionChanged in interface FileEditorManagerListenerpublic void fileOpened(FileEditorManager source, VirtualFile file)
FileEditorManagerListenerFileEditorManagerListener.fileOpenedSync(FileEditorManager, VirtualFile, Pair) is always invoked before this method (in same or previous EDT event).fileOpened in interface FileEditorManagerListenerFileEditorManagerListener.fileOpenedSync(FileEditorManager, VirtualFile, Pair)public StatusBarWidget copy()
copy in interface StatusBarWidget.Multiframepublic javax.swing.Icon getIcon()
getIcon in interface StatusBarWidget.IconPresentationpublic java.lang.String getTooltipText()
getTooltipText in interface StatusBarWidget.WidgetPresentationpublic Consumer<java.awt.event.MouseEvent> getClickConsumer()
getClickConsumer in interface StatusBarWidget.WidgetPresentationpublic void install(StatusBar statusBar)
install in interface StatusBarWidgetinstall in class EditorBasedWidgetpublic java.lang.String ID()
ID in interface StatusBarWidgetpublic StatusBarWidget.WidgetPresentation getPresentation()
getPresentation in interface StatusBarWidgetpublic void clear()
public void updateStatus()