OpenAFS
OpenAFS distributed network file system
|
00001 // 00002 // IpConfiguratorCommander.h 00003 // AFSCommander 00004 // 00005 // Created by Claudio Bisegni on 18/06/07. 00006 // Copyright 2007 INFN - National Institute of Nuclear Physics. All rights reserved. 00007 // 00008 00009 #import <Cocoa/Cocoa.h> 00010 #import "DBCellElement.h" 00011 #import "AFSCommanderPref.h" 00012 @interface IpConfiguratorCommander : NSObject { 00013 id confPanel; 00014 id afsCommanderPref; 00015 id textFieldCellName; 00016 id textFieldComment; 00017 id tableViewCellIP; 00018 00019 id modifyButton; 00020 id createButton; 00021 id deleteButton; 00022 00023 BOOL hasSaved; 00024 DBCellElement *cellElement; 00025 NSMutableArray *bkIPArray; 00026 NSMutableArray *workIPArray; 00027 CellIp *currentSelectedIP; 00028 } 00029 00030 - (void) setWorkCell:(DBCellElement*)cell; 00031 - (IBAction) save:(id) sender; 00032 - (IBAction) cancel:(id) sender; 00033 - (IBAction) createNewIP:(id) sender; 00034 - (IBAction) cancelIP:(id) sender; 00035 - (BOOL) saved; 00036 00037 - (id) getPanel; 00038 - (void) commitModify; 00039 - (void) rollbackModify; 00040 - (void) loadValueFromCellIPClass; 00041 - (void) manageTableSelection:(int)row; 00042 @end