@Override
    public <T> T getAdapter(Object adaptableObject, Class<T> adapterType) {
        if (adapterType == SQLFormatterConfigurator.class && adaptableObject instanceof SQLWorkbenchJFormatter) {
            return adapterType.cast(new SQLWorkbenchJFormatterSettingsPage());
        }
        return null;
    }
Adapts objects to their UI configurators
plugins/org.jkiss.dbeaver.ui.editors.sql/src/org/jkiss/dbeaver/ui/editors/sql/format/sqlworkbenchj/SQLWorkbenchJAdapterFactory.java