public class ColumnSelectionModePanel extends EditorBasedWidget implements StatusBarWidget.Multiframe, CustomStatusBarWidget, java.beans.PropertyChangeListener
StatusBarWidget.IconPresentation, StatusBarWidget.Multiframe, StatusBarWidget.MultipleTextValuesPresentation, StatusBarWidget.PlatformType, StatusBarWidget.TextPresentation, StatusBarWidget.WidgetBorder, StatusBarWidget.WidgetPresentation
Disposable.Parent
FileEditorManagerListener.Before
myConnection, myProject, myStatusBar, SWING_FOCUS_OWNER_PROPERTY
FILE_EDITOR_MANAGER
Constructor and Description |
---|
ColumnSelectionModePanel(Project project) |
Modifier and Type | Method and Description |
---|---|
StatusBarWidget |
copy() |
void |
fileClosed(FileEditorManager source,
VirtualFile file) |
void |
fileOpened(FileEditorManager source,
VirtualFile file)
This method is after focus settles down (if requested) in newly created FileEditor.
|
javax.swing.JComponent |
getComponent() |
StatusBarWidget.WidgetPresentation |
getPresentation() |
java.lang.String |
ID() |
void |
install(StatusBar statusBar) |
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
void |
selectionChanged(FileEditorManagerEvent event) |
dispose, getEditor, getProject, getSelectedFile, isDisposed, isOurEditor
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPresentation
dispose
fileOpenedSync
public ColumnSelectionModePanel(Project project)
public java.lang.String ID()
ID
in interface StatusBarWidget
public StatusBarWidget.WidgetPresentation getPresentation()
getPresentation
in interface StatusBarWidget
public StatusBarWidget copy()
copy
in interface StatusBarWidget.Multiframe
public javax.swing.JComponent getComponent()
getComponent
in interface CustomStatusBarWidget
public void install(StatusBar statusBar)
install
in interface StatusBarWidget
install
in class EditorBasedWidget
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 void fileClosed(FileEditorManager source, VirtualFile file)
fileClosed
in interface FileEditorManagerListener
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange
in interface java.beans.PropertyChangeListener
public void selectionChanged(FileEditorManagerEvent event)
selectionChanged
in interface FileEditorManagerListener