Author: dgeraskov
Date: 2010-12-03 03:52:24 -0500 (Fri, 03 Dec 2010)
New Revision: 27134
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/QueryParametersPage.java
Log:
https://jira.jboss.org/browse/JBIDE-7771
Show full parameters list in QueryParamView
Modified:
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/QueryParametersPage.java
===================================================================
---
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/QueryParametersPage.java 2010-12-03
08:50:33 UTC (rev 27133)
+++
trunk/hibernatetools/plugins/org.hibernate.eclipse.console/src/org/hibernate/eclipse/console/views/QueryParametersPage.java 2010-12-03
08:52:24 UTC (rev 27134)
@@ -382,7 +382,13 @@
case 1:
return cqp.getType().getName();
case 2:
- return cqp.getStringValues()[0];
+ {
+ String label = cqp.getStringValues()[0];
+ for (int j = 1; j < cqp.getStringValues().length; j++) {
+ label += "|" + cqp.getStringValues()[j]; //$NON-NLS-1$
+ }
+ return label;
+ }
case 3:
return null; //cqp.isNull()?"X":"";
default: