public final class FilePreviewPanelProvider extends PreviewPanelProvider<VirtualFile,Pair<FileEditor[],FileEditorProvider[]>>
Disposable.Parent
Modifier and Type | Field and Description |
---|---|
static PreviewProviderId<VirtualFile,Pair<FileEditor[],FileEditorProvider[]>> |
ID |
EP_NAME
Constructor and Description |
---|
FilePreviewPanelProvider(Project project) |
Modifier and Type | Method and Description |
---|---|
boolean |
contentsAreEqual(VirtualFile content1,
VirtualFile content2) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
protected javax.swing.JComponent |
getComponent() |
protected javax.swing.Icon |
getIcon(VirtualFile file) |
float |
getMenuOrder() |
protected java.lang.String |
getTitle(VirtualFile file) |
protected Pair<FileEditor[],FileEditorProvider[]> |
initComponent(VirtualFile file,
boolean requestFocus) |
boolean |
isModified(VirtualFile content,
boolean beforeReuse) |
void |
release(VirtualFile content) |
void |
showInStandardPlace(VirtualFile file) |
getId, supportsStandardPlace, toString
public static final PreviewProviderId<VirtualFile,Pair<FileEditor[],FileEditorProvider[]>> ID
public FilePreviewPanelProvider(Project project)
public void dispose()
Disposable
protected javax.swing.JComponent getComponent()
getComponent
in class PreviewPanelProvider<VirtualFile,Pair<FileEditor[],FileEditorProvider[]>>
protected Pair<FileEditor[],FileEditorProvider[]> initComponent(VirtualFile file, boolean requestFocus)
initComponent
in class PreviewPanelProvider<VirtualFile,Pair<FileEditor[],FileEditorProvider[]>>
protected java.lang.String getTitle(VirtualFile file)
getTitle
in class PreviewPanelProvider<VirtualFile,Pair<FileEditor[],FileEditorProvider[]>>
protected javax.swing.Icon getIcon(VirtualFile file)
getIcon
in class PreviewPanelProvider<VirtualFile,Pair<FileEditor[],FileEditorProvider[]>>
public float getMenuOrder()
getMenuOrder
in class PreviewPanelProvider<VirtualFile,Pair<FileEditor[],FileEditorProvider[]>>
public void showInStandardPlace(VirtualFile file)
showInStandardPlace
in class PreviewPanelProvider<VirtualFile,Pair<FileEditor[],FileEditorProvider[]>>
public boolean isModified(VirtualFile content, boolean beforeReuse)
isModified
in class PreviewPanelProvider<VirtualFile,Pair<FileEditor[],FileEditorProvider[]>>
public void release(VirtualFile content)
release
in class PreviewPanelProvider<VirtualFile,Pair<FileEditor[],FileEditorProvider[]>>
public boolean contentsAreEqual(VirtualFile content1, VirtualFile content2)
contentsAreEqual
in class PreviewPanelProvider<VirtualFile,Pair<FileEditor[],FileEditorProvider[]>>