Mercurial > hg > ltpda
annotate m-toolbox/classes/@LTPDAworkbench/cb_queryRepository.m @ 51:9d5c88356247 database-connection-manager
Make unit tests database connection parameters configurable
author | Daniele Nicolodi <nicolodi@science.unitn.it> |
---|---|
date | Wed, 07 Dec 2011 17:24:37 +0100 |
parents | a26669b59d7e |
children |
rev | line source |
---|---|
31
a26669b59d7e
Update LTPDAworkbench
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
1 function varargout = cb_queryRepository(varargin) |
a26669b59d7e
Update LTPDAworkbench
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
2 |
a26669b59d7e
Update LTPDAworkbench
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
3 wb = varargin{1}; |
a26669b59d7e
Update LTPDAworkbench
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
4 conn = LTPDADatabaseConnectionManager().connect(); |
a26669b59d7e
Update LTPDAworkbench
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
5 |
a26669b59d7e
Update LTPDAworkbench
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
6 rqd = javaObjectEDT('mpipeline.repository.RepositoryQueryDialog', wb.mp, false, conn, true); |
a26669b59d7e
Update LTPDAworkbench
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
7 rqd.setVisible(true); |
a26669b59d7e
Update LTPDAworkbench
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
8 |
a26669b59d7e
Update LTPDAworkbench
Daniele Nicolodi <nicolodi@science.unitn.it>
parents:
diff
changeset
|
9 end |