Currently on rename I do the usual .setTitleText( name ); and this works fine for renaming the dockable title, the issue is when I save this out to an xml file with:
control.getResources().writeXML( element );
XIO.writeUTF( element, new FileOutputStream( file ) );```
only the original id gets saved out, so that on restore (reading in the xml file) I lose the custom dockable title. It doesn't seem like there is any native way to save out the custom tab name.