Component (final JTable table, final Object value, final boolean isSelected, final int row, final int column) { myCurrentSelector = myParameterTypeSelectors[row]; if (myParameterTypeSelectors[row].getComponent() instanceof JLabel) { PsiType selectedType = myCurrentSelector.getSelectedType(); if (selectedType != null) { myTypeLabel.setText(selectedType.getPresentableText()); } return myTypeLabel; } myEditorComponent.setCell(table, row, column); myEditorComponent.setOptions((Object[])myCurrentSelector.getTypes()); myEditorComponent.setDefaultValue(getVariableData()[row].type); myEditorComponent.setToString(o -> ((PsiType)o).getPresentableText()); return myEditorComponent; }