You can combine various elements of FoamTree API to implement interactive editing of group labels.
Click and hold a group to edit its label. Press Esc to exit editing.
geometry and
viewport properties to correctly position the
editor tooltip, also when FoamTree is zoomed/panned.
groupColorDecorator
and window.setTimeout.
maxLabelSizeForTitleBar to
0 to disable the default title bar.