@Override
  public JComponent getComponent(final RadComponent component, final String[] value, final InplaceContext inplaceContext) {
    myLastComponent = component;
    myLastValue = value;
    if (inplaceContext != null) {
      if (inplaceContext.isStartedByTyping()) {
        openListEditorDialog(new String[] { Character.toString(inplaceContext.getStartChar()) });
      }
      else {
        openListEditorDialog(value);
      }
      inplaceContext.setModalDialogDisplayed(true);
    }
    else {
      myTextField.setText(listValueToString(value));
    }
    return myTextField;
  }
@Override
  public JComponent getComponent(final RadComponent component, final String[] value, final InplaceContext inplaceContext)