提交 51fbc443 编写于 作者: J jurgen

Save parameters' types

上级 31d11b36
......@@ -269,7 +269,7 @@ public class SQLQueryParameterBindDialog extends StatusDialog {
private void showTypeSelector(final TableItem item)
{
final SQLQueryParameter param = (SQLQueryParameter)item.getData();
final CCombo typeSelector = new CCombo(paramTable, SWT.BORDER | SWT.DROP_DOWN | SWT.READ_ONLY);
final CCombo typeSelector = new CCombo(paramTable, SWT.BORDER | SWT.DROP_DOWN);
typeSelector.setListVisible(true);
typeSelector.setVisibleItemCount(15);
int selectionIndex = 0;
......@@ -307,6 +307,7 @@ public class SQLQueryParameterBindDialog extends StatusDialog {
tableEditor.minimumHeight = typeSelector.computeSize(SWT.DEFAULT, SWT.DEFAULT).y;
tableEditor.setEditor(typeSelector, item, 2);
typeSelector.setListVisible(true);
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册