for (ParameterType tp : types)
names[i++] = tp.getName();
Point p = value.getLocationOnScreen();
selectionDialog = new SelectionDialog(types);
selectionDialog.setCellRenderer(new ParameterTypeListCellRenderer(
-1));
selectionDialog.addSelectionListener(this);
selectionDialog.show(p.x, p.y + value.getHeight());