01: package net.sourceforge.squirrel_sql.client.session;
02:
03: import java.util.HashMap;
04:
05: import net.sourceforge.squirrel_sql.client.session.parser.IParserEventsProcessorFactory;
06:
07: public class MockSQLEntryPanelFactory implements ISQLEntryPanelFactory {
08:
09: MockSQLEntryPanel panel = null;
10:
11: public MockSQLEntryPanelFactory() {
12:
13: }
14:
15: public ISQLEntryPanel createSQLEntryPanel(ISession session) {
16: panel = new MockSQLEntryPanel(session);
17: return panel;
18: }
19:
20: /* (non-Javadoc)
21: * @see net.sourceforge.squirrel_sql.client.session.ISQLEntryPanelFactory#createSQLEntryPanel(net.sourceforge.squirrel_sql.client.session.ISession, java.util.HashMap)
22: */
23: public ISQLEntryPanel createSQLEntryPanel(ISession session,
24: HashMap<String, Object> props) {
25: return createSQLEntryPanel(session);
26: }
27:
28: }
|