use of org.hibernate.eclipse.console.workbench.ConfigurationAdapterFactory in project jbosstools-hibernate by jbosstools.
the class HibernateConsolePlugin method start.
/**
* This method is called upon plug-in activation
*/
public void start(BundleContext context) throws Exception {
super.start(context);
logger = new EclipseLogger(context.getBundle());
// HibernateConsoleSaveParticipant participant = new HibernateConsoleSaveParticipant();
// participant.doStart(this);
IAdapterManager adapterManager = Platform.getAdapterManager();
ConfigurationAdapterFactory fact = new ConfigurationAdapterFactory();
fact.registerAdapters(adapterManager);
loadExistingConfigurations();
listenForConfigurations();
}
Aggregations