// ModelerDbAdapter adapter = new ModelerDbAdapter(name, node.getDataSource());
// adapter.validate();
node.setAdapterType(name);
DataNodeEvent e = new DataNodeEvent(AdapterEditor.this, node);
((ProjectController) getParent()).fireDataNodeEvent(e);
}