public abstract class PreviewPanelProvider<V,C> extends java.lang.Object implements Disposable
Disposable.Parent
Modifier and Type | Field and Description |
---|---|
static ExtensionPointName<PreviewPanelProvider> |
EP_NAME |
Constructor and Description |
---|
PreviewPanelProvider(PreviewProviderId<V,C> id) |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
contentsAreEqual(V content1,
V content2) |
protected abstract javax.swing.JComponent |
getComponent() |
protected abstract javax.swing.Icon |
getIcon(V content) |
PreviewProviderId<V,C> |
getId() |
abstract float |
getMenuOrder() |
protected abstract java.lang.String |
getTitle(V content) |
protected abstract C |
initComponent(V content,
boolean requestFocus) |
abstract boolean |
isModified(V content,
boolean beforeReuse) |
abstract void |
release(V content) |
abstract void |
showInStandardPlace(V content) |
boolean |
supportsStandardPlace() |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
dispose
public static final ExtensionPointName<PreviewPanelProvider> EP_NAME
public PreviewPanelProvider(PreviewProviderId<V,C> id)
public final PreviewProviderId<V,C> getId()
protected abstract javax.swing.JComponent getComponent()
protected abstract java.lang.String getTitle(V content)
protected abstract javax.swing.Icon getIcon(V content)
public abstract float getMenuOrder()
public abstract void showInStandardPlace(V content)
public abstract boolean isModified(V content, boolean beforeReuse)
public abstract void release(V content)
public final java.lang.String toString()
toString
in class java.lang.Object
public boolean supportsStandardPlace()