|
|
@ -96,16 +96,6 @@ public class CRPropertyDescriptorPane { |
|
|
|
return component; |
|
|
|
return component; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
private PropertyEditor initExtendEditor(CRPropertyDescriptor crPropertyDescriptor, XCreator xCreator) throws Exception { |
|
|
|
|
|
|
|
ExtendedPropertyEditor editor = (ExtendedPropertyEditor) crPropertyDescriptor.createPropertyEditor(xCreator.toData()); |
|
|
|
|
|
|
|
if (editor == null) { |
|
|
|
|
|
|
|
Class propType = crPropertyDescriptor.getPropertyType(); |
|
|
|
|
|
|
|
editor = TableUtils.getPropertyEditorClass(propType).newInstance(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return editor; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
public void populate(Widget widget) { |
|
|
|
public void populate(Widget widget) { |
|
|
|
try { |
|
|
|
try { |
|
|
|
isPopulate = true; |
|
|
|
isPopulate = true; |
|
|
|