new String[]{
Messages.AttributePropertyDescriptor_true, Messages.AttributePropertyDescriptor_false});
if (String.class.isAssignableFrom(type.getType().getBinding()))
return new TextCellEditor(parent);
if (Integer.class.isAssignableFrom(type.getType().getBinding()))
return new BasicTypeCellEditor(parent, Integer.class);
if (Double.class.isAssignableFrom(type.getType().getBinding()))
return new BasicTypeCellEditor(parent, Double.class);
if (Float.class.isAssignableFrom(type.getType().getBinding()))
return new BasicTypeCellEditor(parent, Float.class);
if (Long.class.isAssignableFrom(type.getType().getBinding()))
return new BasicTypeCellEditor(parent, Long.class);
if (BigInteger.class.isAssignableFrom(type.getType().getBinding()))
return new BasicTypeCellEditor(parent, BigInteger.class);
if (BigDecimal.class.isAssignableFrom(type.getType().getBinding()))
return new BasicTypeCellEditor(parent, BigDecimal.class);
if (Long.class.isAssignableFrom(type.getType().getBinding()))
return new BasicTypeCellEditor(parent, Long.class);
if (CodeList.class.isAssignableFrom(type.getType().getBinding())) {
return new ComboBoxCellEditor(parent, comboBoxList);
}
return super.createPropertyEditor(parent);
}catch(Throwable t){