void (@NotNull DockableContent content, RelativePoint dropTarget) { if (isTerminalSessionContent(content)) { TerminalSessionVirtualFileImpl terminalFile = (TerminalSessionVirtualFileImpl)content.getKey(); String name = terminalFile.getName(); Content newContent = newTab(myToolWindow, terminalFile.getTerminalWidget()); newContent.setDisplayName(name); } }