@Nullable
        private Control getActivePresentationControl() {
            if (presentationStack == null || activePresentationDescriptor == null) {
                return null;
            }
            final int index = presentationStackIndices.get(activePresentationDescriptor);
            return presentationStack.getChildren()[index];
        }
Build and update icon and title
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/SQLEditor.java