public static class EditorTabbedContainer.DockableEditor extends java.lang.Object implements DockableContent<VirtualFile>
Constructor and Description |
---|
DockableEditor(Project project,
java.awt.Image img,
VirtualFile file,
Presentation presentation,
java.awt.Dimension preferredSize,
boolean isFilePinned) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
java.lang.String |
getDockContainerType() |
VirtualFile |
getFile() |
VirtualFile |
getKey() |
java.awt.Dimension |
getPreferredSize() |
Presentation |
getPresentation() |
java.awt.Image |
getPreviewImage() |
boolean |
isPinned() |
public DockableEditor(Project project, java.awt.Image img, VirtualFile file, Presentation presentation, java.awt.Dimension preferredSize, boolean isFilePinned)
public VirtualFile getKey()
getKey
in interface DockableContent<VirtualFile>
public java.awt.Image getPreviewImage()
getPreviewImage
in interface DockableContent<VirtualFile>
public java.awt.Dimension getPreferredSize()
getPreferredSize
in interface DockableContent<VirtualFile>
public java.lang.String getDockContainerType()
getDockContainerType
in interface DockableContent<VirtualFile>
public Presentation getPresentation()
getPresentation
in interface DockableContent<VirtualFile>
public void close()
close
in interface DockableContent<VirtualFile>
public VirtualFile getFile()
public boolean isPinned()