mirror of
https://github.com/gnustep/libs-gdl2.git
synced 2025-05-31 01:11:16 +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 NSWindow * _window;
|
||||||
IBOutlet NSTextField * _entityNameField;
|
IBOutlet NSTextField * _entityNameField;
|
||||||
IBOutlet NSTextField * _fetchLimitText;
|
IBOutlet NSTextField * fetchLimitText;
|
||||||
IBOutlet NSTextField * _qualifierText;
|
IBOutlet NSTextField * qualifierText;
|
||||||
IBOutlet NSTableView * _tableView;
|
IBOutlet NSTableView * _tableView;
|
||||||
EOEntity * _currentEntity;
|
EOEntity * _currentEntity;
|
||||||
TableViewController *_tableViewController;
|
TableViewController *_tableViewController;
|
||||||
|
|
|
@ -156,12 +156,15 @@ static DataBrowser *sharedDataBrowser = nil;
|
||||||
[_editingContext invalidateAllObjects];
|
[_editingContext invalidateAllObjects];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ([[qualifierText stringValue] length] > 0)
|
||||||
|
qual = [EOQualifier qualifierWithQualifierFormat:[qualifierText stringValue]];
|
||||||
|
|
||||||
fetchSpec = [EOFetchSpecification fetchSpecificationWithEntityName:[_currentEntity name]
|
fetchSpec = [EOFetchSpecification fetchSpecificationWithEntityName:[_currentEntity name]
|
||||||
qualifier:qual
|
qualifier:qual
|
||||||
sortOrderings:nil];
|
sortOrderings:nil];
|
||||||
|
|
||||||
|
[fetchSpec setFetchLimit:[fetchLimitText intValue]];
|
||||||
|
|
||||||
[fetchSpec setRawRowKeyPaths:keyPaths];
|
[fetchSpec setRawRowKeyPaths:keyPaths];
|
||||||
|
|
||||||
results = [_editingContext objectsWithFetchSpecification:fetchSpec];
|
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>
|
2013-03-10: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
|
||||||
* Apps/EOModelEditor/Inspectors/EntityInspector.m
|
* Apps/EOModelEditor/Inspectors/EntityInspector.m
|
||||||
add warning about method not implemented
|
add warning about method not implemented
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue