final ObjectTreeModel objectTreeModel = new ObjectTreeModel(settings.getSchema(), settings.getVisibleObjectTypes(), settings.getMethod());
new SimpleLaterInvocator() {
public void execute() {
final MethodExecutionBrowserDialog browserDialog = new MethodExecutionBrowserDialog(project, settings, objectTreeModel);
browserDialog.show();
if (browserDialog.getExitCode() == DialogWrapper.OK_EXIT_CODE) {
DBMethod method = browserDialog.getSelectedMethod();
MethodExecutionManager methodExecutionManager = MethodExecutionManager.getInstance(project);
MethodExecutionInput methodExecutionInput = methodExecutionManager.getExecutionInput(method);
if (methodExecutionInput != null) {
configuration.setExecutionInput(methodExecutionInput);
}