Skip to content

Commit

Permalink
Adding a menu item to install the CLI tool.
Browse files Browse the repository at this point in the history
  • Loading branch information
ciaran committed Aug 18, 2008
1 parent 7813dbf commit 3773a73
Show file tree
Hide file tree
Showing 3 changed files with 632 additions and 646 deletions.
2 changes: 2 additions & 0 deletions ApplicationController.h
Expand Up @@ -27,6 +27,8 @@
- (NSManagedObjectModel *)managedObjectModel;
- (NSManagedObjectContext *)managedObjectContext;

- (IBAction)installCliTool:(id)sender;

- (IBAction)saveAction:sender;
- (IBAction)switchBranch:sender;
@end
5 changes: 5 additions & 0 deletions ApplicationController.m
Expand Up @@ -55,6 +55,11 @@ - (void) windowWillClose: sender
[firstResponder terminate: sender];
}

- (IBAction)installCliTool:(id)sender;
{
NSLog(@"[%@ installCliTool:%@]", [self class], sender);
}

- (IBAction) switchBranch: sender
{
[[NSAlert alertWithMessageText:@"Not Supported" defaultButton:nil alternateButton:nil otherButton:nil informativeTextWithFormat:@"Sorry, switching branches is not supported yet"] runModal];
Expand Down

0 comments on commit 3773a73

Please sign in to comment.