Added Template editing.

Creating with templates not supported yet.

Templates are listed in Context-Menu under the AddEntry Toolbar
Toolbar Button is missing an Arrow for now. Control-Size is not working correctly for now
Nested Template or Trash groups aren't considered, this is a bug!
Minor changes to the UI (Settings tabs now use common icons)
Added Workflow-Settings tab to extract all the custom action possible on entries. The copy or open on URL dbl-click setting will move over to this tab.
This commit is contained in:
michael starke
2013-07-30 20:37:59 +02:00
parent 80d9dfb1cb
commit 31f456929c
32 changed files with 1256 additions and 462 deletions

View File

@@ -17,7 +17,7 @@
#import "MPUppercaseStringValueTransformer.h"
#import "MPRootAdapter.h"
#import "MPNotifications.h"
#import "MPOutlineMenuDelegate.h"
#import "MPOutlineContextMenuDelegate.h"
#import "KdbLib.h"
#import "Kdb4Node.h"
@@ -32,7 +32,7 @@ NSString *const _MPOutlinveViewHeaderViewIdentifier = @"HeaderCell";
@interface MPOutlineViewController () {
BOOL _bindingEstablished;
MPOutlineMenuDelegate *_menuDelegate;
MPOutlineContextMenuDelegate *_menuDelegate;
}
@property (weak) IBOutlet NSOutlineView *outlineView;
@@ -59,7 +59,7 @@ NSString *const _MPOutlinveViewHeaderViewIdentifier = @"HeaderCell";
_bindingEstablished = NO;
_datasource = [[MPOutlineDataSource alloc] init];
_databaseNameWrapper = NSLocalizedString(@"NEW_DATABASE", "Name for a newly created Database");
_menuDelegate = [[MPOutlineMenuDelegate alloc] init];
_menuDelegate = [[MPOutlineContextMenuDelegate alloc] init];
_menuDelegate.viewController = self;
}