annotate m-toolbox/classes/@LTPDAworkbench/cb_queryRepository.m @ 41:6def6533cb16 database-connection-manager

Report authentication errors to user
author Daniele Nicolodi <nicolodi@science.unitn.it>
date Mon, 05 Dec 2011 18:04:34 +0100
parents a26669b59d7e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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