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