@Override
public Object getCellEditorValue() {
Object superValue = super.getCellEditorValue();
DeviceImpl newValue = null;
if ((superValue != null) && (currentValue instanceof IDevice)) {
newValue = new DeviceImpl();
newValue.setName(superValue.toString());
newValue.setCommon(((IDevice) currentValue).isCommon());
newValue.setEnabled(((IDevice) currentValue).isEnabled());
}
return newValue;
}