mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-02-16 00:11:15 +00:00
* Apps/EOModelEditor/DataBrowser.[h|m]
* make the fetch limit and qualifier fields work git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gdl2/trunk@36343 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
31f47d1b3c
commit
16ca8db210
3 changed files with 10 additions and 3 deletions
|
@ -37,8 +37,8 @@
|
|||
{
|
||||
IBOutlet NSWindow * _window;
|
||||
IBOutlet NSTextField * _entityNameField;
|
||||
IBOutlet NSTextField * _fetchLimitText;
|
||||
IBOutlet NSTextField * _qualifierText;
|
||||
IBOutlet NSTextField * fetchLimitText;
|
||||
IBOutlet NSTextField * qualifierText;
|
||||
IBOutlet NSTableView * _tableView;
|
||||
EOEntity * _currentEntity;
|
||||
TableViewController *_tableViewController;
|
||||
|
|
|
@ -156,12 +156,15 @@ static DataBrowser *sharedDataBrowser = nil;
|
|||
[_editingContext invalidateAllObjects];
|
||||
}
|
||||
|
||||
|
||||
if ([[qualifierText stringValue] length] > 0)
|
||||
qual = [EOQualifier qualifierWithQualifierFormat:[qualifierText stringValue]];
|
||||
|
||||
fetchSpec = [EOFetchSpecification fetchSpecificationWithEntityName:[_currentEntity name]
|
||||
qualifier:qual
|
||||
sortOrderings:nil];
|
||||
|
||||
[fetchSpec setFetchLimit:[fetchLimitText intValue]];
|
||||
|
||||
[fetchSpec setRawRowKeyPaths:keyPaths];
|
||||
|
||||
results = [_editingContext objectsWithFetchSpecification:fetchSpec];
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
2013-03-13: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
|
||||
* Apps/EOModelEditor/DataBrowser.[h|m]
|
||||
* make the fetch limit and qualifier fields work
|
||||
|
||||
2013-03-10: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
|
||||
* Apps/EOModelEditor/Inspectors/EntityInspector.m
|
||||
add warning about method not implemented
|
||||
|
|
Loading…
Reference in a new issue