mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-19 17:50:47 +00:00
* DBModeler/Inspectors/AttributesInspector.m: Implement
controlTextDidEndEditing:. * DBModeler/Inspectors/AttributesInspector.gorm: Set text field delegates, and nextKeyView. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@28018 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
ad8dedbf6c
commit
ecdc0c32ad
4 changed files with 33 additions and 0 deletions
|
@ -1,3 +1,10 @@
|
|||
2009-03-01 Matt Rice <ratmice@gmail.com>
|
||||
|
||||
* DBModeler/Inspectors/AttributesInspector.m: Implement
|
||||
controlTextDidEndEditing:.
|
||||
* DBModeler/Inspectors/AttributesInspector.gorm: Set text field
|
||||
delegates, and nextKeyView.
|
||||
|
||||
2009-03-01 Matt Rice <ratmice@gmail.com>
|
||||
|
||||
* EOAccess/EORelationship.m (-referencesProperty:): Check if property
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -288,5 +288,31 @@
|
|||
{
|
||||
[[self selectedObject] setFactoryMethodArgumentType:[[sender selectedItem] tag]];
|
||||
}
|
||||
|
||||
- (void) controlTextDidEndEditing:(NSNotification *)notif
|
||||
{
|
||||
id obj = [notif object];
|
||||
|
||||
if (obj == _extNameField)
|
||||
[self setExternalName:_extNameField];
|
||||
else if (obj == _extTypeField)
|
||||
[self setExternalType:_extTypeField];
|
||||
else if (obj == _nameField)
|
||||
[self setName:_nameField];
|
||||
else if (obj == _custom_width
|
||||
|| obj == _data_width
|
||||
|| obj == _decimal_width
|
||||
|| obj == _string_width)
|
||||
[self setWidth:_custom_width];
|
||||
else if (obj == _decimal_precision)
|
||||
[self setPrecision:_decimal_precision];
|
||||
else if (obj == _custom_class)
|
||||
[self setClassName:_custom_class];
|
||||
else if (obj == _custom_factory)
|
||||
[self setFactoryMethod:_custom_factory];
|
||||
else if (obj == _custom_conversion)
|
||||
[self setConversionMethod:_custom_conversion];
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
|
|
Loading…
Reference in a new issue