unison

Fork of Unison, a bi-directional file synchronization tool
git clone git://git.laack.co/unison.git
Log | Files | Refs | README | LICENSE

ReconTableView.h (1180B)


      1 //
      2 //  ReconTableView.h
      3 //
      4 //  NSTableView extended to handle additional keyboard events for the reconcile window.
      5 //  The keyDown: method is redefined.
      6 //
      7 //  Created by Trevor Jim on Wed Aug 27 2003.
      8 //  Copyright (c) 2003, 2016, licensed under GNU GPL.
      9 //
     10 
     11 #import <AppKit/AppKit.h>
     12 
     13 @interface ReconTableView : NSOutlineView {
     14     BOOL editable;
     15 }
     16 - (BOOL)editable;
     17 - (void)setEditable:(BOOL)x;
     18 - (BOOL)validateItem:(SEL) action;
     19 - (BOOL)validateMenuItem:(NSMenuItem *)menuItem;
     20 - (BOOL)validateToolbarItem:(NSToolbarItem *)toolbarItem;
     21 - (IBAction)ignorePath:(id)sender;
     22 - (IBAction)ignoreExt:(id)sender;
     23 - (IBAction)ignoreName:(id)sender;
     24 - (IBAction)copyLR:(id)sender;
     25 - (IBAction)copyRL:(id)sender;
     26 - (IBAction)leaveAlone:(id)sender;
     27 - (IBAction)forceOlder:(id)sender;
     28 - (IBAction)forceNewer:(id)sender;
     29 - (IBAction)selectConflicts:(id)sender;
     30 - (IBAction)revert:(id)sender;
     31 - (IBAction)merge:(id)sender;
     32 - (IBAction)showDiff:(id)sender;
     33 - (BOOL)canDiffSelection;
     34 @end
     35 
     36 @interface NSOutlineView (_UnisonExtras)
     37 - (NSArray *)selectedObjects;
     38 - (NSEnumerator *)selectedObjectEnumerator;
     39 - (void)setSelectedObjects:(NSArray *)selection;
     40 
     41 - (void)expandChildrenIfSpace;
     42 
     43 @end